Package frc.robot
Class Constants.EndEffectorConstants
java.lang.Object
frc.robot.Constants.EndEffectorConstants
- Enclosing class:
- Constants
Constants used to configure the
End Effector.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleSpeed that the motor will use to keep force on the Algae while it is being held.static final doubleTime algae is being held (in seconds) after intakestatic final doubleIntake motor speed for algae.static final doubleOuttake motor speed for algae.static final doubleTime (in seconds) that the motors run after algae outake is called to eject algae.static final intEnd Effector's Spark Max CAN ID.static final ClosedLoopConfigPID config for the motor controller.static final doubleIntake motor speed for the coral to be behind secondary beam break for L4 scoringstatic final doubleIntake motor speed for backing up coral when in emergency modestatic final doubleIntake motor speed for coral in emergency modestatic final doubleOuttake timer for emergency coral outtake.static final doubleIntake motor speed for coral.static final doubleOuttake motor speed for coral.static final doubleCoral wait after outtake.static final doubleIntake motor speed for coral after hitting main beam break.static final doubleWhen using single beam break commands offsets time when it will check for beam break.static final doubleEnd Effector's motor gear ratio.static final intDIO pin for limit switch.static final intDIO pin for the main beam break.static final intNeo's current limit.static final doubleTime (in seconds) that the motors run after beam break detects no coral after using the outtake commandstatic final doublestatic final intDIO pin for the secondary beam break. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GEAR_RATIO_END_EFFECTOR_MOTOR
public static final double GEAR_RATIO_END_EFFECTOR_MOTOREnd Effector's motor gear ratio.- See Also:
-
MAX_CURRENT_LIMIT
public static final int MAX_CURRENT_LIMITNeo's current limit.- See Also:
-
CAN_ID_END_EFFECTOR
public static final int CAN_ID_END_EFFECTOREnd Effector's Spark Max CAN ID.- See Also:
-
POSITION_CONVERSION_FACTOR
public static final double POSITION_CONVERSION_FACTOR- See Also:
-
CLOSED_LOOP_CONFIG
PID config for the motor controller. -
CORAL_MAIN_INTAKE_SPEED
public static final double CORAL_MAIN_INTAKE_SPEEDIntake motor speed for coral. (to be changed and edited later)- See Also:
-
CORAL_SECONDARY_INTAKE_SPEED
public static final double CORAL_SECONDARY_INTAKE_SPEEDIntake motor speed for coral after hitting main beam break. (to be changed and edited later)- See Also:
-
CORAL_EMERGENCY_MODE_INTAKE_SPEED
public static final double CORAL_EMERGENCY_MODE_INTAKE_SPEEDIntake motor speed for coral in emergency mode- See Also:
-
CORAL_BACKUP_SPEED
public static final double CORAL_BACKUP_SPEEDIntake motor speed for the coral to be behind secondary beam break for L4 scoring- See Also:
-
CORAL_EMERGENCY_BACKUP_SPEED
public static final double CORAL_EMERGENCY_BACKUP_SPEEDIntake motor speed for backing up coral when in emergency mode- See Also:
-
CORAL_OUTAKE_SPEED
public static final double CORAL_OUTAKE_SPEEDOuttake motor speed for coral. (to be changed and edited later)- See Also:
-
CORAL_EMERGENCY_OUTTAKE_TIMER
public static final double CORAL_EMERGENCY_OUTTAKE_TIMEROuttake timer for emergency coral outtake.- See Also:
-
CORAL_SINGLE_BEAM_ADJUSTER_OUTTAKE_WAITTIME
public static final double CORAL_SINGLE_BEAM_ADJUSTER_OUTTAKE_WAITTIMEWhen using single beam break commands offsets time when it will check for beam break.- See Also:
-
ALGAE_INTAKE_SPEED
public static final double ALGAE_INTAKE_SPEEDIntake motor speed for algae. (to be changed and edited later)- See Also:
-
ALGAE_OUTAKE_SPEED
public static final double ALGAE_OUTAKE_SPEEDOuttake motor speed for algae. (to be changed and edited later)- See Also:
-
ALGAE_HOLD_SPEED
public static final double ALGAE_HOLD_SPEEDSpeed that the motor will use to keep force on the Algae while it is being held.- See Also:
-
CORAL_OUTTAKE_L4_WAIT
public static final double CORAL_OUTTAKE_L4_WAITCoral wait after outtake.- See Also:
-
OUTTAKE_WAIT_TIME
public static final double OUTTAKE_WAIT_TIMETime (in seconds) that the motors run after beam break detects no coral after using the outtake command- See Also:
-
ALGAE_OUTTAKE_RUN_TIME
public static final double ALGAE_OUTTAKE_RUN_TIMETime (in seconds) that the motors run after algae outake is called to eject algae.- See Also:
-
ALGAE_HOLD_TIME
public static final double ALGAE_HOLD_TIMETime algae is being held (in seconds) after intake- See Also:
-
MAIN_BEAM_BREAK_DIO
public static final int MAIN_BEAM_BREAK_DIODIO pin for the main beam break.- See Also:
-
SECONDARY_BEAM_BREAK_DIO
public static final int SECONDARY_BEAM_BREAK_DIODIO pin for the secondary beam break.- See Also:
-
LIMIT_SWITCH_DIO
public static final int LIMIT_SWITCH_DIODIO pin for limit switch.- See Also:
-
-
Constructor Details
-
EndEffectorConstants
public EndEffectorConstants()
-