Skip to content

Commit 54d7590

Browse files
committed
success with arxml_Fd.zip (#363)
1 parent b2e1de1 commit 54d7590

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/canmatrix/formats/arxml.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1316,11 +1316,12 @@ def get_frame(frame_triggering, root_or_cache, multiplex_translation, ns, float_
13161316
new_frame.add_attribute("GenMsgCycleTime", str(int(float_factory(value.text) * 1000)))
13171317

13181318

1319-
if pdu.tag == "CONTAINER-I-PDU":
1319+
if pdu.tag == ns + "CONTAINER-I-PDU":
13201320
pdus = get_children(pdu, "CONTAINED-PDU-TRIGGERING", root_or_cache, ns)
13211321
for pdu in pdus:
13221322
ipdu = get_child(pdu, "I-PDU", root_or_cache, ns)
1323-
pdu_sig_mapping = get_children(ipdu, "I-SIGNAL-IN-I-PDU", root_or_cache, ns)
1323+
# pdu_sig_mapping = get_children(ipdu, "I-SIGNAL-IN-I-PDU", root_or_cache, ns)
1324+
pdu_sig_mapping = get_children(ipdu, "I-SIGNAL-TO-I-PDU-MAPPINGr", root_or_cache, ns)
13241325
# TODO
13251326
if pdu_sig_mapping:
13261327
get_signals(pdu_sig_mapping, new_frame, root_or_cache, ns, None, float_factory)

0 commit comments

Comments
 (0)