|
|
@ -511,7 +511,7 @@ class CarState(object): |
|
|
|
# on the accord, this doesn't seem to include cruise control |
|
|
|
# on the accord, this doesn't seem to include cruise control |
|
|
|
self.car_gas = cp.vl[0x17C]['PEDAL_GAS'] |
|
|
|
self.car_gas = cp.vl[0x17C]['PEDAL_GAS'] |
|
|
|
self.steer_override = False |
|
|
|
self.steer_override = False |
|
|
|
elif self.crv: |
|
|
|
elif self.crv or self.odyssey: |
|
|
|
# like accord, crv doesn't include cruise control |
|
|
|
# like accord, crv doesn't include cruise control |
|
|
|
self.car_gas = cp.vl[0x17C]['PEDAL_GAS'] |
|
|
|
self.car_gas = cp.vl[0x17C]['PEDAL_GAS'] |
|
|
|
self.steer_override = abs(cp.vl[0x18F]['STEER_TORQUE_SENSOR']) > 1200 |
|
|
|
self.steer_override = abs(cp.vl[0x18F]['STEER_TORQUE_SENSOR']) > 1200 |
|
|
|