Skip to content

Commit

Permalink
lowering speed of spin
Browse files Browse the repository at this point in the history
  • Loading branch information
webbrobotics committed Jan 11, 2024
1 parent ea9a765 commit 267240f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void initialize() {}
public void execute() {
double xVelocity = Math.pow(vX.getAsDouble(), 3) * controller.config.maxSpeed;
double yVelocity = Math.pow(vY.getAsDouble(), 3) * controller.config.maxSpeed;
double angVelocity = Math.pow(omega.getAsDouble(), 2) * controller.config.maxAngularVelocity;
double angVelocity = Math.pow(omega.getAsDouble(), 3) * controller.config.maxAngularVelocity*.75;
SmartDashboard.putNumber("vX", xVelocity);
SmartDashboard.putNumber("vY", yVelocity);
SmartDashboard.putNumber("omega", angVelocity);
Expand Down

0 comments on commit 267240f

Please sign in to comment.