Skip to content

Commit 513ee56

Browse files
adeebshihadehspektor56
authored andcommitted
CANParser: invalid until valid (commaai#24945)
* CANParser: invalid until valid * bump opendbc * bump opendbc * fix counter in sim
1 parent 3ff0284 commit 513ee56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/sim/lib/can.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def can_function(pm, speed, angle, idx, cruise_button, is_engaged):
6262
msg.append(packer.make_can_msg("CRUISE", 0, {}, idx))
6363
msg.append(packer.make_can_msg("SCM_FEEDBACK", 0, {"MAIN_ON": 1}, idx))
6464
msg.append(packer.make_can_msg("POWERTRAIN_DATA", 0, {"ACC_STATUS": int(is_engaged)}, idx))
65-
msg.append(packer.make_can_msg("HUD_SETTING", 0, {}))
65+
msg.append(packer.make_can_msg("HUD_SETTING", 0, {}, idx))
66+
msg.append(packer.make_can_msg("CAR_SPEED", 0, {}, idx))
6667

6768
# *** cam bus ***
6869
msg.append(packer.make_can_msg("STEERING_CONTROL", 2, {}, idx))

0 commit comments

Comments
 (0)