Skip to content

Commit

Permalink
Set arm maxVelocity to 45 degrees/sec and maxAcceleration to 120/degr…
Browse files Browse the repository at this point in the history
…ees/sec^2
  • Loading branch information
BrownGenius committed Mar 23, 2024
1 parent d807442 commit ee065a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/config/RobotConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public static class ArmConstants {

public static double maxAngleInDegrees = 90.0;
public static double minAngleInDegrees = 0.0;
public static double maxVelocityInDegreesPerSecond = 90;
public static double maxAccelerationInDegreesPerSecondSquared = 720;
public static double maxVelocityInDegreesPerSecond = 45;
public static double maxAccelerationInDegreesPerSecondSquared = 120;

public static double intakeAngleInDegrees = 1;
public static double ejectAngleInDegrees = 15;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/config/RobotConfigInferno.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ public RobotConfigInferno() {
ArmConstants.ffKv = 6.18;
ArmConstants.ffKa = 0.04;

ArmConstants.maxVelocityInDegreesPerSecond = 90;
ArmConstants.maxAccelerationInDegreesPerSecondSquared = 720;
ArmConstants.maxVelocityInDegreesPerSecond = 45;
ArmConstants.maxAccelerationInDegreesPerSecondSquared = 120;

ArmConstants.pidMaxOutput = 6.0;
ArmConstants.pidMinOutput = -5.0;
Expand Down

0 comments on commit ee065a6

Please sign in to comment.