From 5f4ca3615db5e99ccc79894533a82e92a3b0da52 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 14 Oct 2024 20:33:56 -0700 Subject: [PATCH] fix --- opendbc/car/toyota/carstate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc/car/toyota/carstate.py b/opendbc/car/toyota/carstate.py index 9ccb61f51f..43fb4dc1de 100644 --- a/opendbc/car/toyota/carstate.py +++ b/opendbc/car/toyota/carstate.py @@ -76,7 +76,7 @@ def update(self, cp, cp_cam, *_) -> structs.CarState: self.pcm_accel_net += neutral_accel if self.CP.flags & ToyotaFlags.HYBRID and self.CP.carFingerprint in TSS2_CAR: - self.computer_gas = cp.vl["GEAR_PACKET_HYBRID"]["FDRV"] + self.computer_gas = cp.vl["GEAR_PACKET_HYBRID"]["FDRVREAL"] self.computer_brake = cp.vl["BRAKE"]["BRAKE_FORCE"] ret.doorOpen = any([cp.vl["BODY_CONTROL_STATE"]["DOOR_OPEN_FL"], cp.vl["BODY_CONTROL_STATE"]["DOOR_OPEN_FR"],