Skip to content

Commit

Permalink
Update at 'Fri Oct 04 12:04:55 PDT 2024'
Browse files Browse the repository at this point in the history
  • Loading branch information
rutmanz committed Oct 4, 2024
1 parent d677eda commit e08d4eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void execute() {
Rotation2d linearDirection = new Rotation2d(xPercent, yPercent);
double rotPercent = JoystickUtils.smartDeadzone(-controller.getRightX(), deadzone) * (Constants.IS_COMPETITION_ROBOT ? 1 : -1);

drivetrain.drivePercent(linearMagnitude*linearMagnitude, linearDirection, rotPercent, true);
drivetrain.drivePercent(linearMagnitude, linearDirection, rotPercent, true);
}

@Override
Expand Down

0 comments on commit e08d4eb

Please sign in to comment.