Skip to content

Commit

Permalink
made field oriented false
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTinker64 committed Jan 10, 2024
1 parent decc58c commit 6e6e4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/SwerveJoystickCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void execute() {
ySpeed = this.applyDeadBand(ySpeed);
turningSpeed = this.applyDeadBand(turningSpeed);

ChassisSpeeds chassisSpeeds = speedsToChassisSpeeds(xSpeed, ySpeed, turningSpeed, fieldOrientedFunction.getAsBoolean());
ChassisSpeeds chassisSpeeds = speedsToChassisSpeeds(xSpeed, ySpeed, turningSpeed, false);

SwerveModuleState[] moduleStates =
DriveConstants.kDriveKinematics.toSwerveModuleStates(chassisSpeeds);
Expand Down

0 comments on commit 6e6e4ab

Please sign in to comment.