|
|
|
|
@ -31,6 +31,7 @@ bool Robo_Wrapper_SetMode(bool automatic){ |
|
|
|
|
unsigned char cmd[BUF_SIZE] = RS_CMD_DRIVE_PREFIX; |
|
|
|
|
McuUtility_strcat(cmd, sizeof(cmd), (unsigned char*)"mode speed"); |
|
|
|
|
SHELL_SendToRobotAndGetResponse(cmd, response, sizeof(response)); |
|
|
|
|
SHELL_SendToRobotAndGetResponse((const unsigned char*)"app manualdrive", response, sizeof(response)); |
|
|
|
|
McuShell_SendStr(response, McuShell_GetStdio()->stdOut); |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
|
|