From c34ade460fbca566f727645f46d4292cb20903ac Mon Sep 17 00:00:00 2001 From: Garrett Summerfield Date: Thu, 29 Feb 2024 23:10:39 -0600 Subject: [PATCH] Update swerve controls Updated swerve controls to use field oriented with directed angle. --- src/main/java/frc/robot/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index fbdb906..efd4b48 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -102,7 +102,7 @@ public RobotContainer() { () -> MathUtil.applyDeadband(driverXbox.getLeftX(), OperatorConstants.LEFT_X_DEADBAND), () -> driverXbox.getRawAxis(2)); - drivebase.setDefaultCommand(driveFieldOrientedAnglularVelocity); + drivebase.setDefaultCommand(driveFieldOrientedDirectAngle); } /**