added better safety

This commit is contained in:
2024-11-04 13:37:09 +01:00
parent 0a43e2ef57
commit f111030e73

View File

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