public final static double FULL_RANGE = 270.0; // in degrees
public final static double OFFSET = -135.0; // in degrees
public static final double ZERO_ANGLE = 0;
+ public static final double DEFAULT_INTAKE_ARM_SPEED = 0.3;
}
public static class DefenseArm {
package org.usfirst.frc.team3501.robot.commands.intakearm;
+import org.usfirst.frc.team3501.robot.Constants.IntakeArm;
import org.usfirst.frc.team3501.robot.Robot;
import edu.wpi.first.wpilibj.command.CommandGroup;
if (level < 0 || level >= Robot.intakeArm.potAngles.length)
this.end();
- addSequential(
- new MoveIntakeArmToAngle(Robot.intakeArm.potAngles[level], 0));
+ addSequential(new MoveIntakeArmToAngle(Robot.intakeArm.potAngles[level],
+ IntakeArm.DEFAULT_INTAKE_ARM_SPEED));
}
}