From 804e5ce236a9e3a86bae565ad203e025c21912bd Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Mon, 13 Feb 2023 22:18:23 -0800 Subject: [PATCH] [examples] MecanumDrive: Fix axis comment in C++ example (NFC) (#5096) --- .../src/main/cpp/examples/MecanumDrive/cpp/Robot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibcExamples/src/main/cpp/examples/MecanumDrive/cpp/Robot.cpp b/wpilibcExamples/src/main/cpp/examples/MecanumDrive/cpp/Robot.cpp index 2b57f3ce37..8d9d7aebf7 100644 --- a/wpilibcExamples/src/main/cpp/examples/MecanumDrive/cpp/Robot.cpp +++ b/wpilibcExamples/src/main/cpp/examples/MecanumDrive/cpp/Robot.cpp @@ -21,7 +21,7 @@ class Robot : public frc::TimedRobot { } void TeleopPeriodic() override { - /* Use the joystick X axis for forward movement, Y axis for lateral + /* Use the joystick Y axis for forward movement, X axis for lateral * movement, and Z axis for rotation. */ m_robotDrive.DriveCartesian(-m_stick.GetY(), -m_stick.GetX(),