[examples] Fix arcade inversions (#3841)

Accounts for differences between ArcadeDrive and the methods used
in some other examples.
This commit is contained in:
sciencewhiz
2021-12-27 23:05:42 -08:00
committed by GitHub
parent e373fa476b
commit 1e82595ffb
23 changed files with 24 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ RobotContainer::RobotContainer() {
// Set up default drive command
m_drive.SetDefaultCommand(frc2::RunCommand(
[this] {
m_drive.ArcadeDrive(m_driverController.GetLeftY(),
m_drive.ArcadeDrive(-m_driverController.GetLeftY(),
m_driverController.GetRightX());
},
{&m_drive}));