leaf_can_bus_messages icon indicating copy to clipboard operation
leaf_can_bus_messages copied to clipboard

MotorAmp should be a signed quantity

Open majbthrd opened this issue 1 year ago • 0 comments

"CAR-can_AZE0.dbc" currently (no pun intended) indicates the two MotorAmp quantities as unsigned. This is clearly not the case, as the car can both expend energy or recover it in regeneration.

I'm also suspect of the present encoding of MotorAmp and MotorAmpAlternative as 16-bit and 8-bit respectively. I only have a ZE0 (not a AZE0), but the data I see corresponds with two 12-bit quantities.

majbthrd avatar Oct 01 '23 15:10 majbthrd