Skip to content

Commit

Permalink
no constants in arm
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiggy committed Mar 3, 2024
1 parent 69c94ff commit 83100c2
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@
// Arm angle is measured from horizontal on the intake side of the robot and bounded between -3π/2 and π/2
// Wrist angle is measured relative to the arm with 0 being parallel to the arm and bounded between -π and π (Center of Mass of Roller)
public class Arm extends SubsystemBase {
///GOALS
/*
* public static final double intakeAngle = Math.toRadians(0);
public static final double ampAngle = Math.toRadians(103);
public static final double placeholderSpeakerAngle1 = Math.toRadians(24);
public static final double placeholderSpeakerAngle2 = Math.toRadians(24);
public static final double placeholderSpeakerAngle3 = Math.toRadians(24);
public static final double climberUpAngle = Math.toRadians(24);
public static final double climberDownAngle = Math.toRadians(24);
*/
// a boolean meant to tell if the arm is in a forbidden posistion AKA FORBIDDEN FLAG

private final CANSparkMax armMotorMaster = MotorControllerFactory.createSparkMax(ARM_MOTOR_PORT_1, MotorConfig.NEO);
private final CANSparkMax armMotorFollower = MotorControllerFactory.createSparkMax(ARM_MOTOR_PORT_2, MotorConfig.NEO);
Expand Down Expand Up @@ -193,6 +182,7 @@ public void logMotor(SysIdRoutineLog log) {
armEncoder.getPosition(),
Rotations));
}

private final SysIdRoutine routine = new SysIdRoutine(
new SysIdRoutine.Config(),
new SysIdRoutine.Mechanism(
Expand Down

0 comments on commit 83100c2

Please sign in to comment.