Set App state to manual drive on set mobility mode automatic=false

main
Simon Frei 4 years ago
parent 3b900f1d8a
commit cc9bb2860f
  1. 1
      ADIS_ESP32_Eclipse/main/robo_wrapper.c

@ -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;

Loading…
Cancel
Save