Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addMotor(LoggedMotor) - Static method in class frc.robot.motors.MotorManager
-
Adds a motor to the motor list.
- addVisionMeasurement(Pose2d, double) - Method in class frc.robot.generated.CommandSwerveDrivetrain
-
Adds a vision measurement to the Kalman Filter.
- addVisionMeasurement(Pose2d, double, Matrix<N3, N1>) - Method in class frc.robot.generated.CommandSwerveDrivetrain
-
Adds a vision measurement to the Kalman Filter.
- applyRequest(Supplier<SwerveRequest>) - Method in class frc.robot.generated.CommandSwerveDrivetrain
-
Returns a command that applies the specified control request to this swerve drivetrain.
- AUTO_DOWN_1 - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- AUTO_DOWN_2 - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- AUTO_IDLE - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- AUTO_UP_1 - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- AUTO_UP_2 - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- AUTO_UPDATE_INTERVAL_MS - Static variable in class frc.robot.Constants.LimelightConstants
- AutoInput - Class in frc.robot.input
- AutoInput() - Constructor for class frc.robot.input.AutoInput
-
Constructs an AutonInput to store input from commands for the FSMs.
- autonomousInit() - Method in class frc.robot.Robot
- autonomousPeriodic() - Method in class frc.robot.Robot
- AutoPaths - Class in frc.robot.auto
- AutoPaths() - Constructor for class frc.robot.auto.AutoPaths
B
- BACK_LEFT - Static variable in class frc.robot.generated.TunerConstants
- BACK_RIGHT - Static variable in class frc.robot.generated.TunerConstants
- BASE - Enum constant in enum class frc.robot.input.Input.BooleanEventType
C
- calculateTargetFlyspeed(Pose2d) - Method in class frc.robot.systems.ShooterFSMSystem
-
Calculate needed values to shoot in specific targets.
- CAN_BUS - Static variable in class frc.robot.generated.TunerConstants
- CAN_ID_CLIMBER_LEFT - Static variable in class frc.robot.HardwareMap
- CAN_ID_CLIMBER_RIGHT - Static variable in class frc.robot.HardwareMap
- CAN_ID_FEEDER - Static variable in class frc.robot.HardwareMap
- CAN_ID_FLYWHEEL - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPARK_DRIVE_BACK_LEFT - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPARK_DRIVE_BACK_RIGHT - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPARK_DRIVE_FRONT_LEFT - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPARK_DRIVE_FRONT_RIGHT - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPARK_INTAKE - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPARK_PIVOT_LEFT - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPARK_PIVOT_RIGHT - Static variable in class frc.robot.HardwareMap
- CAN_ID_SPINDEXER - Static variable in class frc.robot.HardwareMap
- CLIMBER_ANGLE_RAD - Static variable in class frc.robot.Constants.ClimberConstants
- CLIMBER_AUTO_UP_1 - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- CLIMBER_AUTO_UP_2 - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- CLIMBER_EMERGENCY_ABORT - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- CLIMBER_GEAR_RATIO - Static variable in class frc.robot.Constants.ClimberConstants
- CLIMBER_GROUND_LIMIT_SWITCH_DIO_PORT_LEFT - Static variable in class frc.robot.HardwareMap
- CLIMBER_GROUND_LIMIT_SWITCH_DIO_PORT_RIGHT - Static variable in class frc.robot.HardwareMap
- CLIMBER_MANUAL_CONTROL - Enum constant in enum class frc.robot.input.InputTypes.AxialInput
- CLIMBER_MANUAL_OVERRIDE - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- CLIMBER_NEXT_STEP - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- CLIMBER_WEIGHT_KGS - Static variable in class frc.robot.Constants.ClimberConstants
- ClimberConstants() - Constructor for class frc.robot.Constants.ClimberConstants
- ClimberFSMSystem - Class in frc.robot.systems
- ClimberFSMSystem(Optional<IntakeFSMSystem>) - Constructor for class frc.robot.systems.ClimberFSMSystem
-
Create ClimberFSMSystem and initialize to starting state.
- ClimberFSMSystem.ClimberFSMState - Enum Class in frc.robot.systems
- CommandSwerveDrivetrain - Class in frc.robot.generated
-
Class that extends the Phoenix 6 SwerveDrivetrain class and implements Subsystem so it can easily be used in command-based projects.
- CommandSwerveDrivetrain(SwerveDrivetrainConstants, double, SwerveModuleConstants<?, ?, ?>...) - Constructor for class frc.robot.generated.CommandSwerveDrivetrain
-
Constructs a CTRE SwerveDrivetrain using the specified constants.
- CommandSwerveDrivetrain(SwerveDrivetrainConstants, double, Matrix<N3, N1>, Matrix<N3, N1>, SwerveModuleConstants<?, ?, ?>...) - Constructor for class frc.robot.generated.CommandSwerveDrivetrain
-
Constructs a CTRE SwerveDrivetrain using the specified constants.
- CommandSwerveDrivetrain(SwerveDrivetrainConstants, SwerveModuleConstants<?, ?, ?>...) - Constructor for class frc.robot.generated.CommandSwerveDrivetrain
-
Constructs a CTRE SwerveDrivetrain using the specified constants.
- Constants - Class in frc.robot
- Constants() - Constructor for class frc.robot.Constants
- Constants.ClimberConstants - Class in frc.robot
- Constants.DrivetrainConstants - Class in frc.robot
- Constants.IntakeConstants - Class in frc.robot
- Constants.LimelightConstants - Class in frc.robot
- Constants.ModuleConstants - Class in frc.robot
- Constants.ShooterConstants - Class in frc.robot
- CONTROL_REQUEST_SUBSTRING_START_INDEX - Static variable in class frc.robot.Constants.ClimberConstants
- createDrivetrain() - Static method in class frc.robot.generated.TunerConstants
-
Creates a CommandSwerveDrivetrain instance.
- CRUISE_VELO - Static variable in class frc.robot.Constants.ClimberConstants
D
- DEFAULT_PRESS_DURATION_CYCLES - Static variable in class frc.robot.input.AutoInput
- DEFAULT_SPARK_CONFIG - Static variable in class frc.robot.motors.MotorConstants
- DEFAULT_TALONFX_CONFIG - Static variable in class frc.robot.motors.MotorConstants
- disabledInit() - Method in class frc.robot.Robot
- disabledPeriodic() - Method in class frc.robot.Robot
- DOWN_POSITION_TOLERANCE_L1 - Static variable in class frc.robot.Constants.ClimberConstants
- DRIVE_CONTROLLER_PORT - Static variable in class frc.robot.input.TeleopInput
- DRIVE_CURRENT_LIMIT - Static variable in class frc.robot.Constants.ModuleConstants
- DRIVE_D - Static variable in class frc.robot.Constants.ModuleConstants
- DRIVE_I - Static variable in class frc.robot.Constants.ModuleConstants
- DRIVE_P - Static variable in class frc.robot.Constants.ModuleConstants
- DRIVE_V - Static variable in class frc.robot.Constants.ModuleConstants
- Drivetrain - Class in frc.robot.systems
- Drivetrain() - Constructor for class frc.robot.systems.Drivetrain
-
Constructs the drivetrain subsystem.
- DRIVETRAIN_CONSTANTS - Static variable in class frc.robot.generated.TunerConstants
- DRIVETRAIN_DRIVE_X - Enum constant in enum class frc.robot.input.InputTypes.AxialInput
- DRIVETRAIN_DRIVE_Y - Enum constant in enum class frc.robot.input.InputTypes.AxialInput
- DRIVETRAIN_RESEED - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- DRIVETRAIN_ROTATE - Enum constant in enum class frc.robot.input.InputTypes.AxialInput
- Drivetrain.DrivetrainState - Enum Class in frc.robot.systems
- DrivetrainConstants() - Constructor for class frc.robot.Constants.DrivetrainConstants
- DRUM_CIRCUMFERENCE_METERS - Static variable in class frc.robot.Constants.ClimberConstants
E
- EFFECTIVE_WEIGHT - Static variable in class frc.robot.Constants.ClimberConstants
- ExampleFSMSystem - Class in frc.robot.systems
- ExampleFSMSystem() - Constructor for class frc.robot.systems.ExampleFSMSystem
-
Create FSMSystem and initialize to starting state.
- ExampleFSMSystem.FSMState - Enum Class in frc.robot.systems
- EXPO_KV - Static variable in class frc.robot.Constants.ClimberConstants
F
- FALLING - Enum constant in enum class frc.robot.input.Input.BooleanEventType
- FEED_MAX_TIME - Static variable in class frc.robot.Constants.ShooterConstants
- FEED_STATE - Enum constant in enum class frc.robot.systems.ShooterFSMSystem.ShooterFSMState
- FEEDER_GEAR_RATIO - Static variable in class frc.robot.Constants.ShooterConstants
- FEEDER_MM_CONSTANT_D - Static variable in class frc.robot.Constants.ShooterConstants
- FEEDER_MM_CONSTANT_I - Static variable in class frc.robot.Constants.ShooterConstants
- FEEDER_MM_CONSTANT_P - Static variable in class frc.robot.Constants.ShooterConstants
- FEEDER_MM_CONSTANT_S - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_GEAR_RATIO - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_INCREMENTER - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_MAX_DEGREES - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_MAX_SPEED - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_MM_CONSTANT_D - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_MM_CONSTANT_I - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_MM_CONSTANT_P - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_MM_CONSTANT_S - Static variable in class frc.robot.Constants.ShooterConstants
- FLYWHEEL_MOE - Static variable in class frc.robot.Constants.ShooterConstants
- FOLD_IN_BUTTON - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- FOLD_IN_STATE - Enum constant in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
- FOLD_OUT_BUTTON - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- FOLD_OUT_STATE - Enum constant in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
- frc.robot - package frc.robot
- frc.robot.auto - package frc.robot.auto
- frc.robot.generated - package frc.robot.generated
- frc.robot.input - package frc.robot.input
- frc.robot.motors - package frc.robot.motors
- frc.robot.systems - package frc.robot.systems
- FRONT_LEFT - Static variable in class frc.robot.generated.TunerConstants
- FRONT_RIGHT - Static variable in class frc.robot.generated.TunerConstants
- FSMSystem<S> - Class in frc.robot.systems
-
A superclass that all FSM systems should inherit from.
- FSMSystem() - Constructor for class frc.robot.systems.FSMSystem
G
- getAxisValue(InputTypes.AxialInput) - Method in class frc.robot.input.AutoInput
- getAxisValue(InputTypes.AxialInput) - Method in class frc.robot.input.Input
-
Gets the axis value for a specific axis.
- getAxisValue(InputTypes.AxialInput) - Method in class frc.robot.input.TeleopInput
- getBooleanEvent(InputTypes.ButtonInput, Input.BooleanEventType) - Method in class frc.robot.input.Input
- getButton(InputTypes.ButtonInput) - Method in class frc.robot.input.AutoInput
- getButton(InputTypes.ButtonInput) - Method in class frc.robot.input.Input
- getButton(InputTypes.ButtonInput) - Method in class frc.robot.input.TeleopInput
- getButtonPressed(InputTypes.ButtonInput) - Method in class frc.robot.input.Input
-
Gets the button pressed value for a specific button.
- getButtonReleased(InputTypes.ButtonInput) - Method in class frc.robot.input.Input
-
Gets the button released value for a specific button.
- getButtonValue(InputTypes.ButtonInput) - Method in class frc.robot.input.Input
-
Gets the (raw) button value for a specific button.
- getChassisSpeeds() - Method in class frc.robot.systems.Drivetrain
-
Get the drivetrain chassis speeds.
- getConfig() - Method in class frc.robot.systems.ClimberFSMSystem
-
Get the TalonFXConfiguration for the climber motors.
- getCurrentState() - Method in class frc.robot.systems.Drivetrain
-
Get the current state of the Drivetrain subsystem.
- getCurrentState() - Method in class frc.robot.systems.FSMSystem
-
Get the current FSM state.
- getIdentifier() - Method in interface frc.robot.motors.LoggedMotor
-
Gets the unique identifier of a motor for logging purposes.
- getIdentifier() - Method in class frc.robot.motors.SparkMaxWrapper
- getIdentifier() - Method in class frc.robot.motors.TalonFXWrapper
- getIntakeMotorVelocity() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for intake motor velocity.
- getIntakeMotorVolatge() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for intake motor voltage.
- getIntakeState() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for intake current state.
- getLeftMotorVoltage() - Method in class frc.robot.systems.ClimberFSMSystem
-
Get the Left motor voltage in volts.
- getLoggedCurrent() - Method in interface frc.robot.motors.LoggedMotor
-
Gets the current of the motor in amperes.
- getLoggedCurrent() - Method in class frc.robot.motors.SparkMaxWrapper
- getLoggedCurrent() - Method in class frc.robot.motors.TalonFXWrapper
- getLoggedPosition() - Method in interface frc.robot.motors.LoggedMotor
-
Gets the position of the motor in rotations.
- getLoggedPosition() - Method in class frc.robot.motors.SparkMaxWrapper
- getLoggedPosition() - Method in class frc.robot.motors.TalonFXWrapper
- getLoggedSetpoint() - Method in interface frc.robot.motors.LoggedMotor
-
Gets the setpoint of the motor in range [-1, 1].
- getLoggedSetpoint() - Method in class frc.robot.motors.SparkMaxWrapper
- getLoggedSetpoint() - Method in class frc.robot.motors.TalonFXWrapper
- getLoggedVelocity() - Method in interface frc.robot.motors.LoggedMotor
-
Gets the angular velocity of the motor in rotations per minute.
- getLoggedVelocity() - Method in class frc.robot.motors.SparkMaxWrapper
- getLoggedVelocity() - Method in class frc.robot.motors.TalonFXWrapper
- getLoggedVoltage() - Method in interface frc.robot.motors.LoggedMotor
-
Gets the voltage of the motor in volts.
- getLoggedVoltage() - Method in class frc.robot.motors.SparkMaxWrapper
- getLoggedVoltage() - Method in class frc.robot.motors.TalonFXWrapper
- getModulePositions() - Method in class frc.robot.systems.Drivetrain
-
Get the drivetrain swerve positions.
- getModuleStates() - Method in class frc.robot.systems.Drivetrain
-
Get the drivetrain swerve states.
- getModuleTargets() - Method in class frc.robot.systems.Drivetrain
-
Get the drivetrain swerve targets.
- getMotorPosition() - Method in class frc.robot.systems.ClimberFSMSystem
-
Get the motor position in rotations.
- getMotorVelocity() - Method in class frc.robot.systems.ClimberFSMSystem
-
Get the motor velocity in rotations per second.
- getOptimalFuel() - Method in class frc.robot.systems.LimelightBallDetectionsJSON
-
Calculates which fuel is the most optimal to pick up.
- getPivotMotorLeftVolatge() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for pivot motor left voltage.
- getPivotMotorPos() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for pivot motor position.
- getPivotMotorRightCurrent() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for pivot motor right current.
- getPivotMotorRightVoltage() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for pivot motor right voltage.
- getPivotMotorVelocity() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for pivot motor velocity.
- getPose() - Method in class frc.robot.systems.Drivetrain
-
Get the drivetrain pose.
- getRightMotorVoltage() - Method in class frc.robot.systems.ClimberFSMSystem
-
Get the Right motor voltage in volts.
- getSortedDetections() - Method in class frc.robot.systems.LimelightBallDetectionsJSON
-
Returns all detected targets sorted by proximity to center.
- getTestAuto(AutoInput, FSMSystem<Drivetrain.DrivetrainState>) - Static method in class frc.robot.auto.AutoPaths
-
An auto that is only here temporarily for testing purposes.
- getTransformer() - Method in enum class frc.robot.input.Input.BooleanEventType
- GROUND - Static variable in class frc.robot.Constants.ClimberConstants
- GROUND_TARGET_ANGLE - Static variable in class frc.robot.Constants.IntakeConstants
H
- HardwareMap - Class in frc.robot
-
HardwareMap provides a centralized spot for constants related to the hardware configuration of the robot.
- HardwareMap() - Constructor for class frc.robot.HardwareMap
- HOOD_ANGLE - Static variable in class frc.robot.Constants.ShooterConstants
- HUB_POSE - Static variable in class frc.robot.Constants.ShooterConstants
I
- IDLE - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- IDLE_IN_STATE - Enum constant in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
- IDLE_OUT_STATE - Enum constant in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
- IDLE_SHOOTER_TOGGLE - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- IDLE_STATE - Enum constant in enum class frc.robot.systems.ShooterFSMSystem.ShooterFSMState
- init() - Method in interface frc.robot.motors.LoggedMotor
-
Initializes the motor by adding it to the global motor list in MotorManager.
- Input - Class in frc.robot.input
-
Base class for input handling in the robot.
- Input.BooleanEventType - Enum Class in frc.robot.input
- InputTypes - Class in frc.robot.input
- InputTypes() - Constructor for class frc.robot.input.InputTypes
- InputTypes.AxialInput - Enum Class in frc.robot.input
- InputTypes.ButtonInput - Enum Class in frc.robot.input
- INTAKE_BUTTON - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- INTAKE_CRUISE_VELO - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_EXPO_KV - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_GEARING - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_GROUND_LIMIT_SWITCH_DIO_PORT - Static variable in class frc.robot.HardwareMap
- INTAKE_KA - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_KD - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_KI - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_KP - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_KV - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_PIVOT_GEARING - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_STATE - Enum constant in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
- INTAKE_TARGET_ACCEL - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_TARGET_VELOCITY - Static variable in class frc.robot.Constants.IntakeConstants
- INTAKE_TOP_LIMIT_SWITCH_DIO_PORT - Static variable in class frc.robot.HardwareMap
- IntakeConstants() - Constructor for class frc.robot.Constants.IntakeConstants
- IntakeFSMSystem - Class in frc.robot.systems
- IntakeFSMSystem() - Constructor for class frc.robot.systems.IntakeFSMSystem
-
Create FSMSystem and initialize to starting state.
- IntakeFSMSystem.IntakeFSMState - Enum Class in frc.robot.systems
- isAtBottomLimit() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for intake motor voltage.
- isAtSpeed() - Method in class frc.robot.systems.ShooterFSMSystem
-
Checks if the target flywheel speed matches the actual flywheel speed within margin of error.
- isAtTopLimit() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for intake motor voltage.
- isClimberEnabled() - Static method in class frc.robot.HardwareMap
-
Hardware map entry for the climber subsystem.
- isDrivetrainEnabled() - Static method in class frc.robot.HardwareMap
-
Hardware map entry for the drivetrain subsystem.
- isIntakeDown() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for the result of the elevator's top limit switch.
- isIntakeDownRunning() - Method in class frc.robot.systems.IntakeFSMSystem
-
Getter for the result of the elevator's top limit switch.
- isIntakeEnabled() - Static method in class frc.robot.HardwareMap
-
Hardware map entry for the intake subsystem.
- isShooterEnabled() - Static method in class frc.robot.HardwareMap
-
Hardware map entry for the shooter subsystem.
- isTestBoard() - Static method in class frc.robot.HardwareMap
-
Check if the current RoboRIO is part of a test setup or real robot.
J
- J - Static variable in class frc.robot.Constants.IntakeConstants
- JOYSTICK_DEADBAND - Static variable in class frc.robot.Constants.ClimberConstants
K
- KA - Static variable in class frc.robot.Constants.ClimberConstants
- KD - Static variable in class frc.robot.Constants.ClimberConstants
- KG - Static variable in class frc.robot.Constants.ClimberConstants
- KI - Static variable in class frc.robot.Constants.ClimberConstants
- KP - Static variable in class frc.robot.Constants.ClimberConstants
- KS - Static variable in class frc.robot.Constants.ClimberConstants
- KV - Static variable in class frc.robot.Constants.ClimberConstants
L
- L1_EXTEND - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- L1_EXTEND_POS - Static variable in class frc.robot.Constants.ClimberConstants
- L1_RETRACT - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- L1_RETRACT_POS - Static variable in class frc.robot.Constants.ClimberConstants
- LimelightBallDetectionsJSON - Class in frc.robot.systems
- LimelightBallDetectionsJSON() - Constructor for class frc.robot.systems.LimelightBallDetectionsJSON
-
Constructor for LimelightBallDetectionJSON.
- LimelightConstants() - Constructor for class frc.robot.Constants.LimelightConstants
- LIMIT_SWITCH_HEIGHT - Static variable in class frc.robot.Constants.ClimberConstants
- LOCKED_FINAL - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- LoggedMotor - Interface in frc.robot.motors
-
An interface for any motor wrapper implementation for logging purposes.
- LOGGING_PREFIX - Static variable in class frc.robot.motors.MotorConstants
- LOOP_PERIOD_MS - Static variable in class frc.robot.motors.SparkMaxWrapper
- LOOP_PERIOD_MS - Static variable in class frc.robot.motors.TalonFXWrapper
M
- MAGIC_ACCELERATION - Static variable in class frc.robot.Constants.ShooterConstants
- MAGIC_JERK - Static variable in class frc.robot.Constants.ShooterConstants
- main(String...) - Static method in class frc.robot.Main
-
Main initialization function.
- Main - Class in frc.robot
-
Do NOT add any static variables to this class, or any initialization at all.
- MANUAL_DIRECT_CONTROL - Enum constant in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
- MANUAL_PREP_STATE - Enum constant in enum class frc.robot.systems.ShooterFSMSystem.ShooterFSMState
- MANUAL_SCALE - Static variable in class frc.robot.Constants.ClimberConstants
- MANUAL_SHOOT_TOGGLE - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- MAX_ANGULAR_VELOCITY - Static variable in class frc.robot.Constants.DrivetrainConstants
- MECH_CONTROLLER_PORT - Static variable in class frc.robot.input.TeleopInput
- MM_CONSTANT_V - Static variable in class frc.robot.Constants.ShooterConstants
- ModuleConstants() - Constructor for class frc.robot.Constants.ModuleConstants
- MotorConstants - Class in frc.robot.motors
-
Holds constants for the motor IO class such as default motor info.
- MotorConstants() - Constructor for class frc.robot.motors.MotorConstants
- MotorManager - Class in frc.robot.motors
-
The motor manager that facilitates pooling and logging motor outputs.
- MotorManager() - Constructor for class frc.robot.motors.MotorManager
N
- nextState(Input) - Method in class frc.robot.systems.ClimberFSMSystem
- nextState(Input) - Method in class frc.robot.systems.Drivetrain
- nextState(Input) - Method in class frc.robot.systems.ExampleFSMSystem
- nextState(Input) - Method in class frc.robot.systems.FSMSystem
-
Get the next state for the FSM based on inputs.
- nextState(Input) - Method in class frc.robot.systems.IntakeFSMSystem
- nextState(Input) - Method in class frc.robot.systems.PlaceholderFSMSystem
- nextState(Input) - Method in class frc.robot.systems.ShooterFSMSystem
O
- OTHER_STATE - Enum constant in enum class frc.robot.systems.ExampleFSMSystem.FSMState
- OUTPOST_POSE - Static variable in class frc.robot.Constants.ShooterConstants
- OUTTAKE_BUTTON - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- OUTTAKE_STATE - Enum constant in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
- OUTTAKE_TARGET_VELOCITY - Static variable in class frc.robot.Constants.IntakeConstants
P
- PARTIAL_OUT_BUTTON - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- PARTIAL_OUT_STATE - Enum constant in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
- PARTIAL_OUT_TARGET_ANGLE - Static variable in class frc.robot.Constants.IntakeConstants
- PASSER_PREP_STATE - Enum constant in enum class frc.robot.systems.ShooterFSMSystem.ShooterFSMState
- PASSER_PREP_TOGGLE - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- PCM_CHANNEL_INTAKE_CYLINDER_FORWARD - Static variable in class frc.robot.HardwareMap
- PCM_CHANNEL_INTAKE_CYLINDER_REVERSE - Static variable in class frc.robot.HardwareMap
- periodic() - Method in class frc.robot.generated.CommandSwerveDrivetrain
- PIVOT_ARM_LENGTH - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_BUFFER - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_CRUISE_VELO - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_CURRENT_LIMIT - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_EXPO_KV - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_KA - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_KD - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_KG - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_KI - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_KP - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_KS - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_KV - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_MAX_ROTATION - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_MIN_ROTATION - Static variable in class frc.robot.Constants.IntakeConstants
- PIVOT_TARGET_ACCEL - Static variable in class frc.robot.Constants.IntakeConstants
- PlaceholderFSMSystem<StateSpace> - Class in frc.robot.systems
-
this is intended to be used in place of an FSM when the hardware is not present.
- PlaceholderFSMSystem() - Constructor for class frc.robot.systems.PlaceholderFSMSystem
- POSITION_TOLERANCE_L1 - Static variable in class frc.robot.Constants.ClimberConstants
- pressButtonCommand(InputTypes.ButtonInput) - Method in class frc.robot.input.AutoInput
-
Returns an instant command that briefly presses a button.
- pressButtonCommand(InputTypes.ButtonInput, int) - Method in class frc.robot.input.AutoInput
-
Returns an instant command that briefly presses a button.
R
- reset() - Method in class frc.robot.input.Input
-
Resets the input object, resetting all button bindings.
- reset() - Static method in class frc.robot.motors.MotorManager
-
Resets the motor list to an empty list.
- reset() - Method in class frc.robot.systems.ClimberFSMSystem
-
Reset this system to its start state.
- reset() - Method in class frc.robot.systems.Drivetrain
- reset() - Method in class frc.robot.systems.ExampleFSMSystem
- reset() - Method in class frc.robot.systems.FSMSystem
-
Reset the current FSM state.
- reset() - Method in class frc.robot.systems.IntakeFSMSystem
-
resets the FSM_STATE.
- reset() - Method in class frc.robot.systems.PlaceholderFSMSystem
- reset() - Method in class frc.robot.systems.ShooterFSMSystem
- REV_FEEDER - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- REVERSE_LIMIT_SWITCH_POS - Static variable in class frc.robot.Constants.ClimberConstants
- RISING - Enum constant in enum class frc.robot.input.Input.BooleanEventType
- Robot - Class in frc.robot
-
The VM is configured to automatically run this class, and to call the functions corresponding to each mode, as described in the TimedRobot documentation.
- Robot() - Constructor for class frc.robot.Robot
- robotInit() - Method in class frc.robot.Robot
-
This function is run when the robot is first started up and should be used for any initialization code.
- robotPeriodic() - Method in class frc.robot.Robot
- ROTATIONAL_DAMP - Static variable in class frc.robot.Constants.DrivetrainConstants
- ROTATIONAL_DEADBAND - Static variable in class frc.robot.Constants.DrivetrainConstants
- ROTS_TO_INCHES - Static variable in class frc.robot.Constants.ClimberConstants
S
- set(double) - Method in class frc.robot.motors.SparkMaxWrapper
- setAxis(InputTypes.AxialInput, double) - Method in class frc.robot.input.AutoInput
-
Setter for an axis value.
- setButton(InputTypes.ButtonInput, boolean) - Method in class frc.robot.input.AutoInput
-
Setter for a button value.
- setCurrentState(S) - Method in class frc.robot.systems.FSMSystem
-
Set the current FSM state.
- setRawPosition(double) - Method in class frc.robot.motors.TalonFXWrapper
-
Sets the raw position of the motor.
- SHOOTER_CURRENT_LIMIT - Static variable in class frc.robot.Constants.ShooterConstants
- SHOOTER_PREP_STATE - Enum constant in enum class frc.robot.systems.ShooterFSMSystem.ShooterFSMState
- SHOOTER_PREP_TOGGLE - Enum constant in enum class frc.robot.input.InputTypes.ButtonInput
- ShooterConstants() - Constructor for class frc.robot.Constants.ShooterConstants
- ShooterFSMSystem - Class in frc.robot.systems
- ShooterFSMSystem() - Constructor for class frc.robot.systems.ShooterFSMSystem
-
Create FSMSystem and initialize to starting state.
- ShooterFSMSystem(Drivetrain, IntakeFSMSystem) - Constructor for class frc.robot.systems.ShooterFSMSystem
-
Create FSMSystem and initialize to starting state.
- ShooterFSMSystem.ShooterFSMState - Enum Class in frc.robot.systems
- SIM_LIMIT_SWITCH_BUFFER - Static variable in class frc.robot.Constants.IntakeConstants
- SIM_UPDATE_SECONDS - Static variable in class frc.robot.Constants.IntakeConstants
- simulationInit() - Method in class frc.robot.Robot
- simulationPeriodic() - Method in class frc.robot.Robot
- SparkMaxWrapper - Class in frc.robot.motors
-
Spark max wrapper class, using SparkMaxSim.
- SparkMaxWrapper(int, SparkLowLevel.MotorType) - Constructor for class frc.robot.motors.SparkMaxWrapper
-
Constructor for CAN ID and motor type.
- SparkMaxWrapper(int, SparkLowLevel.MotorType, DCMotor) - Constructor for class frc.robot.motors.SparkMaxWrapper
-
Constructor for CAN ID, motor type and an instance of DCMotor.
- SPEED_12V - Static variable in class frc.robot.generated.TunerConstants
- SPINDEX_CONSTANT_SPEED - Static variable in class frc.robot.Constants.ShooterConstants
- SPINDEX_CONSTANT_VOLTAGE - Static variable in class frc.robot.Constants.ShooterConstants
- SPINDEX_GEAR_RATIO - Static variable in class frc.robot.Constants.ShooterConstants
- START_STATE - Enum constant in enum class frc.robot.systems.ExampleFSMSystem.FSMState
- STEER_CURRENT_LIMIT - Static variable in class frc.robot.Constants.ModuleConstants
- STEER_D - Static variable in class frc.robot.Constants.ModuleConstants
- STEER_I - Static variable in class frc.robot.Constants.ModuleConstants
- STEER_P - Static variable in class frc.robot.Constants.ModuleConstants
- STEER_S - Static variable in class frc.robot.Constants.ModuleConstants
- STEER_V - Static variable in class frc.robot.Constants.ModuleConstants
- STORAGE_BREAK_BEAM_DIO_PORT - Static variable in class frc.robot.HardwareMap
- SWERVE_MODULE_COUNT - Static variable in class frc.robot.Constants.DrivetrainConstants
- SYS_ID_VOLT_DAMP - Static variable in class frc.robot.Constants.DrivetrainConstants
- sysIdDynamic(SysIdRoutine.Direction) - Method in class frc.robot.generated.CommandSwerveDrivetrain
-
Runs the SysId Dynamic test in the given direction for the routine specified by
CommandSwerveDrivetrain.sysIdRoutineToApply. - sysIdQuasistatic(SysIdRoutine.Direction) - Method in class frc.robot.generated.CommandSwerveDrivetrain
-
Runs the SysId Quasistatic test in the given direction for the routine specified by
CommandSwerveDrivetrain.sysIdRoutineToApply.
T
- TalonFXWrapper - Class in frc.robot.motors
-
TalonFx wrapper class, using DC motor sim + sim states.
- TalonFXWrapper(int) - Constructor for class frc.robot.motors.TalonFXWrapper
-
Constructor with device ID.
- TalonFXWrapper(int, DCMotor) - Constructor for class frc.robot.motors.TalonFXWrapper
-
Constructor with device ID and motor type.
- TalonFXWrapper(int, String) - Constructor for class frc.robot.motors.TalonFXWrapper
-
Constructor with device ID and CAN bus string.
- TalonFXWrapper(int, String, DCMotor) - Constructor for class frc.robot.motors.TalonFXWrapper
-
Constructor with device ID, CAN bus string, and motor type.
- TARGET_ACCEL - Static variable in class frc.robot.Constants.ClimberConstants
- TARGET3_POSE - Static variable in class frc.robot.Constants.ShooterConstants
- targetHub() - Method in class frc.robot.systems.Drivetrain
-
Aligns the bot to target the hub for shooting.
- targetPassZone(Pose2d) - Method in class frc.robot.systems.Drivetrain
-
Aligns the bot to target the passing target.
- TELEOP - Enum constant in enum class frc.robot.systems.Drivetrain.DrivetrainState
- teleopInit() - Method in class frc.robot.Robot
- TeleopInput - Class in frc.robot.input
-
Common class for providing driver inputs during Teleop.
- TeleopInput() - Constructor for class frc.robot.input.TeleopInput
-
Constructs a TeleopInput using the constants defined in this file.
- teleopPeriodic() - Method in class frc.robot.Robot
- TEMP_FLYSPEED - Static variable in class frc.robot.Constants.ShooterConstants
- testInit() - Method in class frc.robot.Robot
- testPeriodic() - Method in class frc.robot.Robot
- toggleButtonCommand(InputTypes.ButtonInput) - Method in class frc.robot.input.AutoInput
-
Returns an instant command that toggles the button value.
- TRANSLATIONAL_DAMP - Static variable in class frc.robot.Constants.DrivetrainConstants
- TRANSLATIONAL_DEADBAND - Static variable in class frc.robot.Constants.DrivetrainConstants
- TunerConstants - Class in frc.robot.generated
- TunerConstants() - Constructor for class frc.robot.generated.TunerConstants
- TunerConstants.TunerSwerveDrivetrain - Class in frc.robot.generated
-
Swerve Drive class utilizing CTR Electronics' Phoenix 6 API with the selected device types.
- TunerSwerveDrivetrain(SwerveDrivetrainConstants, double, SwerveModuleConstants<?, ?, ?>...) - Constructor for class frc.robot.generated.TunerConstants.TunerSwerveDrivetrain
-
Constructs a CTRE SwerveDrivetrain using the specified constants.
- TunerSwerveDrivetrain(SwerveDrivetrainConstants, double, Matrix<N3, N1>, Matrix<N3, N1>, SwerveModuleConstants<?, ?, ?>...) - Constructor for class frc.robot.generated.TunerConstants.TunerSwerveDrivetrain
-
Constructs a CTRE SwerveDrivetrain using the specified constants.
- TunerSwerveDrivetrain(SwerveDrivetrainConstants, SwerveModuleConstants<?, ?, ?>...) - Constructor for class frc.robot.generated.TunerConstants.TunerSwerveDrivetrain
-
Constructs a CTRE SwerveDrivetrain using the specified constants.
U
- update() - Method in class frc.robot.input.Input
-
Update the input loop periodically.
- update() - Static method in class frc.robot.motors.MotorManager
-
Updates all motors in the global list and logs information to Ascope.
- update() - Method in class frc.robot.systems.LimelightBallDetectionsJSON
-
Updates variables.
- update(Input) - Method in class frc.robot.systems.ClimberFSMSystem
-
Update FSM based on new inputs.
- update(Input) - Method in class frc.robot.systems.Drivetrain
- update(Input) - Method in class frc.robot.systems.ExampleFSMSystem
- update(Input) - Method in class frc.robot.systems.FSMSystem
-
Update the FSM state periodically based on inputs.
- update(Input) - Method in class frc.robot.systems.IntakeFSMSystem
-
updates the current state in IntakeFSMState.
- update(Input) - Method in class frc.robot.systems.PlaceholderFSMSystem
- update(Input) - Method in class frc.robot.systems.ShooterFSMSystem
- UPDATE_FREQUENCY - Static variable in class frc.robot.Constants.IntakeConstants
- UPDATE_FREQUENCY_HZ - Static variable in class frc.robot.Constants.ShooterConstants
- UPDATE_RATE - Static variable in class frc.robot.Constants.ClimberConstants
- updateLogging() - Method in class frc.robot.systems.ClimberFSMSystem
-
Update logging values for this system.
- updateSimState() - Method in interface frc.robot.motors.LoggedMotor
-
Updates the motors every tick.
- updateSimState() - Method in class frc.robot.motors.SparkMaxWrapper
- updateSimState() - Method in class frc.robot.motors.TalonFXWrapper
- UPPER_TARGET_ANGLE - Static variable in class frc.robot.Constants.IntakeConstants
- UPPER_THRESHOLD - Static variable in class frc.robot.Constants.ClimberConstants
V
- valueOf(String) - Static method in enum class frc.robot.input.Input.BooleanEventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class frc.robot.input.InputTypes.AxialInput
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class frc.robot.input.InputTypes.ButtonInput
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class frc.robot.systems.Drivetrain.DrivetrainState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class frc.robot.systems.ExampleFSMSystem.FSMState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class frc.robot.systems.ShooterFSMSystem.ShooterFSMState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class frc.robot.input.Input.BooleanEventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class frc.robot.input.InputTypes.AxialInput
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class frc.robot.input.InputTypes.ButtonInput
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class frc.robot.systems.ClimberFSMSystem.ClimberFSMState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class frc.robot.systems.Drivetrain.DrivetrainState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class frc.robot.systems.ExampleFSMSystem.FSMState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class frc.robot.systems.IntakeFSMSystem.IntakeFSMState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class frc.robot.systems.ShooterFSMSystem.ShooterFSMState
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- watchForStatesCommand(S...) - Method in class frc.robot.systems.FSMSystem
-
Get a command that waits for a sequence of states to be observed.
All Classes and Interfaces|All Packages|Constant Field Values