delete the log

This commit is contained in:
wangzheqie
2021-04-23 17:47:16 +08:00
parent dbf338de6a
commit 6b43b3f31a

View File

@@ -155,7 +155,6 @@ void AgilexBase::DisableLightControl() {
void AgilexBase::SetMotionMode(uint8_t mode) void AgilexBase::SetMotionMode(uint8_t mode)
{ {
printf("before set: %d", mode);
AgxMessage msg; AgxMessage msg;
msg.type = AgxMsgSetMotionMode; msg.type = AgxMsgSetMotionMode;
msg.body.motion_mode_msg.motion_mode = mode; msg.body.motion_mode_msg.motion_mode = mode;
@@ -164,6 +163,5 @@ void AgilexBase::SetMotionMode(uint8_t mode)
can_frame frame; can_frame frame;
EncodeCanFrame(&msg, &frame); EncodeCanFrame(&msg, &frame);
can_->SendFrame(frame); can_->SendFrame(frame);
printf("after set: %d", mode);
} }
} // namespace westonrobot } // namespace westonrobot