From 6ba8c289c5218b685e9e5df8c51c06e2e2dfbf56 Mon Sep 17 00:00:00 2001 From: Modelmat Date: Thu, 21 Jan 2021 04:43:34 +0000 Subject: [PATCH] [examples] Remove negative of ArcadeDrive(fwd, ..) in the C++ Getting Started Example (#3102) --- .../src/main/cpp/examples/GettingStarted/cpp/Robot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp b/wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp index 12d35b4e44..91e444615b 100644 --- a/wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp +++ b/wpilibcExamples/src/main/cpp/examples/GettingStarted/cpp/Robot.cpp @@ -25,7 +25,7 @@ class Robot : public frc::TimedRobot { // Drive for 2 seconds if (m_timer.Get() < 2.0) { // Drive forwards half speed - m_robotDrive.ArcadeDrive(-0.5, 0.0); + m_robotDrive.ArcadeDrive(0.5, 0.0); } else { // Stop robot m_robotDrive.ArcadeDrive(0.0, 0.0);