You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm converting an .arxml to a .dbc the signal names are wrongly converted. I'm not sure about the correct AUTOSAR term but I think the system-signal-name is used instead of the I-signal name. In my case they differ by a leading "I", e.g. "ImySignal", vs. "mySignal". In the test file for arxml.py (src\canmatrix\tests\ARXMLSecuredPDUTest.arxml) they are the same and therefore the test passes.
I think I already tracked down the issue in the code (in arxml.py):
Ok, I fear my understanding of the code doesn't go far enough for a pull-request. I just tried to update the tests to show the issue. But then I get a lot of other test errors I'm currently not able to fix.
ForestRupicolous
changed the title
ARXML: Signal name wrong
ARXML: Signal name wrong when I-Signal name != System-signal-name
Feb 25, 2020
You want the i-signal-shortnames instead of the system-signal-shortnames for the result singal name, right?
I think this depends on your wishes.
Currently I use the system-signal-shortnames.
But I currently plan a big rework of the arxml decoder.
Maybe I could do this configurable.
When I'm converting an .arxml to a .dbc the signal names are wrongly converted. I'm not sure about the correct AUTOSAR term but I think the system-signal-name is used instead of the I-signal name. In my case they differ by a leading "I", e.g. "ImySignal", vs. "mySignal". In the test file for arxml.py (src\canmatrix\tests\ARXMLSecuredPDUTest.arxml) they are the same and therefore the test passes.
I think I already tracked down the issue in the code (in arxml.py):
should be:
The next lines for context:
Am I correct with my assumptions? Are you interested in a pull-request?
The text was updated successfully, but these errors were encountered: