|
|
@ -26,8 +26,6 @@ void ZCANXYRobotCtrlModule::onRceivePacket(CanPacketRxBuffer* rxcmd) { |
|
|
|
osDelay(5); // 用来保证回执消息在前面
|
|
|
|
kcmd_xy_robot_ctrl_move_to_zero_report_t report = {0}; |
|
|
|
ZLOGI(TAG, "kcmd_xy_robot_ctrl_move_to_zero exec_status:%d", status); |
|
|
|
|
|
|
|
report.id = m_id; |
|
|
|
report.exec_status = status; |
|
|
|
m_cancmder->sendExecStatusReport(cmdheader, (uint8_t*)&report, sizeof(report)); |
|
|
|
}); |
|
|
@ -38,8 +36,6 @@ void ZCANXYRobotCtrlModule::onRceivePacket(CanPacketRxBuffer* rxcmd) { |
|
|
|
osDelay(5); // 用来保证回执消息在前面
|
|
|
|
kcmd_xy_robot_ctrl_move_to_zero_with_calibrate_report_t report = {0}; |
|
|
|
ZLOGI(TAG, "kcmd_xy_robot_ctrl_move_to_zero_with_calibrate exec_status:%d", status); |
|
|
|
|
|
|
|
report.id = m_id; |
|
|
|
report.exec_status = status; |
|
|
|
m_cancmder->sendExecStatusReport(cmdheader, (uint8_t*)&report, sizeof(report)); |
|
|
|
}); |
|
|
@ -51,8 +47,6 @@ void ZCANXYRobotCtrlModule::onRceivePacket(CanPacketRxBuffer* rxcmd) { |
|
|
|
osDelay(5); // 用来保证回执消息在前面
|
|
|
|
kcmd_xy_robot_ctrl_move_to_report_t report = {0}; |
|
|
|
ZLOGI(TAG, "kcmd_xy_robot_ctrl_move_to exec_status:%d", status); |
|
|
|
|
|
|
|
report.id = m_id; |
|
|
|
report.exec_status = status; |
|
|
|
m_cancmder->sendExecStatusReport(cmdheader, (uint8_t*)&report, sizeof(report)); |
|
|
|
}); |
|
|
@ -64,8 +58,6 @@ void ZCANXYRobotCtrlModule::onRceivePacket(CanPacketRxBuffer* rxcmd) { |
|
|
|
osDelay(5); // 用来保证回执消息在前面
|
|
|
|
kcmd_xy_robot_ctrl_move_by_report_t report = {0}; |
|
|
|
ZLOGI(TAG, "kcmd_xy_robot_ctrl_move_by exec_status:%d", status); |
|
|
|
|
|
|
|
report.id = m_id; |
|
|
|
report.exec_status = status; |
|
|
|
m_cancmder->sendExecStatusReport(cmdheader, (uint8_t*)&report, sizeof(report)); |
|
|
|
}); |
|
|
|