cantools / cantools

CAN bus tools.
MIT License
1.85k stars 558 forks source link

BUS.fd_baudrate in dbc.py "_load_bus" function #524

Open BoningLiao opened 1 year ago

BoningLiao commented 1 year ago

We want to grab fb_baudrate through cantools in the dbc file, but the return value is None, trace the source code we found the _load_bus function doesn't check the fd_baudrate, and we add some code on our side, and it works.

andlaus commented 1 year ago

yes, the DBC parser currently does not read the FD baudrate (only the normal signalling rate; as far as I know, the only file format which currently reads the FD baudrate is ARXML). if you have code for that, we would be grateful if you contributed it...