mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-19 15:23:47 +08:00
fix counter mismatch in sim
old-commit-hash: 20162f7a4a1d1054e816a67735b3a2cebf5498b9
This commit is contained in:
@@ -38,7 +38,6 @@ def can_function(pm, speed, angle, idx, cruise_button=0, is_engaged=False):
|
||||
msg.append(packer.make_can_msg("SEATBELT_STATUS", 0, {"SEATBELT_DRIVER_LATCHED": 1}, idx))
|
||||
msg.append(packer.make_can_msg("STEER_STATUS", 0, {}, idx))
|
||||
msg.append(packer.make_can_msg("STEERING_SENSORS", 0, {"STEER_ANGLE": angle_to_sangle(angle)}, idx))
|
||||
msg.append(packer.make_can_msg("POWERTRAIN_DATA", 0, {}, idx))
|
||||
msg.append(packer.make_can_msg("VSA_STATUS", 0, {}, idx))
|
||||
msg.append(packer.make_can_msg("STANDSTILL", 0, {}, idx))
|
||||
msg.append(packer.make_can_msg("STEER_MOTOR_TORQUE", 0, {}, idx))
|
||||
|
||||
Reference in New Issue
Block a user