mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Update RomiReference to match motor directions (#3036)
Flip the TeleopArcadeDrive axis directions so that positive values for x-axis speed result in the Romi driving forward (in the direction of the Raspberry Pi USB ports).
This commit is contained in:
@@ -92,6 +92,6 @@ public class RobotContainer {
|
||||
*/
|
||||
public Command getArcadeDriveCommand() {
|
||||
return new ArcadeDrive(
|
||||
m_drivetrain, () -> m_controller.getRawAxis(1), () -> -m_controller.getRawAxis(2));
|
||||
m_drivetrain, () -> -m_controller.getRawAxis(1), () -> m_controller.getRawAxis(2));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user