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 loading a DBC file that contains floating point values as factor, min or max value of a signal, the values are truncated to integer.
For example, a factor of 0.01 is truncated to 0, resulting in an error message: signalToRaw():cansignalencoder_p.cpp@143] Factor for Temperature signal is 0! Signal encoding failed. This means the internal value is affected, not only the display in the CanSignalData node.
I found the error, the problem is in CANdb check the PR GENIVI/CANdb#43
The current workaround is to either change your systems locale to one that uses the . as the decimal separator or just launch the application with this line before export LC_NUMERIC=en_US.UTF-8
When loading a DBC file that contains floating point values as factor, min or max value of a signal, the values are truncated to integer.
For example, a factor of 0.01 is truncated to 0, resulting in an error message:
signalToRaw():cansignalencoder_p.cpp@143] Factor for Temperature signal is 0! Signal encoding failed.
This means the internal value is affected, not only the display in the CanSignalData node.Example file: https://github.com/cantools/cantools/blob/master/tests/files/dbc/motohawk.dbc
(I don't know if the truncation occurs in CANdb or CANdevStudio.)
The text was updated successfully, but these errors were encountered: