We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb94977 commit 569a39fCopy full SHA for 569a39f
opendbc
tools/sim/lib/can.py
@@ -63,7 +63,7 @@ def can_function(pm, speed, angle, idx, cruise_button, is_engaged):
63
msg.append(packer.make_can_msg("SCM_FEEDBACK", 0, {"MAIN_ON": 1}, idx))
64
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, {}))
66
- msg.append(packer.make_can_msg("CAR_SPEED", 0, {}))
+ msg.append(packer.make_can_msg("CAR_SPEED", 0, {}, idx))
67
68
# *** cam bus ***
69
msg.append(packer.make_can_msg("STEERING_CONTROL", 2, {}, idx))
0 commit comments