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
Update dbc for EBCMBrakePedalPosition.BrakePedalPosition to replace the scaling performed in carstate.py #47
carstate.py is dividing the value by 0xd0. This should be done in the dbc.
ret.brake = pt_cp.vl["EBCMBrakePedalPosition"]["BrakePedalPosition"] / 0xd0