Skip to content

Commit

Permalink
Merge pull request commaai#140 from CT921/fix_allow_gas
Browse files Browse the repository at this point in the history
Change unsafeMode to resolve controls mismatch
  • Loading branch information
rav4kumar authored Apr 22, 2022
2 parents ccb8f63 + 5eae9ab commit ce0fe57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_steer_feedforward_function(cls):
def get_std_params(candidate, fingerprint):
ret = car.CarParams.new_message()
ret.carFingerprint = candidate
ret.unsafeMode = 0 # see panda/board/safety_declarations.h for allowed values
ret.unsafeMode = 1 # see panda/board/safety_declarations.h for allowed values

# standard ALC params
ret.steerControlType = car.CarParams.SteerControlType.torque
Expand Down

0 comments on commit ce0fe57

Please sign in to comment.