Skip to content

Commit

Permalink
working numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jack60612 committed Jan 18, 2025
1 parent dec306a commit f8f4a4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/subsystems/ArmSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ public class ArmSubsystem extends SubsystemBase {

// other constants
private final double kMaxAngleRads = 1.0; // TODO: Update
private final double kMinAngleRads = 0.0;
private final double kStartingAngleRads = kMinAngleRads + 0.0;
private final double kArmLengthMeters = 0.0;
private final double kMinAngleRads = 0.01;
private final double kStartingAngleRads = kMinAngleRads + 0.01;
private final double kArmLengthMeters = 0.1;
private final double kjKgMetersSquared =
0.1; // The moment of inertia of the arm; can be calculated from CAD software.

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/ElevatorSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class ElevatorSubsystem extends SubsystemBase {
// other constants
private final double kMaxHeightMeters = 1.0; // TODO: Update
private final double kMinHeightMeters = 0.0; // TODO: Update
private final double kStartingHeightMeters = kMinHeightMeters + 0.0; // TODO: Update
private final double kStartingHeightMeters = kMinHeightMeters + 0.1; // TODO: Update

ElevatorFeedforward m_ElevatorFeedforward = new ElevatorFeedforward(kS, kG, kV, kA);

Expand Down

0 comments on commit f8f4a4b

Please sign in to comment.