Skip to content

Commit

Permalink
Temp disable
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogAi committed Dec 6, 2024
1 parent e66f5e7 commit c7106bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/car/toyota/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def update(self, cp, cp_cam, CC, frogpilot_toggles):
ret = car.CarState.new_message()
fp_ret = custom.FrogPilotCarState.new_message()

if not self.CP.flags & ToyotaFlags.SECOC.value:
if False:
self.gvc = cp.vl["VSC1S07"]["GVC"]

# Describes the acceleration request from the PCM if on flat ground, may be higher or lower if pitched
Expand Down Expand Up @@ -283,7 +283,7 @@ def get_can_parser(CP):
("STEER_TORQUE_SENSOR", 50),
]

if not CP.flags & ToyotaFlags.SECOC.value:
if False:
messages.append(("VSC1S07", 20))

if CP.carFingerprint in (TSS2_CAR - SECOC_CAR - {CAR.LEXUS_NX_TSS2, CAR.TOYOTA_ALPHARD_TSS2, CAR.LEXUS_IS_TSS2}):
Expand Down

0 comments on commit c7106bd

Please sign in to comment.