Skip to content

Commit

Permalink
maybe maybe maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoung8607 committed Jul 27, 2023
1 parent fc203ef commit fc48a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/car/volkswagen/mqbcan.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ def create_steering_control(packer, bus, apply_steer, lkas_enabled):
values = {
"ENABLED_1": 2 if lkas_enabled else 1,
"ENABLED_2": 1 if lkas_enabled else 0,
"SET_ME_0X54": 0x54 if lkas_enabled else 0,
"ASSIST_TORQUE": abs(apply_steer),
"ASSIST_DIRECTION": 1 if apply_steer < 0 else 0,
}
Expand Down

0 comments on commit fc48a86

Please sign in to comment.