Skip to content

Commit

Permalink
Update swerve controls
Browse files Browse the repository at this point in the history
Updated swerve controls to use field oriented with directed angle.
  • Loading branch information
garrettsummerfi3ld committed Mar 1, 2024
1 parent 71f19f5 commit c34ade4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public RobotContainer() {
() -> MathUtil.applyDeadband(driverXbox.getLeftX(), OperatorConstants.LEFT_X_DEADBAND),
() -> driverXbox.getRawAxis(2));

drivebase.setDefaultCommand(driveFieldOrientedAnglularVelocity);
drivebase.setDefaultCommand(driveFieldOrientedDirectAngle);
}

/**
Expand Down

0 comments on commit c34ade4

Please sign in to comment.