Skip to content

Commit

Permalink
keep lkas11 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyhaibin committed Apr 28, 2024
1 parent b47a978 commit ddaaf4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selfdrive/car/hyundai/hyundaicanfd.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def create_lkas11_can_canfd_hybrid(packer, CAN, frame, apply_steer, steer_req,
"CF_Lkas_MsgCount": frame % 0xF,
"CF_Lkas_FcwOpt_USM": 2 if enabled else 1,
"CF_Lkas_LdwsActivemode": int(left_lane) + (int(right_lane) << 1),
"NEW_SIGNAL_1": 0,
"NEW_SIGNAL_5": 100,
}

checksum = create_checksum_can_canfd_hybrid(packer, CAN, "LKAS11", values)
Expand Down

0 comments on commit ddaaf4b

Please sign in to comment.