mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
added better safety
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user