move alternative experience class to python module (#909)

* move alternative experience class to common python module

* same formatting
This commit is contained in:
Shane Smiskol
2022-04-04 18:49:56 -07:00
committed by GitHub
parent 7214657278
commit 81246fdac1
3 changed files with 9 additions and 8 deletions

View File

@@ -114,6 +114,12 @@ def ensure_can_packet_version(fn):
return fn(self, *args, **kwargs)
return wrapper
class ALTERNATIVE_EXPERIENCE:
DEFAULT = 0
DISABLE_DISENGAGE_ON_GAS = 1
DISABLE_STOCK_AEB = 2
RAISE_LONGITUDINAL_LIMITS_TO_ISO_MAX = 8
class Panda(object):
# matches cereal.car.CarParams.SafetyModel