Skip to content

Commit

Permalink
Stop setting some signals that were pulled over from kisapilot
Browse files Browse the repository at this point in the history
  • Loading branch information
epchris committed Oct 8, 2024
1 parent 114a8aa commit 648b4aa
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions opendbc/car/hyundai/hyundaicanfd.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ def create_steering_messages(packer, CP, CAN, enabled, lat_active, steering_pres
# a torque scale value? ramps up when steering, highest seen is 234
# "UNKNOWN": 50 if lat_active and not steering_pressed else 0,
"UNKNOWN": max_torque if lat_active else 0,
"NEW_SIGNAL_1": 10,
"NEW_SIGNAL_3": 9,
"NEW_SIGNAL_4": 1,
"NEW_SIGNAL_5": 1,
"NEW_SIGNAL_6": 1,
"NEW_SIGNAL_7": 1,
# TODO: Commenting these out to see if the fix a regression
#"NEW_SIGNAL_1": 10,
#"NEW_SIGNAL_3": 9,
#"NEW_SIGNAL_4": 1,
#"NEW_SIGNAL_5": 1,
#"NEW_SIGNAL_6": 1,
#"NEW_SIGNAL_7": 1,
}

if CP.flags & HyundaiFlags.CANFD_HDA2:
Expand Down

0 comments on commit 648b4aa

Please sign in to comment.