Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Undid a commit I meant to do on a separate branch (now merged, however branch had incorrect code which has been fixed)
  • Loading branch information
EuphoniumPlayer committed Feb 16, 2024
1 parent 3f67076 commit fedd7c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ public RobotContainer() {
() -> MathUtil.applyDeadband(driverXbox.getLeftX(), OperatorConstants.LEFT_X_DEADBAND),
() -> driverXbox.getRawAxis(2));

drivebase.setDefaultCommand(
!RobotBase.isSimulation()
? driveFieldOrientedDirectAngle
: driveFieldOrientedDirectAngleSim);
drivebase.setDefaultCommand(closedAbsoluteDriveAdv);
}

/**
Expand Down

0 comments on commit fedd7c2

Please sign in to comment.