[examples] Remove negative of ArcadeDrive(fwd, ..) in the C++ Getting Started Example (#3102)

This commit is contained in:
Modelmat
2021-01-21 04:43:34 +00:00
committed by GitHub
parent 3f1672e89f
commit 6ba8c289c5

View File

@@ -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);