mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Update all examples to use NWU coordinate conventions (#4725)
This commit is contained in:
@@ -30,9 +30,9 @@ RobotContainer::RobotContainer() {
|
||||
// Set up default drive command
|
||||
m_drive.SetDefaultCommand(frc2::RunCommand(
|
||||
[this] {
|
||||
m_drive.Drive(m_driverController.GetLeftY(),
|
||||
m_driverController.GetRightX(),
|
||||
m_driverController.GetLeftX(), false);
|
||||
m_drive.Drive(-m_driverController.GetLeftY(),
|
||||
-m_driverController.GetRightX(),
|
||||
-m_driverController.GetLeftX(), false);
|
||||
},
|
||||
{&m_drive}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user