mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
flip rotation value to negative
This commit is contained in:
@@ -54,7 +54,7 @@ void parseMQTT(std::string message){
|
|||||||
|
|
||||||
}
|
}
|
||||||
else if(message == "right"){
|
else if(message == "right"){
|
||||||
robot.setRotationSpeed(4);
|
robot.setRotationSpeed(-4);
|
||||||
}
|
}
|
||||||
else if(message == "down"){
|
else if(message == "down"){
|
||||||
robot.forward(-800);
|
robot.forward(-800);
|
||||||
|
Reference in New Issue
Block a user