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

Attempt to find a CAN signal for single-pedal 'L' mode #37

Closed JasonJShuler closed 2 years ago

JasonJShuler commented 2 years ago

Need a means of detecting if a vehicle using a pedal interceptor is in single-pedal mode. Only applies to hybrid and EV AFAIK.

The values must be scaled as the pedal's "zero-point" is considerably higher in L mode, and non-EVs don't have single pedal mode (afaik)

JasonJShuler commented 2 years ago

New PRDNL2 message with necessary signals discovered, as well as functionality on non-EVs.

Message merged to opendbc