mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
stop the robot
This commit is contained in:
@@ -61,7 +61,7 @@ void parseMQTT(std::string message){
|
|||||||
}
|
}
|
||||||
else if(message == "stop"){
|
else if(message == "stop"){
|
||||||
robot.sendNullMessage();
|
robot.sendNullMessage();
|
||||||
this_thread::sleep_for(chrono::milliseconds(1000));
|
robot.sendNullMessage();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
std::cout << "Invalid command" << std::endl;
|
std::cout << "Invalid command" << std::endl;
|
||||||
|
Reference in New Issue
Block a user