Skip to content

Commit

Permalink
move to longitudinal base
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Nov 9, 2022
1 parent 169e48e commit 67abe4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/safety/test_gm.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ class Buttons:


class GmLongitudinalBase(common.PandaSafetyTest):
MAX_GAS = 0
MAX_REGEN = 0
INACTIVE_REGEN = 0
MAX_BRAKE = 0

PCM_CRUISE = False # openpilot can control the PCM state if longitudinal

# pylint: disable=no-member,abstract-method
Expand Down Expand Up @@ -67,11 +72,6 @@ class TestGmSafetyBase(common.PandaSafetyTest, common.DriverTorqueSteeringSafety
DRIVER_TORQUE_ALLOWANCE = 50
DRIVER_TORQUE_FACTOR = 4

MAX_GAS = 0
MAX_REGEN = 0
INACTIVE_REGEN = 0
MAX_BRAKE = 0

PCM_CRUISE = True # openpilot is tied to the PCM state if not longitudinal

@classmethod
Expand Down

0 comments on commit 67abe4c

Please sign in to comment.