Skip to content

Commit

Permalink
Invert joysticks
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettsummerfi3ld committed Feb 8, 2024
1 parent 629e788 commit c6b2bd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public RobotContainer() {
// right stick controls the desired angle NOT angular rotation
Command driveFieldOrientedDirectAngle =
drivebase.driveCommand(
() -> MathUtil.applyDeadband(driverXbox.getLeftY(), OperatorConstants.LEFT_Y_DEADBAND),
() -> MathUtil.applyDeadband(driverXbox.getLeftX(), OperatorConstants.LEFT_X_DEADBAND),
() -> MathUtil.applyDeadband(-driverXbox.getLeftY(), OperatorConstants.LEFT_Y_DEADBAND),
() -> MathUtil.applyDeadband(-driverXbox.getLeftX(), OperatorConstants.LEFT_X_DEADBAND),
() -> driverXbox.getRightX(),
() -> driverXbox.getRightY());

Expand Down

0 comments on commit c6b2bd2

Please sign in to comment.