Closed binchoo closed 9 months ago
demo.sh
leverages the output of dbc-to-nodes.py
and dbc-to-decoders.py
, so any print
should be removed as it will corrupt the script.
Hi @binchoo, thank you for submitting this MR. Could you please provide us an example DBC file so we can further test the demo script and maybe extend our documentation / scripts?
@binchoo Please can you test #80 to see if this also fixes your problem, it adds a --permissive
option to the scripts to set strict=False
rather than always having strict mode disabled. When multiple frames have the same name, they add the frame id of the subsequent frames as a suffix to avoid the name clash.
Closing in favour of #80
Issues:
dbc-to-nodes.py
may print duplicated nodes when a dbc contains two messages with the same name. Deduplication logic is required.cantools
library may cause an exception when handling CAN multiplexing, allowing two signals to have an overlapping bit range.Fixes:
load_file
with astrict=False
option to suppress the problemBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.