mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 08:16:03 +08:00
Car_gas 130 missing canbus, using 17c
old-commit-hash: 40094779d7dc0b0d51c1ead0317683684db2b063
This commit is contained in:
@@ -511,7 +511,7 @@ class CarState(object):
|
||||
# on the accord, this doesn't seem to include cruise control
|
||||
self.car_gas = cp.vl[0x17C]['PEDAL_GAS']
|
||||
self.steer_override = False
|
||||
elif self.crv:
|
||||
elif self.crv or self.odyssey:
|
||||
# like accord, crv doesn't include cruise control
|
||||
self.car_gas = cp.vl[0x17C]['PEDAL_GAS']
|
||||
self.steer_override = abs(cp.vl[0x18F]['STEER_TORQUE_SENSOR']) > 1200
|
||||
|
||||
Reference in New Issue
Block a user