diff --git a/src/C++/Driver/src/main.cpp b/src/C++/Driver/src/main.cpp index 899b5e8..ed72da5 100644 --- a/src/C++/Driver/src/main.cpp +++ b/src/C++/Driver/src/main.cpp @@ -50,11 +50,11 @@ void parseMQTT(std::string message){ robot.forward(1024); } else if(message == "left"){ - robot.Rotate(45); + robot.setRotationSpeed(4); } else if(message == "right"){ - robot.Rotate(-45); + robot.setRotationSpeed(4); } else if(message == "down"){ robot.forward(-800);