This commit is contained in:
Robofish 2025-10-04 22:12:03 +08:00
parent 088db5d94f
commit 1a739ab634

View File

@ -164,7 +164,7 @@ int8_t Virtual_Chassis_Update(Virtual_Chassis_t *chassis) {
for (int i = 0; i < 4; i++){
BSP_CAN_GetMessage(chassis->param.imu.can, 0x66 + i, &msg, BSP_CAN_TIMEOUT_IMMEDIATE);
Virtual_Chassis_DecodeIMU(chassis, msg.parsed_id, msg.data, msg.dlc);
Virtual_Chassis_DecodeIMU(chassis, 0x66 + i, msg.data, msg.dlc);
}
return DEVICE_OK;