opgm / openpilot

GM openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 100 supported car makes and models.
MIT License
57 stars 39 forks source link

The values displayed in Cabana for Pedal Interceptor include negative values - should be uint16 #57

Closed JasonJShuler closed 3 weeks ago

JasonJShuler commented 2 years ago

The pedal code expects a 16-bit unsigned integer, (0 to 65535) and the value is directly applied to the DAC. Either Cabana is wrong, or the OP code / dbc scaling are wrong. Either way, this could be causing the strange behaviour