Car_gas 130 missing canbus, using 17c

This commit is contained in:
Ted Slesinski
2017-12-18 21:04:29 -05:00
parent 2552aa45c3
commit 40094779d7
+1 -1
View File
@@ -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