juleq
juleq
Do you mean when encoding a message without setting the signal value? I could walk through the code to answer that but it is probably easier you try it or...
I would argue that this is a reasonable behaviour. Vector seems to fall back to the generic attribute which is FLOAT 0, but I think that that is a surprising...
Sounds reasonable to do so. But for cantools in general, I would argue that such a generic fallback would not be mandatory. When you do a residual bus simulation you...
I think cantools has a parameter to define encoding if that is an issue. I assume it should be UTF-8 but check that using a capable editor that you can...
Looks like you need to specify the encoding when reading in. Check the docs for cantools to see how to do that. Find out what encoding to use by opening...
Cantools is not specific to any db format. The issue sou are seeing is that dbc represents None with 0 in this case, because its syntax has no other means...
Yes, if min and max are 0 that is the dbc files way of saying None (not defined).
Hi. The default use case is: read dbc -> manipulate attributes -> write dbc. It is true that there is no documented interface for the user to create attributes and...
Sounds reasonable. That overflow is never the wanted outcome. I think range test is probably best done using some bitwise ops to keep encode fast. PR welcome.
Yes, you are right. Not that familiar with the code gen. You naturally can just render out the constants to check against which makes it simple enough. I was thinking...