[examples] Update all examples to use NWU coordinate conventions (#4725)

This commit is contained in:
Ryan Blue
2022-11-28 16:49:49 -05:00
committed by GitHub
parent cb38bacfe8
commit 2b2aa8eef7
40 changed files with 55 additions and 56 deletions

View File

@@ -22,9 +22,9 @@ RobotContainer::RobotContainer()
frc::SmartDashboard::PutData(&m_wrist);
frc::SmartDashboard::PutData(&m_claw);
m_drivetrain.SetDefaultCommand(TankDrive([this] { return m_joy.GetLeftY(); },
[this] { return m_joy.GetRightY(); },
m_drivetrain));
m_drivetrain.SetDefaultCommand(
TankDrive([this] { return -m_joy.GetLeftY(); },
[this] { return -m_joy.GetRightY(); }, m_drivetrain));
// Configure the button bindings
ConfigureButtonBindings();