flip rotation value to negative

This commit is contained in:
2024-11-04 14:39:05 +01:00
parent a422456747
commit 9cb5468885

View File

@@ -54,7 +54,7 @@ void parseMQTT(std::string message){
}
else if(message == "right"){
robot.setRotationSpeed(4);
robot.setRotationSpeed(-4);
}
else if(message == "down"){
robot.forward(-800);