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
I try to convert arxml to dbc/kcd. Seems like the min/max values are scaled twice with the slope value. This happens when converting to dbc and kdc. And with all signals with a slope.
The arxml-parser does not take care of PHYS-CONSTRS and INTERNAL-CONSTRS.
It's more or less random which one the parser uses.
But it alwas calculates if it were INTERNAL-CONSTRS.
This is what I think happens:
The parser takes the PHYS-CONSTRS --> 1023.8125
but it thinks it's the internal val and so scales it ...
I try to convert arxml to dbc/kcd. Seems like the min/max values are scaled twice with the slope value. This happens when converting to dbc and kdc. And with all signals with a slope.
slope=0.0625
phys-max=1023.8125
internal-max=16383 (phys-max * slope)
but the converted max-value in kcd = 63.98828125 (16383 * 0.0625 * 0.0625), should be 1023.8125
In Xlsx the max value is missing.
It's the same for the offset. It is applied twice to min and max.
May be I miss something because I'm not very familiar with these CAN things?
ARXML
KCD
The text was updated successfully, but these errors were encountered: