stop the robot

This commit is contained in:
2024-11-04 14:10:09 +01:00
parent 4aa0356a8a
commit a508d5c881

View File

@@ -61,7 +61,7 @@ void parseMQTT(std::string message){
}
else if(message == "stop"){
robot.sendNullMessage();
this_thread::sleep_for(chrono::milliseconds(1000));
robot.sendNullMessage();
}
else{
std::cout << "Invalid command" << std::endl;