Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addVisionMeasurement(Pose2d, double, Matrix<N3, N1>) - Method in class frc.RebeLib.subsystems.drive.Drive
-
Adds a new timestamped vision measurement.
- autonomousInit() - Method in class frc.robot.Robot
-
This autonomous runs the autonomous command selected by your
RobotContainer
class. - autonomousPeriodic() - Method in class frc.robot.Robot
-
This function is called periodically during autonomous.
B
- BackLeft - Static variable in class frc.robot.generated.TunerConstants
- BackRight - Static variable in class frc.robot.generated.TunerConstants
C
- connected - Variable in class frc.RebeLib.subsystems.drive.GyroIO.GyroIOInputs
- Constants - Class in frc.robot
-
This class defines the runtime mode used by AdvantageKit.
- Constants() - Constructor for class frc.robot.Constants
- Constants.DashboardConstants - Class in frc.robot
- Constants.Mode - Enum Class in frc.robot
- currentMode - Static variable in class frc.robot.Constants
D
- DASHBOARD_ENABLED - Static variable in class frc.robot.Constants.DashboardConstants
- DASHBOARD_PATH - Static variable in class frc.robot.Constants.DashboardConstants
- DASHBOARD_PORT - Static variable in class frc.robot.Constants.DashboardConstants
- DashboardConstants() - Constructor for class frc.robot.Constants.DashboardConstants
- DEPLOY_SERVER_ENABLED - Static variable in class frc.robot.Constants.DashboardConstants
- DEPLOY_SERVER_PATH - Static variable in class frc.robot.Constants.DashboardConstants
- DEPLOY_SERVER_PORT - Static variable in class frc.robot.Constants.DashboardConstants
- disabledInit() - Method in class frc.robot.Robot
-
This function is called once when the robot is disabled.
- disabledPeriodic() - Method in class frc.robot.Robot
-
This function is called periodically when disabled.
- Drive - Class in frc.RebeLib.subsystems.drive
- Drive(GyroIO, ModuleIO, ModuleIO, ModuleIO, ModuleIO) - Constructor for class frc.RebeLib.subsystems.drive.Drive
- DRIVE_BASE_RADIUS - Static variable in class frc.RebeLib.subsystems.drive.Drive
- driveAppliedVolts - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- DriveCommands - Class in frc.RebeLib.commands
- driveConnected - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- driveCurrentAmps - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- drivePositionRad - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- DrivetrainConstants - Static variable in class frc.robot.generated.TunerConstants
- driveVelocityRadPerSec - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
F
- feedforwardCharacterization(Drive) - Static method in class frc.RebeLib.commands.DriveCommands
-
Measures the velocity feedforward constants for the drive motors.
- frc.RebeLib.commands - package frc.RebeLib.commands
- frc.RebeLib.subsystems.drive - package frc.RebeLib.subsystems.drive
- frc.RebeLib.util - package frc.RebeLib.util
- frc.robot - package frc.robot
- frc.robot.generated - package frc.robot.generated
- FrontLeft - Static variable in class frc.robot.generated.TunerConstants
- FrontRight - Static variable in class frc.robot.generated.TunerConstants
G
- getAngle() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the current turn angle of the module.
- getAutonomousCommand() - Method in class frc.robot.RobotContainer
-
Use this to pass the autonomous command to the main
Robot
class. - getCurrentPath(PathConstraints, GoalEndState) - Method in class frc.RebeLib.util.LocalADStarAK
-
Get the most recently calculated path
- getFFCharacterizationVelocity() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns the average velocity of the modules in rotations/sec (Phoenix native units).
- getFFCharacterizationVelocity() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the module velocity in rotations/sec (Phoenix native units).
- getInstance() - Static method in class frc.RebeLib.subsystems.drive.PhoenixOdometryThread
- getMaxAngularSpeedRadPerSec() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns the maximum angular speed in radians per sec.
- getMaxLinearSpeedMetersPerSec() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns the maximum linear speed in meters per sec.
- getModuleTranslations() - Static method in class frc.RebeLib.subsystems.drive.Drive
-
Returns an array of module translations.
- getOdometryPositions() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the module positions received this cycle.
- getOdometryTimestamps() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the timestamps of the samples received this cycle.
- getPose() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns the current odometry pose.
- getPosition() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the module position (turn angle and drive position).
- getPositionMeters() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the current drive position of the module in meters.
- getRotation() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns the current odometry rotation.
- getState() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the module state (turn angle and drive velocity).
- getVelocityMetersPerSec() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the current drive velocity of the module in meters per second.
- getWheelRadiusCharacterizationPosition() - Method in class frc.RebeLib.subsystems.drive.Module
-
Returns the module position in radians.
- getWheelRadiusCharacterizationPositions() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns the position of each module in radians.
- GyroIO - Interface in frc.RebeLib.subsystems.drive
- GyroIO.GyroIOInputs - Class in frc.RebeLib.subsystems.drive
- GyroIOInputs() - Constructor for class frc.RebeLib.subsystems.drive.GyroIO.GyroIOInputs
- GyroIOPigeon2 - Class in frc.RebeLib.subsystems.drive
-
IO implementation for Pigeon 2.
- GyroIOPigeon2() - Constructor for class frc.RebeLib.subsystems.drive.GyroIOPigeon2
I
- isNewPathAvailable() - Method in class frc.RebeLib.util.LocalADStarAK
-
Get if a new path has been calculated since the last time a path was retrieved
J
- joystickDrive(Drive, DoubleSupplier, DoubleSupplier, DoubleSupplier) - Static method in class frc.RebeLib.commands.DriveCommands
-
Field relative drive command using two joysticks (controlling linear and angular velocities).
- joystickDriveAtAngle(Drive, DoubleSupplier, DoubleSupplier, Supplier<Rotation2d>) - Static method in class frc.RebeLib.commands.DriveCommands
-
Field relative drive command using joystick for linear control and PID for angular control.
K
- kCANBus - Static variable in class frc.robot.generated.TunerConstants
- kSpeedAt12Volts - Static variable in class frc.robot.generated.TunerConstants
L
- LocalADStarAK - Class in frc.RebeLib.util
- LocalADStarAK() - Constructor for class frc.RebeLib.util.LocalADStarAK
M
- 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.
- makeTimestampQueue() - Method in class frc.RebeLib.subsystems.drive.PhoenixOdometryThread
-
Returns a new queue that returns timestamp values for each sample.
- Module - Class in frc.RebeLib.subsystems.drive
- Module(ModuleIO, int, SwerveModuleConstants<TalonFXConfiguration, TalonFXSConfiguration, TalonFXSConfiguration>) - Constructor for class frc.RebeLib.subsystems.drive.Module
- ModuleIO - Interface in frc.RebeLib.subsystems.drive
- ModuleIO.ModuleIOInputs - Class in frc.RebeLib.subsystems.drive
- ModuleIOInputs() - Constructor for class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- ModuleIOSim - Class in frc.RebeLib.subsystems.drive
-
Physics sim implementation of module IO.
- ModuleIOSim(SwerveModuleConstants<TalonFXConfiguration, TalonFXSConfiguration, TalonFXSConfiguration>) - Constructor for class frc.RebeLib.subsystems.drive.ModuleIOSim
- ModuleIOTalonFXandFXS - Class in frc.RebeLib.subsystems.drive
-
Module IO implementation for Talon FX drive motor controller, Talon FX turn motor controller, and CANcoder.
- ModuleIOTalonFXandFXS(SwerveModuleConstants<TalonFXConfiguration, TalonFXSConfiguration, TalonFXSConfiguration>) - Constructor for class frc.RebeLib.subsystems.drive.ModuleIOTalonFXandFXS
O
- odometryDrivePositionsRad - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- odometryTimestamps - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- odometryTurnPositions - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- odometryYawPositions - Variable in class frc.RebeLib.subsystems.drive.GyroIO.GyroIOInputs
- odometryYawTimestamps - Variable in class frc.RebeLib.subsystems.drive.GyroIO.GyroIOInputs
P
- periodic() - Method in class frc.RebeLib.subsystems.drive.Drive
- periodic() - Method in class frc.RebeLib.subsystems.drive.Module
- PhoenixOdometryThread - Class in frc.RebeLib.subsystems.drive
-
Provides an interface for asynchronously reading high-frequency measurements to a set of queues.
- PhoenixUtil - Class in frc.RebeLib.util
- PhoenixUtil() - Constructor for class frc.RebeLib.util.PhoenixUtil
R
- REAL - Enum constant in enum class frc.robot.Constants.Mode
-
Running on a real robot.
- registerSignal(StatusSignal<Angle>) - Method in class frc.RebeLib.subsystems.drive.PhoenixOdometryThread
-
Registers a Phoenix signal to be read from the thread.
- registerSignal(DoubleSupplier) - Method in class frc.RebeLib.subsystems.drive.PhoenixOdometryThread
-
Registers a generic signal to be read from the thread.
- REPLAY - Enum constant in enum class frc.robot.Constants.Mode
-
Replaying from a log file.
- 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
- RobotCommands - Class in frc.robot
- RobotCommands() - Constructor for class frc.robot.RobotCommands
- RobotContainer - Class in frc.robot
-
This class is where the bulk of the robot should be declared.
- RobotContainer() - Constructor for class frc.robot.RobotContainer
-
The container for the robot.
- robotPeriodic() - Method in class frc.robot.Robot
-
This function is called periodically during all modes.
- run() - Method in class frc.RebeLib.subsystems.drive.PhoenixOdometryThread
- runCharacterization(double) - Method in class frc.RebeLib.subsystems.drive.Drive
-
Runs the drive in a straight line with the specified drive output.
- runCharacterization(double) - Method in class frc.RebeLib.subsystems.drive.Module
-
Runs the module with the specified output while controlling to zero degrees.
- runSetpoint(SwerveModuleState) - Method in class frc.RebeLib.subsystems.drive.Module
-
Runs the module with the specified setpoint state.
- runVelocity(ChassisSpeeds) - Method in class frc.RebeLib.subsystems.drive.Drive
-
Runs the drive at the desired velocity.
S
- setDriveOpenLoop(double) - Method in interface frc.RebeLib.subsystems.drive.ModuleIO
-
Run the drive motor at the specified open loop value.
- setDriveOpenLoop(double) - Method in class frc.RebeLib.subsystems.drive.ModuleIOSim
- setDriveOpenLoop(double) - Method in class frc.RebeLib.subsystems.drive.ModuleIOTalonFXandFXS
- setDriveVelocity(double) - Method in interface frc.RebeLib.subsystems.drive.ModuleIO
-
Run the drive motor at the specified velocity.
- setDriveVelocity(double) - Method in class frc.RebeLib.subsystems.drive.ModuleIOSim
- setDriveVelocity(double) - Method in class frc.RebeLib.subsystems.drive.ModuleIOTalonFXandFXS
- setDynamicObstacles(List<Pair<Translation2d, Translation2d>>, Translation2d) - Method in class frc.RebeLib.util.LocalADStarAK
-
Set the dynamic obstacles that should be avoided while pathfinding.
- setGoalPosition(Translation2d) - Method in class frc.RebeLib.util.LocalADStarAK
-
Set the goal position to pathfind to
- setPose(Pose2d) - Method in class frc.RebeLib.subsystems.drive.Drive
-
Resets the current odometry pose.
- setStartPosition(Translation2d) - Method in class frc.RebeLib.util.LocalADStarAK
-
Set the start position to pathfind from
- setTurnOpenLoop(double) - Method in interface frc.RebeLib.subsystems.drive.ModuleIO
-
Run the turn motor at the specified open loop value.
- setTurnOpenLoop(double) - Method in class frc.RebeLib.subsystems.drive.ModuleIOSim
- setTurnOpenLoop(double) - Method in class frc.RebeLib.subsystems.drive.ModuleIOTalonFXandFXS
- setTurnPosition(Rotation2d) - Method in interface frc.RebeLib.subsystems.drive.ModuleIO
-
Run the turn motor to the specified rotation.
- setTurnPosition(Rotation2d) - Method in class frc.RebeLib.subsystems.drive.ModuleIOSim
- setTurnPosition(Rotation2d) - Method in class frc.RebeLib.subsystems.drive.ModuleIOTalonFXandFXS
- SIM - Enum constant in enum class frc.robot.Constants.Mode
-
Running a physics simulator.
- simMode - Static variable in class frc.robot.Constants
- simulationInit() - Method in class frc.robot.Robot
-
This function is called once when the robot is first started up.
- simulationPeriodic() - Method in class frc.robot.Robot
-
This function is called periodically whilst in simulation.
- start() - Method in class frc.RebeLib.subsystems.drive.PhoenixOdometryThread
- stop() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Stops the drive.
- stop() - Method in class frc.RebeLib.subsystems.drive.Module
-
Disables all outputs to motors.
- stopWithX() - Method in class frc.RebeLib.subsystems.drive.Drive
-
Stops the drive and turns the modules to an X arrangement to resist movement.
- sysIdDynamic(SysIdRoutine.Direction) - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns a command to run a dynamic test in the specified direction.
- sysIdQuasistatic(SysIdRoutine.Direction) - Method in class frc.RebeLib.subsystems.drive.Drive
-
Returns a command to run a quasistatic test in the specified direction.
T
- teleopInit() - Method in class frc.robot.Robot
-
This function is called once when teleop is enabled.
- teleopPeriodic() - Method in class frc.robot.Robot
-
This function is called periodically during operator control.
- testInit() - Method in class frc.robot.Robot
-
This function is called once when test mode is enabled.
- testPeriodic() - Method in class frc.robot.Robot
-
This function is called periodically during test mode.
- tryUntilOk(int, Supplier<StatusCode>) - Static method in class frc.RebeLib.util.PhoenixUtil
-
Attempts to run the command until no error is produced.
- 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.
- turnAbsolutePosition - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- turnAppliedVolts - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- turnConnected - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- turnCurrentAmps - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- turnEncoderConnected - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- turnPosition - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
- turnVelocityRadPerSec - Variable in class frc.RebeLib.subsystems.drive.ModuleIO.ModuleIOInputs
U
- updateInputs(GyroIO.GyroIOInputs) - Method in interface frc.RebeLib.subsystems.drive.GyroIO
- updateInputs(GyroIO.GyroIOInputs) - Method in class frc.RebeLib.subsystems.drive.GyroIOPigeon2
- updateInputs(ModuleIO.ModuleIOInputs) - Method in interface frc.RebeLib.subsystems.drive.ModuleIO
-
Updates the set of loggable inputs.
- updateInputs(ModuleIO.ModuleIOInputs) - Method in class frc.RebeLib.subsystems.drive.ModuleIOSim
- updateInputs(ModuleIO.ModuleIOInputs) - Method in class frc.RebeLib.subsystems.drive.ModuleIOTalonFXandFXS
V
- valueOf(String) - Static method in enum class frc.robot.Constants.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class frc.robot.Constants.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wheelRadiusCharacterization(Drive) - Static method in class frc.RebeLib.commands.DriveCommands
-
Measures the robot's wheel radius by spinning in a circle.
Y
- yawPosition - Variable in class frc.RebeLib.subsystems.drive.GyroIO.GyroIOInputs
- yawVelocityRadPerSec - Variable in class frc.RebeLib.subsystems.drive.GyroIO.GyroIOInputs
All Classes and Interfaces|All Packages|Constant Field Values