Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accept(T) - Method in class org.team1126.lib.util.Mutable
-
Sets a new value.
- add(String, Command) - Method in class org.team1126.lib.util.command.AutoChooser
-
Add an option to the chooser.
- add(String, T) - Static method in class org.team1126.lib.tunable.Tunables
-
Adds an object to be tuned.
- add(String, T) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds an object to be tuned.
- addHeadingData(double, Rotation2d) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Add robot heading data to buffer.
- addHeadingData(double, Rotation3d) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Add robot heading data to buffer.
- addListener(BooleanConsumer) - Method in class org.team1126.lib.tunable.Tunables.TunableBoolean
-
Adds a listener that will be invoked when the tunable's value is modified.
- addListener(FloatConsumer) - Method in class org.team1126.lib.tunable.Tunables.TunableFloat
-
Adds a listener that will be invoked when the tunable's value is modified.
- addListener(Consumer<String>) - Method in class org.team1126.lib.tunable.Tunables.TunableString
-
Adds a listener that will be invoked when the tunable's value is modified.
- addListener(DoubleConsumer) - Method in class org.team1126.lib.tunable.Tunables.TunableDouble
-
Adds a listener that will be invoked when the tunable's value is modified.
- addListener(IntConsumer) - Method in class org.team1126.lib.tunable.Tunables.TunableInteger
-
Adds a listener that will be invoked when the tunable's value is modified.
- addVisionMeasurements(VisionMeasurement...) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Adds vision measurements to the pose estimator.
- adis16470(ADIS16470_IMU.IMUAxis, ADIS16470_IMU.IMUAxis, ADIS16470_IMU.IMUAxis, SPI.Port, ADIS16470_IMU.CalibrationTime) - Static method in class org.team1126.lib.swerve.hardware.SwerveIMUs
-
Configures an
ADIS16470 IMU. - ADIS16470Logger - Class in org.team1126.lib.logging.wpilibj
- ADIS16470Logger() - Constructor for class org.team1126.lib.logging.wpilibj.ADIS16470Logger
- aimAtHub(Supplier<Translation2d>, DoubleSupplier) - Method in class org.team1126.robot.subsystems.Swerve
-
Drives the robot to a target position using the P-APF while aiming at the hub.
- aimAtOurZone(DoubleSupplier, DoubleSupplier) - Method in class org.team1126.robot.subsystems.Swerve
- aimingAtHub() - Method in class org.team1126.robot.subsystems.Swerve
- Alliance - Class in org.team1126.lib.util
-
Shorthand for getting the robot's alliance.
- angleToHub() - Method in class org.team1126.robot.subsystems.Swerve
-
Returns the angle from the origin of our robot to the center of the hub in radians.
- angularAccel - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The maximum angular acceleration the robot is capable of in radians/second/second.
- apfDrive(Supplier<Pose2d>, DoubleSupplier) - Method in class org.team1126.robot.subsystems.Swerve
-
Drives the robot to a target position using the P-APF.
- apfDrive(Supplier<Pose2d>, DoubleSupplier, DoubleSupplier) - Method in class org.team1126.robot.subsystems.Swerve
-
Drives the robot to a target position using the P-APF, until the robot is positioned within a specified tolerance of the target.
- apfVisualization() - Method in class org.team1126.robot.subsystems.Swerve
-
Remove @NotLogged for debugging
- apply(double) - Method in interface org.team1126.lib.math.PAPFController.ForceHeuristic
-
Applies the heuristic to a specified distance within the obstacle's range.
- apply(double) - Method in interface org.team1126.lib.math.PAPFController.GoalHeuristic
-
Applies the heuristic to a specified distance from the goal location, returning an arbitrary strength value.
- applyAbsolute() - Method in record class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder.HookStatus
-
Returns the value of the
applyAbsoluterecord component. - applyAssistedDriverInput(double, double, double, ChassisSpeeds, Perspective, boolean, boolean) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Drives using inputs from the driver's controller, with a specified additional chassis velocity.
- applyDriverInput(double, double, double, Perspective, boolean, boolean) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Drives using inputs from the driver's controller.
- applyForce(double, double, PAPFController.NetForce) - Method in class org.team1126.lib.math.PAPFController.CircleObstacle
- applyForce(double, double, PAPFController.NetForce) - Method in class org.team1126.lib.math.PAPFController.LateralObstacle
- applyForce(double, double, PAPFController.NetForce) - Method in class org.team1126.lib.math.PAPFController.LineObstacle
- applyForce(double, double, PAPFController.NetForce) - Method in class org.team1126.lib.math.PAPFController.LongitudinalObstacle
- applyForce(double, double, PAPFController.NetForce) - Method in class org.team1126.lib.math.PAPFController.Obstacle
-
Applies the force generated by the obstacle to the provided accumulator, based on the robot's current position and goal.
- applyForce(double, double, PAPFController.NetForce) - Method in class org.team1126.lib.math.PAPFController.PointObstacle
- applySettings(Canandgyro, CanandgyroSettings) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Applies settings to a Canandgyro and checks for errors.
- applySettings(Canandgyro, CanandgyroSettings, int) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Applies settings to a Canandgyro and checks for errors.
- applySettings(Canandmag, CanandmagSettings) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Applies settings to a Canandmag and checks for errors.
- applySettings(Canandmag, CanandmagSettings, int) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Applies settings to a Canandmag and checks for errors.
- applySpeeds(ChassisSpeeds, Perspective, boolean, boolean) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Drives using chassis speeds.
- applyStates(SwerveModuleState[]) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Drives using module states.
- applyStop(boolean) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Drives the modules to stop the robot from moving.
- applyVoltage(double, Rotation2d) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Drives the robot using open-loop voltage.
- aprilTags() - Static method in class org.team1126.lib.math.FieldInfo
-
Returns the current field's AprilTag layout.
- AT_CAMERAS - Static variable in class org.team1126.robot.Constants
- AtomicBooleanLogger - Class in org.team1126.lib.logging.java
- AtomicBooleanLogger() - Constructor for class org.team1126.lib.logging.java.AtomicBooleanLogger
- AtomicIntegerLogger - Class in org.team1126.lib.logging.java
- AtomicIntegerLogger() - Constructor for class org.team1126.lib.logging.java.AtomicIntegerLogger
- AtomicLongLogger - Class in org.team1126.lib.logging.java
- AtomicLongLogger() - Constructor for class org.team1126.lib.logging.java.AtomicLongLogger
- AutoChooser - Class in org.team1126.lib.util.command
-
Similar to
SendableChooser, this class implements a selector over NetworkTables for choosing a command to run during the autonomous period. - AutoChooser() - Constructor for class org.team1126.lib.util.command.AutoChooser
-
Creates an auto chooser, using the default
/Autostable. - AutoChooser(String) - Constructor for class org.team1126.lib.util.command.AutoChooser
-
Creates an auto chooser.
- AutoChooser(String, boolean) - Constructor for class org.team1126.lib.util.command.AutoChooser
-
Creates an auto chooser.
- autonomousPeriodic() - Method in class org.team1126.lib.logging.LoggedRobot
- autos - Variable in class org.team1126.robot.Robot
- Autos - Class in org.team1126.robot.commands
-
The Autos class declares autonomous modes, and adds them to the dashboard to be selected by the drive team.
- Autos(Robot) - Constructor for class org.team1126.robot.commands.Autos
B
- BARRIER_FAR_LEFT_CORNER - Static variable in class org.team1126.robot.util.Field
-
The far left corner of the HUB, from the perspective of the DRIVER STATION.
- BARRIER_FAR_RIGHT_CORNER - Static variable in class org.team1126.robot.util.Field
-
The far right corner of the HUB, from the perspective of the DRIVER STATION.
- BARRIER_FAR_X - Static variable in class org.team1126.robot.util.Field
-
FAR X coordinate of the barrier.
- BARRIER_HALF_WIDTH - Static variable in class org.team1126.robot.util.Field
-
Magic number (108.5") based on the measurement from the diagrams.
- BARRIER_LEFT_Y - Static variable in class org.team1126.robot.util.Field
-
LEFT Y coordinate of the barrier.
- BARRIER_NEAR_LEFT_CORNER - Static variable in class org.team1126.robot.util.Field
-
The near left corner of the HUB, from the perspective of the DRIVER STATION.
- BARRIER_NEAR_RIGHT_CORNER - Static variable in class org.team1126.robot.util.Field
-
The near right corner of the HUB, from the perspective of the DRIVER STATION.
- BARRIER_NEAR_X - Static variable in class org.team1126.robot.util.Field
-
NEAR X coordinate of the barrier.
- BARRIER_RIGHT_Y - Static variable in class org.team1126.robot.util.Field
-
RIGHT Y coordinate of the barrier.
- BL_ENCODER - Static variable in class org.team1126.robot.Constants.LowerCAN
- BL_MOVE - Static variable in class org.team1126.robot.Constants.LowerCAN
- BL_TURN - Static variable in class org.team1126.robot.Constants.LowerCAN
- BLUE - Enum constant in enum class org.team1126.lib.swerve.Perspective
-
The speeds are relative to the blue alliance perspective.
- BLUE_ZONE - Static variable in class org.team1126.robot.util.Field
-
The X coordinate of the edge of the blue ALLIANCE ZONE.
- BR_ENCODER - Static variable in class org.team1126.robot.Constants.LowerCAN
- BR_MOVE - Static variable in class org.team1126.robot.Constants.LowerCAN
- BR_TURN - Static variable in class org.team1126.robot.Constants.LowerCAN
C
- calculate(Pose2d, Translation2d, double, double) - Method in class org.team1126.lib.math.PAPFController
-
Returns the next velocity output of the potential field.
- calculate(Pose2d, Translation2d, double, double, PAPFController.Obstacle...) - Method in class org.team1126.lib.math.PAPFController
-
Returns the next velocity output of the potential field.
- calculateDriverSpeeds(double, double, double) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Utility method for converting driver input to chassis speeds.
- CameraConfig(String, Translation3d, Rotation3d) - Constructor for record class org.team1126.robot.util.Vision.CameraConfig
-
Creates an instance of a
CameraConfigrecord class. - CanandcolorLogger - Class in org.team1126.lib.logging.reduxlib
- CanandcolorLogger() - Constructor for class org.team1126.lib.logging.reduxlib.CanandcolorLogger
- canandgyro(int) - Static method in class org.team1126.lib.swerve.hardware.SwerveIMUs
-
Configures a
Canandgyro. - CANANDGYRO - Static variable in class org.team1126.robot.Constants.RioCAN
- CanandgyroLogger - Class in org.team1126.lib.logging.reduxlib
- CanandgyroLogger() - Constructor for class org.team1126.lib.logging.reduxlib.CanandgyroLogger
- canandmag(int, double, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveEncoders
-
Configures a
Canandmag. - CanandmagLogger - Class in org.team1126.lib.logging.reduxlib
- CanandmagLogger() - Constructor for class org.team1126.lib.logging.reduxlib.CanandmagLogger
- cancoder(int, double, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveEncoders
-
Configures a
CANcoder. - CANcoderLogger - Class in org.team1126.lib.logging.phoenix
- CANcoderLogger() - Constructor for class org.team1126.lib.logging.phoenix.CANcoderLogger
- CANdiLogger - Class in org.team1126.lib.logging.phoenix
- CANdiLogger() - Constructor for class org.team1126.lib.logging.phoenix.CANdiLogger
- CANdleLogger - Class in org.team1126.lib.logging.phoenix
- CANdleLogger() - Constructor for class org.team1126.lib.logging.phoenix.CANdleLogger
- CANrangeLogger - Class in org.team1126.lib.logging.phoenix
- CANrangeLogger() - Constructor for class org.team1126.lib.logging.phoenix.CANrangeLogger
- changedReference() - Method in class org.team1126.robot.subsystems.Swerve
-
Returns true if the reef angle has changed.
- CircleObstacle(Translation2d, double, double, double) - Constructor for class org.team1126.lib.math.PAPFController.CircleObstacle
-
Creates a circle obstacle.
- CircleObstacle(Translation2d, double, double, double, PAPFController.ForceHeuristic) - Constructor for class org.team1126.lib.math.PAPFController.CircleObstacle
-
Creates a circle obstacle.
- clearHeadingData() - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Clears all heading data in the buffer.
- climbing(BooleanSupplier) - Method in class org.team1126.robot.subsystems.Lights.Top
-
Displays the climbing animation.
- climbPercent(DoubleSupplier) - Method in class org.team1126.robot.subsystems.Lights.Sides
-
Displays the percentage of the climber deploy position.
- close() - Method in class org.team1126.lib.logging.LoggedRobot
- close() - Method in class org.team1126.lib.swerve.SwerveAPI
- CO_DRIVER - Static variable in class org.team1126.robot.Constants
- commandBuilder() - Method in class org.team1126.lib.util.command.GRRSubsystem
-
Creates a command builder that requires this subsystem.
- commandBuilder(String) - Method in class org.team1126.lib.util.command.GRRSubsystem
-
Creates a command builder that requires this subsystem.
- CommandBuilder - Class in org.team1126.lib.util.command
-
A command builder.
- CommandBuilder(Subsystem...) - Constructor for class org.team1126.lib.util.command.CommandBuilder
-
Create the command builder.
- CommandBuilder(String, Subsystem...) - Constructor for class org.team1126.lib.util.command.CommandBuilder
-
Create the command builder.
- CommandSchedulerLogger - Class in org.team1126.lib.logging.wpilibj
- CommandSchedulerLogger() - Constructor for class org.team1126.lib.logging.wpilibj.CommandSchedulerLogger
- CommandXboxControllerLogger - Class in org.team1126.lib.logging.wpilibj
- CommandXboxControllerLogger() - Constructor for class org.team1126.lib.logging.wpilibj.CommandXboxControllerLogger
- compareTo(TimestampedPose) - Method in record class org.team1126.lib.math.geometry.TimestampedPose
- compareTo(VisionMeasurement) - Method in record class org.team1126.lib.math.geometry.VisionMeasurement
- config - Variable in class org.team1126.lib.swerve.SwerveAPI
- config(SparkFlex, SparkBaseConfig) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Shorthand for configuring a Spark motor controller with error checking.
- config(SparkMax, SparkBaseConfig) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Shorthand for configuring a Spark motor controller with error checking.
- configEphemeral(SparkFlex, SparkBaseConfig) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Shorthand for configuring a Spark motor controller ephemerally with error checking.
- configEphemeral(SparkMax, SparkBaseConfig) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Shorthand for configuring a Spark motor controller ephemerally with error checking.
- configNoReset(SparkFlex, SparkBaseConfig) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Shorthand for configuring a Spark motor controller with error checking.
- configNoReset(SparkMax, SparkBaseConfig) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Shorthand for configuring a Spark motor controller with error checking.
- configure(Consumer<EpilogueConfiguration>) - Static method in class org.team1126.lib.logging.EpilogueProxy
-
Configures Epilogue.
- Constants - Class in org.team1126.robot
-
The Constants class provides a convenient place for teams to hold robot-wide numerical or boolean constants.
- Constants() - Constructor for class org.team1126.robot.Constants
- Constants.LowerCAN - Class in org.team1126.robot
- Constants.RioCAN - Class in org.team1126.robot
- Constants.RioIO - Class in org.team1126.robot
- ConstrainedSolvepnpParams(boolean, double) - Constructor for record class org.team1126.robot.util.PhotonPoseEstimator.ConstrainedSolvepnpParams
-
Creates an instance of a
ConstrainedSolvepnpParamsrecord class. - construct(SwerveEncoders.SwerveEncoder.Ctor, SwerveConfig, SwerveMotors.SwerveMotor) - Static method in class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder
-
Constructs a swerve encoder.
- construct(SwerveIMUs.SwerveIMU.Ctor, SwerveConfig, SwerveIMUs.SwerveIMU.IMUSimHook) - Static method in class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
-
Constructs a swerve IMU.
- construct(SwerveMotors.SwerveMotor.Ctor, SwerveConfig, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Constructs a swerve motor.
- copyInto(Twist2d, Twist2d) - Static method in class org.team1126.lib.math.Math2
-
Copies values from a source
Twist2dobject to another. - copyInto(ChassisSpeeds, ChassisSpeeds) - Static method in class org.team1126.lib.math.Math2
-
Copies values from a source
ChassisSpeedsobject to another. - copyInto(SwerveModulePosition, SwerveModulePosition) - Static method in class org.team1126.lib.math.Math2
-
Copies values from a source
SwerveModulePositionobject to another. - copyInto(SwerveModuleState, SwerveModuleState) - Static method in class org.team1126.lib.math.Math2
-
Copies values from a source
SwerveModuleStateobject to another.
D
- DEFAULT - Static variable in interface org.team1126.lib.math.PAPFController.ForceHeuristic
-
The default heuristic.
- DEFAULT - Static variable in interface org.team1126.lib.math.PAPFController.GoalHeuristic
-
The default heuristic.
- DEFAULT_PERIOD - Static variable in class org.team1126.lib.logging.LoggedRobot
-
Default loop period.
- defaultFramePeriod - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The default frame period for unused CAN signals in seconds.
- defaultSelected() - Method in class org.team1126.lib.util.command.AutoChooser
-
Returns a
Triggerthat istruewhen the default option ("Do Nothing") is selected. - defaultSelected() - Method in class org.team1126.robot.commands.Autos
-
Returns
truewhen the default auto is selected. - DEPOT_ROT - Static variable in class org.team1126.robot.util.Field
- DEPOT_X - Static variable in class org.team1126.robot.util.Field
- DEPOT_Y - Static variable in class org.team1126.robot.util.Field
- DigitalInputLogger - Class in org.team1126.lib.logging.wpilibj
- DigitalInputLogger() - Constructor for class org.team1126.lib.logging.wpilibj.DigitalInputLogger
- disableDaemons() - Static method in class org.team1126.lib.util.vendors.PhoenixUtil
-
Disables background processes managed by Phoenix, intended for competition use.
- disabledPeriodic() - Method in class org.team1126.lib.logging.LoggedRobot
- DisableWatchdog - Class in org.team1126.lib.util
-
Utility class for disabling
Watchdoginstances inside objects. - discretizationPeriod - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The period to look ahead for discretizing chassis speeds in seconds.
- discretizeChassisSpeeds(ChassisSpeeds, double) - Static method in class org.team1126.lib.math.Math2
-
Discretizes continuous-time chassis speeds in place.
- distanceToHub() - Method in class org.team1126.robot.subsystems.Swerve
-
Returns the distance from the origin of our robot to the center of the hub in meters.
- drive(DoubleSupplier, DoubleSupplier, DoubleSupplier) - Method in class org.team1126.robot.subsystems.Swerve
-
Drives the robot using driver input.
- DRIVER - Static variable in class org.team1126.robot.Constants
- driverAngular() - Method in class org.team1126.robot.Robot
- driverAngularVel - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The maximum angular velocity for driver input in radians/second.
- driverAngularVelDeadband - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
Deadband to apply to driver angular velocity input.
- driverAngularVelExp - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
Exponential power to apply to driver angular velocity input.
- driverVel - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The maximum velocity for driver input in meters/second.
- driverVelDeadband - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
Deadband to apply to driver velocity input.
- driverVelExp - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
Exponential power to apply to driver velocity input.
- driverX() - Method in class org.team1126.robot.Robot
- driverY() - Method in class org.team1126.robot.Robot
- DummySubsystem - Class in org.team1126.lib.util.command
-
A dummy subsystem.
- DummySubsystem() - Constructor for class org.team1126.lib.util.command.DummySubsystem
E
- enableRT(boolean) - Method in class org.team1126.lib.logging.LoggedRobot
-
Enables real-time thread priority on the main thread while the robot is enabled.
- enableScheduling(boolean) - Method in class org.team1126.lib.util.command.AutoChooser
-
Enables automatically scheduling the selected command when the robot is enabled in autonomous mode.
- encoder - Variable in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
The encoder to use, generated by the
SwerveEncodersclass. - EncoderLogger - Class in org.team1126.lib.logging.wpilibj
- EncoderLogger() - Constructor for class org.team1126.lib.logging.wpilibj.EncoderLogger
- end() - Static method in class org.team1126.lib.logging.Profiler
-
Ends profiling a section of code.
- end(boolean) - Method in class org.team1126.lib.util.command.CommandBuilder
- end(boolean) - Method in class org.team1126.lib.util.command.RumbleCommand
- endCompetition() - Method in class org.team1126.lib.logging.LoggedRobot
- EpilogueProxy - Class in org.team1126.lib.logging
-
Utility for interfacing with the generated
Epilogueclass. - equals(Object) - Method in record class org.team1126.lib.math.geometry.TimestampedPose
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.team1126.lib.math.geometry.VisionMeasurement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder.HookStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.team1126.robot.util.PhotonPoseEstimator.ConstrainedSolvepnpParams
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.team1126.robot.util.Vision.CameraConfig
-
Indicates whether some other object is "equal to" this one.
- estimateOnCarpet(Pose2d, Transform3d, double, double) - Static method in class org.team1126.robot.util.FuelLocalization
-
Estimates the field position of a target on the carpet (z=0) from camera yaw/pitch.
- execute() - Method in class org.team1126.lib.util.command.CommandBuilder
- execute() - Method in class org.team1126.lib.util.command.RumbleCommand
- ExtPose - Class in org.team1126.lib.math.geometry
-
A container for
Pose2dobjects that enables live tuning via NetworkTables, and dynamically returns flipped variants of the original pose based on the robot's current alliance viaSupplier.get(). - ExtPose(double, double, Rotation2d) - Constructor for class org.team1126.lib.math.geometry.ExtPose
-
Creates an extended
Pose2d. - ExtPose(Pose2d) - Constructor for class org.team1126.lib.math.geometry.ExtPose
-
Creates an extended
Pose2d. - ExtPose(Translation2d, Rotation2d) - Constructor for class org.team1126.lib.math.geometry.ExtPose
-
Creates an extended
Pose2d. - ExtRotation - Class in org.team1126.lib.math.geometry
-
A container for
Rotation2dobjects that enables live tuning via NetworkTables, and dynamically returns flipped variants of the original rotation based on the robot's current alliance viaSupplier.get(). - ExtRotation(double) - Constructor for class org.team1126.lib.math.geometry.ExtRotation
-
Creates an extended
Rotation2d. - ExtRotation(double, double) - Constructor for class org.team1126.lib.math.geometry.ExtRotation
-
Creates an extended
Rotation2d. - ExtRotation(Rotation2d) - Constructor for class org.team1126.lib.math.geometry.ExtRotation
-
Creates an extended
Rotation2d. - ExtTranslation - Class in org.team1126.lib.math.geometry
-
A container for
Translation2dobjects that enables live tuning via NetworkTables, and dynamically returns flipped variants of the original translation based on the robot's current alliance viaSupplier.get(). - ExtTranslation(double, double) - Constructor for class org.team1126.lib.math.geometry.ExtTranslation
-
Creates an extended
Translation2d. - ExtTranslation(double, Rotation2d) - Constructor for class org.team1126.lib.math.geometry.ExtTranslation
-
Creates an extended
Translation2d. - ExtTranslation(Translation2d) - Constructor for class org.team1126.lib.math.geometry.ExtTranslation
-
Creates an extended
Translation2d.
F
- failures - Variable in class org.team1126.lib.swerve.SwerveState.OdometryThread
-
The number of failing odometry measurements since the last loop.
- FEEDER_MOTOR - Static variable in class org.team1126.robot.Constants
- feedShooter() - Method in class org.team1126.robot.subsystems.Shooter
- feedShooter() - Method in class org.team1126.robot.subsystems.Storage
- Field - Class in org.team1126.robot.util
-
Field locations and utilities.
- FIELD_CENTER_Y - Static variable in class org.team1126.robot.util.Field
-
HUB Center Y Coordinate
- FieldFlip - Class in org.team1126.lib.math
-
Utility class for flipping field locations across lines of symmetry.
- FieldInfo - Class in org.team1126.lib.math
-
Retrieves information about the playing field from an AprilTag field layout.
- FieldInfo.SymmetryType - Enum Class in org.team1126.lib.math
-
Specifies the direction in which the field is symmetric.
- FIVE_SIXTHS_PI - Static variable in class org.team1126.lib.math.Math2
-
5PI/6(150deg) - FL_ENCODER - Static variable in class org.team1126.robot.Constants.LowerCAN
- FL_MOVE - Static variable in class org.team1126.robot.Constants.LowerCAN
- FL_TURN - Static variable in class org.team1126.robot.Constants.LowerCAN
- flames(boolean) - Method in class org.team1126.robot.subsystems.Lights.Sides
-
Displays the flames animation.
- FR_ENCODER - Static variable in class org.team1126.robot.Constants.LowerCAN
- FR_MOVE - Static variable in class org.team1126.robot.Constants.LowerCAN
- FR_TURN - Static variable in class org.team1126.robot.Constants.LowerCAN
- fromDegrees(double) - Static method in class org.team1126.lib.math.geometry.ExtRotation
-
Constructs and returns an extended
Rotation2dwith the given degree value. - fromRadians(double) - Static method in class org.team1126.lib.math.geometry.ExtRotation
-
Constructs and returns an extended
Rotation2dwith the given radian value. - fromRotations(double) - Static method in class org.team1126.lib.math.geometry.ExtRotation
-
Constructs and returns an extended
Rotation2dwith the given rotations value. - FuelLocalization - Class in org.team1126.robot.util
G
- get() - Method in class org.team1126.lib.math.geometry.ExtPose
-
Gets the value for the robot's current alliance.
- get() - Method in class org.team1126.lib.math.geometry.ExtRotation
-
Gets the value for the robot's current alliance.
- get() - Method in class org.team1126.lib.math.geometry.ExtTranslation
-
Gets the value for the robot's current alliance.
- get() - Method in class org.team1126.lib.tunable.Tunables.TunableBoolean
-
Returns the value of the tunable.
- get() - Method in class org.team1126.lib.tunable.Tunables.TunableDouble
-
Returns the value of the tunable.
- get() - Method in class org.team1126.lib.tunable.Tunables.TunableFloat
-
Returns the value of the tunable.
- get() - Method in class org.team1126.lib.tunable.Tunables.TunableInteger
-
Returns the value of the tunable.
- get() - Method in class org.team1126.lib.tunable.Tunables.TunableString
-
Returns the value of the tunable.
- get() - Method in class org.team1126.lib.util.Mutable
-
Gets the current value.
- get(boolean) - Method in class org.team1126.lib.math.geometry.ExtPose
-
Gets the value for the robot's current alliance.
- get(boolean) - Method in class org.team1126.lib.math.geometry.ExtRotation
-
Gets the value for the robot's current alliance.
- get(boolean) - Method in class org.team1126.lib.math.geometry.ExtTranslation
-
Gets the value for the robot's current alliance.
- get(boolean, boolean) - Method in class org.team1126.lib.math.geometry.ExtPose
-
Gets the value for the specified alliance.
- get(boolean, boolean) - Method in class org.team1126.lib.math.geometry.ExtRotation
-
Gets the value for the specified alliance.
- get(boolean, boolean) - Method in class org.team1126.lib.math.geometry.ExtTranslation
-
Gets the value for the specified alliance.
- getAPI() - Method in class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder
-
Returns the device's underlying API.
- getAPI() - Method in class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
-
Returns the device's underlying API.
- getAPI() - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Returns the device's underlying API.
- getBackend() - Static method in class org.team1126.lib.logging.EpilogueProxy
-
Returns the configured backend.
- getBlue() - Method in class org.team1126.lib.math.geometry.ExtPose
-
Gets the value for the blue alliance.
- getBlue() - Method in class org.team1126.lib.math.geometry.ExtRotation
-
Gets the value for the blue alliance.
- getBlue() - Method in class org.team1126.lib.math.geometry.ExtTranslation
-
Gets the value for the blue alliance.
- getBlue(boolean) - Method in class org.team1126.lib.math.geometry.ExtPose
-
Gets the value for the blue alliance.
- getBlue(boolean) - Method in class org.team1126.lib.math.geometry.ExtRotation
-
Gets the value for the blue alliance.
- getBlue(boolean) - Method in class org.team1126.lib.math.geometry.ExtTranslation
-
Gets the value for the blue alliance.
- getConfig() - Static method in class org.team1126.lib.logging.EpilogueProxy
-
Gets the current epilogue configuration.
- getFieldTags() - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Get the AprilTagFieldLayout being used by the PositionEstimator.
- getForceMagnitude(double) - Method in class org.team1126.lib.math.PAPFController.Obstacle
-
Converts a distance from the obstacle to the strength of the force.
- getFuelPose() - Method in class org.team1126.robot.subsystems.Swerve
- getGoal() - Method in class org.team1126.lib.math.PAPFController
-
Returns the current goal of the controller from the last invocation of
PAPFController.calculate(). - getLogger(Object) - Static method in class org.team1126.lib.logging.EpilogueProxy
-
Generates a logging function for the provided object via reflection.
- getNested() - Method in class org.team1126.lib.logging.revlib.structs.SparkBaseStruct
- getNested(String) - Static method in class org.team1126.lib.tunable.Tunables
-
Gets a table that can be used to add nested tunable values under a specified path.
- getNested(String) - Method in class org.team1126.lib.tunable.TunableTable
-
Gets a table that can be used to add nested tunable values under a specified path.
- getPitch() - Method in class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
-
Gets the IMU's absolute pitch.
- getPose() - Method in class org.team1126.robot.subsystems.Swerve
-
Returns the current blue origin relative pose of the robot.
- getPosition() - Method in class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder
-
Gets the encoder's position in rotations.
- getPosition() - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Gets the motor's position in rotations.
- getPrediction() - Method in class org.team1126.lib.math.PAPFController
-
Returns the current predicted motion of the robot from the last invocation of
PAPFController.calculate(). - getPrimaryStrategy() - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Get the Position Estimation Strategy being used by the Position Estimator.
- getRed() - Method in class org.team1126.lib.math.geometry.ExtPose
-
Gets the value for the red alliance.
- getRed() - Method in class org.team1126.lib.math.geometry.ExtRotation
-
Gets the value for the red alliance.
- getRed() - Method in class org.team1126.lib.math.geometry.ExtTranslation
-
Gets the value for the red alliance.
- getRed(boolean) - Method in class org.team1126.lib.math.geometry.ExtPose
-
Gets the value for the red alliance.
- getRed(boolean) - Method in class org.team1126.lib.math.geometry.ExtRotation
-
Gets the value for the red alliance.
- getRed(boolean) - Method in class org.team1126.lib.math.geometry.ExtTranslation
-
Gets the value for the red alliance.
- getReferencePose() - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Return the reference position that is being used by the estimator.
- getRobotToCameraTransform() - Method in class org.team1126.robot.util.PhotonPoseEstimator
- getRoll() - Method in class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
-
Gets the IMU's absolute roll.
- getRootBackend() - Static method in class org.team1126.lib.logging.EpilogueProxy
-
Gets the configured root backend.
- getSchema() - Method in class org.team1126.lib.logging.revlib.structs.SparkBaseStruct
- getSchema() - Method in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- getSchema() - Method in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- getSelected() - Method in class org.team1126.lib.util.command.AutoChooser
-
Returns the command of the currently selected auto.
- getSetpoint() - Method in class org.team1126.lib.math.PAPFController
-
Returns the current setpoint of the controller from the last invocation of
PAPFController.calculate(). - getSignals() - Method in class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder
-
Returns all Phoenix status signals in use by the hardware.
- getSignals() - Method in class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
-
Returns all Phoenix status signals in use by the hardware.
- getSignals() - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Returns all Phoenix status signals in use by the hardware.
- getSize() - Method in class org.team1126.lib.logging.revlib.structs.SparkBaseStruct
- getSize() - Method in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- getSize() - Method in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- getState() - Method in class org.team1126.robot.subsystems.Shooter
- getTagModel() - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Get the TargetModel representing the tags being detected.
- getTareRotation() - Method in enum class org.team1126.lib.swerve.Perspective
-
Gets the rotation to apply as the new zero when taring the robot's rotation to the perspective.
- getTypeClass() - Method in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- getTypeClass() - Method in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- getTypeName() - Method in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- getTypeName() - Method in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- getUnreadResults(List<TimestampedPose>, Pose2d, double) - Method in class org.team1126.robot.util.Vision
-
Gets unread results from all cameras.
- getVelocity() - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Gets the motor's velocity in rotations/second.
- getVelocity() - Method in class org.team1126.robot.subsystems.Swerve
-
Returns the directionless measured velocity of the robot, in m/s.
- getYaw() - Method in class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
-
Gets the IMU's absolute yaw.
- gooseAssassination() - Method in class org.team1126.robot.subsystems.Lights.Top
-
Displays that the goose has been killed.
- GRRSubsystem - Class in org.team1126.lib.util.command
-
A
Subsystemimplementation. - GRRSubsystem() - Constructor for class org.team1126.lib.util.command.GRRSubsystem
H
- HALF_PI - Static variable in class org.team1126.lib.math.Math2
-
PI/2(90deg) - hashCode() - Method in record class org.team1126.lib.math.geometry.TimestampedPose
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.team1126.lib.math.geometry.VisionMeasurement
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder.HookStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.team1126.robot.util.PhotonPoseEstimator.ConstrainedSolvepnpParams
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.team1126.robot.util.Vision.CameraConfig
-
Returns a hash code value for this object.
- headingFree() - Method in record class org.team1126.robot.util.PhotonPoseEstimator.ConstrainedSolvepnpParams
-
Returns the value of the
headingFreerecord component. - headingScaleFactor() - Method in record class org.team1126.robot.util.PhotonPoseEstimator.ConstrainedSolvepnpParams
-
Returns the value of the
headingScaleFactorrecord component. - hookStatus() - Method in class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder
-
Some motor controllers can be configured to use external encoders as a feedback device for closed-loop control.
- HookStatus(boolean, boolean) - Constructor for record class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder.HookStatus
-
Creates an instance of a
HookStatusrecord class. - HUB - Static variable in class org.team1126.robot.util.Field
-
Picking the center of the hub as the hub's location, for the purpose of aiming.
- HUB_CENTER_X - Static variable in class org.team1126.robot.util.Field
-
Center X of the hub is half way between AT26 and AT20.
- HUB_CENTER_Y - Static variable in class org.team1126.robot.util.Field
-
AT26 Y point is the center Y for the hub.
- HUB_WIDTH - Static variable in class org.team1126.robot.util.Field
-
The width of the hub as indicated on field maps.
I
- imu - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The IMU to use, generated by the
SwerveIMUsclass. - in(Object, String) - Static method in class org.team1126.lib.util.DisableWatchdog
-
Disables a
Watchdoginstance within the specified object. - init(TunableTable, T) - Method in interface org.team1126.lib.tunable.Tunables.TunableHandler
-
This method should implement the setup for an object to be tunable.
- initialize() - Method in class org.team1126.lib.util.command.CommandBuilder
- initTunable(TunableTable) - Method in class org.team1126.lib.math.geometry.ExtPose
- initTunable(TunableTable) - Method in class org.team1126.lib.math.geometry.ExtRotation
- initTunable(TunableTable) - Method in class org.team1126.lib.math.geometry.ExtTranslation
- initTunable(TunableTable) - Method in class org.team1126.lib.math.PAPFController
- initTunable(TunableTable) - Method in class org.team1126.lib.swerve.SwerveAPI
- initTunable(TunableTable) - Method in interface org.team1126.lib.tunable.Tunables.Tunable
-
Initializes the object to be tuned.
- inNeutralZone() - Method in class org.team1126.robot.subsystems.Swerve
-
Checks if the origin of the robot is in the neutral zone (between the blue zone and the red zone).
- inOurZone() - Method in class org.team1126.robot.subsystems.Swerve
-
Checks if the origin of the robot is in our alliance's zone (the blue zone if we are on the blue alliance, and the red zone if we are on the red alliance).
- inTheirZone() - Method in class org.team1126.robot.subsystems.Swerve
-
Checks if the origin of the robot is in the opposing alliance's zone (the red zone if we are on the blue alliance, and the blue zone if we are on the red alliance).
- isBlue() - Static method in class org.team1126.lib.util.Alliance
-
Returns
trueif the robot is on the blue alliance, andfalseif the robot is on the red alliance. - isFinished() - Method in class org.team1126.lib.util.command.CommandBuilder
- isFinished(boolean) - Method in class org.team1126.lib.util.command.CommandBuilder
-
Whether the command has finished.
- isFinished(BooleanSupplier) - Method in class org.team1126.lib.util.command.CommandBuilder
-
Whether the command has finished.
- isImmutable() - Method in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- isImmutable() - Method in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- isNear(Rotation2d, Rotation2d, double) - Static method in class org.team1126.lib.math.Math2
-
Checks if the angle between two
Rotation2ds is within a specified tolerance. - isNear(Translation2d, Translation2d, double) - Static method in class org.team1126.lib.math.Math2
-
Checks if the distance between two
Translation2ds is within a specified tolerance. - isReady() - Method in class org.team1126.robot.subsystems.Shooter
-
Finds out if the shooter has reached enough speed to shoot
- isRed() - Static method in class org.team1126.lib.util.Alliance
-
Returns
trueif the robot is on the red alliance, andfalseif the robot is on the blue alliance. - isRunning() - Static method in class org.team1126.lib.logging.Profiler
-
Determines if the profiler is currently running.
K
- kIdle - Enum constant in enum class org.team1126.robot.subsystems.Shooter.ShooterStates
- kShooting - Enum constant in enum class org.team1126.robot.subsystems.Shooter.ShooterStates
L
- lastTarget - Variable in class org.team1126.lib.swerve.SwerveState.Modules
-
The last target states of the modules.
- latencyCompensate(double, double, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the provided frame using the
slopeto determine the magnitude of the compensation. - latencyCompensate(DoubleFrame<Double>, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the provided frame using the
slopeto determine the magnitude of the compensation. - latencyCompensate(Frame<Double>, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the provided frame using the
slopeto determine the magnitude of the compensation. - latencyCompensateQuaternionPitch(QuaternionFrame, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the pitch of the provided quaternion frame using the
slopeto determine the magnitude of the compensation. - latencyCompensateQuaternionRoll(QuaternionFrame, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the roll of the provided quaternion frame using the
slopeto determine the magnitude of the compensation. - latencyCompensateQuaternionYaw(QuaternionFrame, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the yaw of the provided quaternion frame using the
slopeto determine the magnitude of the compensation. - latencyCompensateVec3X(Vec3Frame, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the X component of the provided 3D vector frame using the
slopeto determine the magnitude of the compensation. - latencyCompensateVec3Y(Vec3Frame, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the Y component of the provided 3D vector frame using the
slopeto determine the magnitude of the compensation. - latencyCompensateVec3Z(Vec3Frame, double) - Static method in class org.team1126.lib.util.vendors.ReduxUtil
-
Performs latency compensation on the Z component of the provided 3D vector frame using the
slopeto determine the magnitude of the compensation. - LateralObstacle(double, double, double) - Constructor for class org.team1126.lib.math.PAPFController.LateralObstacle
-
Creates a lateral obstacle.
- LateralObstacle(double, double, double, PAPFController.ForceHeuristic) - Constructor for class org.team1126.lib.math.PAPFController.LateralObstacle
-
Creates a lateral obstacle.
- length() - Static method in class org.team1126.lib.math.FieldInfo
-
Returns the length (X-axis) of the field in meters.
- lights - Variable in class org.team1126.robot.Robot
- Lights - Class in org.team1126.robot.subsystems
- Lights() - Constructor for class org.team1126.robot.subsystems.Lights
- LIGHTS - Static variable in class org.team1126.robot.Constants.RioIO
- Lights.Sides - Class in org.team1126.robot.subsystems
- Lights.Top - Class in org.team1126.robot.subsystems
- lightsPreMatch(BooleanSupplier) - Method in class org.team1126.robot.commands.Routines
-
Displays the pre-match animation.
- LineObstacle(Translation2d, Translation2d, boolean, double, double) - Constructor for class org.team1126.lib.math.PAPFController.LineObstacle
-
Creates a line obstacle.
- LineObstacle(Translation2d, Translation2d, boolean, double, double, PAPFController.ForceHeuristic) - Constructor for class org.team1126.lib.math.PAPFController.LineObstacle
-
Creates a line obstacle.
- LineObstacle(Translation2d, Translation2d, double, double) - Constructor for class org.team1126.lib.math.PAPFController.LineObstacle
-
Creates a line obstacle.
- LineObstacle(Translation2d, Translation2d, double, double, PAPFController.ForceHeuristic) - Constructor for class org.team1126.lib.math.PAPFController.LineObstacle
-
Creates a line obstacle.
- location - Variable in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
The module's location relative to the center of the robot.
- LoggedRobot - Class in org.team1126.lib.logging
-
LoggedRobot implements the IterativeRobotBase robot program framework, and is intended to be subclassed by a user creating a robot program.
- LoggedRobot() - Constructor for class org.team1126.lib.logging.LoggedRobot
-
Constructor for LoggedRobot.
- LoggedRobot(double) - Constructor for class org.team1126.lib.logging.LoggedRobot
-
Constructor for LoggedRobot.
- LongitudinalObstacle(double, double, double) - Constructor for class org.team1126.lib.math.PAPFController.LongitudinalObstacle
-
Creates a longitudinal obstacle.
- LongitudinalObstacle(double, double, double, PAPFController.ForceHeuristic) - Constructor for class org.team1126.lib.math.PAPFController.LongitudinalObstacle
-
Creates a longitudinal obstacle.
- LOWER_CAN - Static variable in class org.team1126.robot.Constants.LowerCAN
- LowerCAN() - Constructor for class org.team1126.robot.Constants.LowerCAN
M
- main(String...) - Static method in class org.team1126.robot.Main
- Main - Class in org.team1126.robot
- matchData - Variable in class org.team1126.robot.Robot
- MatchData - Class in org.team1126.robot.util
- MatchData() - Constructor for class org.team1126.robot.util.MatchData
- matchTime() - Static method in class org.team1126.robot.Robot
-
Returns the current match time in seconds.
- Math2 - Class in org.team1126.lib.math
-
General math utilities.
- MIRROR - Enum constant in enum class org.team1126.lib.math.FieldInfo.SymmetryType
-
The field is symmetric over its length.
- modules - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
Configurations for swerve modules.
- modules - Variable in class org.team1126.lib.swerve.SwerveState
-
Information about module states and positions.
- moveBrakeMode - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
If the move motors should have brake mode enabled.
- moveFF - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
Feed forward gains for move motors, as a tuple of
[kS, kV]. - moveGearRatio - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The move gear ratio, in motor rotations/wheel rotation.
- moveMotor - Variable in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
The move motor to use, generated by the
SwerveMotorsclass. - moveMotor(boolean) - Method in class org.team1126.robot.subsystems.Storage
- moveMotorCommand(boolean) - Method in class org.team1126.robot.subsystems.Storage
- movePID - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
PID gains for move motors, as a tuple of
[kP, kI, kD]. - moveStatorLimit - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The stator current limit in amps for move motors.
- moveSupplyLimit - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The supply current limit in amps for move motors.
- ms(double) - Static method in class org.team1126.lib.util.Sleep
-
Sleeps the thread for the specified duration in milliseconds.
- ms(double, boolean) - Static method in class org.team1126.lib.util.Sleep
-
Sleeps the thread for the specified duration in milliseconds.
- Mutable<T> - Class in org.team1126.lib.util
-
A simple mutable object that stores a value.
- Mutable(T) - Constructor for class org.team1126.lib.util.Mutable
-
Create the mutable object.
N
- name - Variable in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
The name of the module.
- name() - Method in record class org.team1126.robot.util.Vision.CameraConfig
-
Returns the value of the
namerecord component. - newSelection() - Method in class org.team1126.lib.util.command.AutoChooser
-
Returns a
Triggerthat risestruefor one cycle after an auto is selected. - nextTarget - Variable in class org.team1126.lib.swerve.SwerveState.Modules
-
The next target states of the modules.
O
- OBJ_DETECTION_CAMERA_CONFIG - Static variable in class org.team1126.robot.Constants
- Obstacle(double, double) - Constructor for class org.team1126.lib.math.PAPFController.Obstacle
-
Creates an obstacle.
- Obstacle(double, double, PAPFController.ForceHeuristic) - Constructor for class org.team1126.lib.math.PAPFController.Obstacle
-
Creates an obstacle.
- OBSTACLES - Static variable in class org.team1126.robot.util.Field
-
Obstacles for the P-APF.
- odometryPeriod - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The period to update odometry in seconds.
- odometryPose - Variable in class org.team1126.lib.swerve.SwerveState
-
The uncorrected blue origin relative odometry pose of the robot.
- odometryStdDevs - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
Standard deviations for odometry.
- odometryThread - Variable in class org.team1126.lib.swerve.SwerveState
-
The state of the odometry thread.
- of(Time) - Static method in class org.team1126.lib.util.Sleep
-
Sleeps the thread for the specified duration.
- of(Time, boolean) - Static method in class org.team1126.lib.util.Sleep
-
Sleeps the thread for the specified duration.
- off() - Method in class org.team1126.robot.subsystems.Lights.Sides
-
Turns the lights off.
- off() - Method in class org.team1126.robot.subsystems.Lights.Top
-
Turns the lights off.
- OFFSET - Static variable in class org.team1126.robot.subsystems.Swerve
- onEnd(BooleanConsumer) - Method in class org.team1126.lib.util.command.CommandBuilder
-
The action to take when the command ends.
- onEnd(Runnable) - Method in class org.team1126.lib.util.command.CommandBuilder
-
The action to take when the command ends.
- onExecute(Runnable) - Method in class org.team1126.lib.util.command.CommandBuilder
-
The main body of a command.
- onInitialize(Runnable) - Method in class org.team1126.lib.util.command.CommandBuilder
-
The initial subroutine of a command.
- OPERATOR - Enum constant in enum class org.team1126.lib.swerve.Perspective
-
The speeds are relative to the operator's perspective.
- org.team1126.lib.logging - package org.team1126.lib.logging
- org.team1126.lib.logging.java - package org.team1126.lib.logging.java
- org.team1126.lib.logging.phoenix - package org.team1126.lib.logging.phoenix
- org.team1126.lib.logging.reduxlib - package org.team1126.lib.logging.reduxlib
- org.team1126.lib.logging.revlib - package org.team1126.lib.logging.revlib
- org.team1126.lib.logging.revlib.structs - package org.team1126.lib.logging.revlib.structs
- org.team1126.lib.logging.wpilibj - package org.team1126.lib.logging.wpilibj
- org.team1126.lib.logging.wpimath - package org.team1126.lib.logging.wpimath
- org.team1126.lib.math - package org.team1126.lib.math
- org.team1126.lib.math.geometry - package org.team1126.lib.math.geometry
- org.team1126.lib.swerve - package org.team1126.lib.swerve
- org.team1126.lib.swerve.config - package org.team1126.lib.swerve.config
- org.team1126.lib.swerve.hardware - package org.team1126.lib.swerve.hardware
- org.team1126.lib.tunable - package org.team1126.lib.tunable
- org.team1126.lib.util - package org.team1126.lib.util
- org.team1126.lib.util.command - package org.team1126.lib.util.command
- org.team1126.lib.util.vendors - package org.team1126.lib.util.vendors
- org.team1126.robot - package org.team1126.robot
- org.team1126.robot.commands - package org.team1126.robot.commands
- org.team1126.robot.subsystems - package org.team1126.robot.subsystems
- org.team1126.robot.util - package org.team1126.robot.util
- original - Variable in class org.team1126.lib.math.geometry.ExtPose
- original - Variable in class org.team1126.lib.math.geometry.ExtRotation
- original - Variable in class org.team1126.lib.math.geometry.ExtTranslation
- overDiagonal - Variable in class org.team1126.lib.math.geometry.ExtPose
- overDiagonal - Variable in class org.team1126.lib.math.geometry.ExtRotation
- overDiagonal - Variable in class org.team1126.lib.math.geometry.ExtTranslation
- overDiagonal(Pose2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Pose2dover the field's diagonal (i.e. - overDiagonal(Rotation2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Rotation2dover the field's diagonal (i.e. - overDiagonal(Translation2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Translation2dover the field's diagonal (i.e. - overLength - Variable in class org.team1126.lib.math.geometry.ExtPose
- overLength - Variable in class org.team1126.lib.math.geometry.ExtRotation
- overLength - Variable in class org.team1126.lib.math.geometry.ExtTranslation
- overLength(Pose2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Pose2dover the length of the field (i.e. - overLength(Rotation2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Rotation2dover the length of the field (i.e. - overLength(Translation2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Translation2dover the length of the field (i.e. - overWidth - Variable in class org.team1126.lib.math.geometry.ExtPose
- overWidth - Variable in class org.team1126.lib.math.geometry.ExtRotation
- overWidth - Variable in class org.team1126.lib.math.geometry.ExtTranslation
- overWidth(Pose2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Pose2dover the width of the field (i.e. - overWidth(Rotation2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Rotation2dover the width of the field (i.e. - overWidth(Translation2d) - Static method in class org.team1126.lib.math.FieldFlip
-
Flips the provided
Translation2dover the width of the field (i.e.
P
- pack(ByteBuffer, Integer) - Method in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- pack(ByteBuffer, Integer) - Method in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- pack(ByteBuffer, T) - Method in class org.team1126.lib.logging.revlib.structs.SparkBaseStruct
- PAPFController - Class in org.team1126.lib.math
-
Implements a predictive artificial potential field (P-APF), capable of real-time motion planning with obstacle avoidance.
- PAPFController(double, double, double, boolean, PAPFController.GoalHeuristic, PAPFController.Obstacle[]) - Constructor for class org.team1126.lib.math.PAPFController
-
Creates a new P-APF controller.
- PAPFController(double, double, double, boolean, PAPFController.Obstacle[]) - Constructor for class org.team1126.lib.math.PAPFController
-
Creates a new P-APF controller.
- PAPFController.CircleObstacle - Class in org.team1126.lib.math
-
A circle with a specified radius.
- PAPFController.ForceHeuristic - Interface in org.team1126.lib.math
-
Represents a heuristic for transforming the force profile of an obstacle.
- PAPFController.GoalHeuristic - Interface in org.team1126.lib.math
-
Represents a heuristic for calculating the strength of the attractive force generated by the goal location.
- PAPFController.LateralObstacle - Class in org.team1126.lib.math
-
An infinite line that pushes parallel to the Y axis, to constrain left/right field-relative movement.
- PAPFController.LineObstacle - Class in org.team1126.lib.math
-
A line segment that pushes perpendicular from its length.
- PAPFController.LongitudinalObstacle - Class in org.team1126.lib.math
-
An infinite line that pushes parallel to the X axis, to constrain forwards/backwards field-relative movement.
- PAPFController.Obstacle - Class in org.team1126.lib.math
-
A generic obstacle.
- PAPFController.PointObstacle - Class in org.team1126.lib.math
-
A simple point obstacle.
- period - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The robot's main loop period in seconds.
- periodic() - Method in class org.team1126.robot.subsystems.Shooter
- periodic() - Method in class org.team1126.robot.subsystems.Swerve
- Perspective - Enum Class in org.team1126.lib.swerve
-
Describes a forward (X+ direction) perspective for
ChassisSpeeds. - phoenixCanBus - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The CAN bus utilized by Phoenix devices.
- phoenixMoveFOC - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
If move motors should enable FOC.
- phoenixPro - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
trueif Phoenix Pro is active on all devices used by the swerve API. - phoenixTurnFOC - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
If turn motors should enable FOC.
- PhoenixUtil - Class in org.team1126.lib.util.vendors
-
Utilities for the CTRE Phoenix 6 API.
- PhotonPoseEstimator - Class in org.team1126.robot.util
-
The PhotonPoseEstimator class filters or combines readings from all the AprilTags visible at a given timestamp on the field to produce a single robot in field pose, using the strategy set below.
- PhotonPoseEstimator(AprilTagFieldLayout, PhotonPoseEstimator.PoseStrategy, Transform3d) - Constructor for class org.team1126.robot.util.PhotonPoseEstimator
-
Create a new PhotonPoseEstimator.
- PhotonPoseEstimator.ConstrainedSolvepnpParams - Record Class in org.team1126.robot.util
-
Tuning handles we have over the CONSTRAINED_SOLVEPNP.
- PIDControllerLogger - Class in org.team1126.lib.logging.wpimath
- PIDControllerLogger() - Constructor for class org.team1126.lib.logging.wpimath.PIDControllerLogger
- pigeon2(int) - Static method in class org.team1126.lib.swerve.hardware.SwerveIMUs
-
Configures a
Pigeon2. - Pigeon2Logger - Class in org.team1126.lib.logging.phoenix
- Pigeon2Logger() - Constructor for class org.team1126.lib.logging.phoenix.Pigeon2Logger
- pitch - Variable in class org.team1126.lib.swerve.SwerveState
-
The robot's pitch.
- pivot - Static variable in class org.team1126.robot.util.Field
-
Inline with the trench (to pass through), so facing opposite of april tag.
- pivot(boolean) - Method in class org.team1126.robot.commands.Routines
- PIVOT_X - Static variable in class org.team1126.robot.util.Field
-
X location of pivot point, relative to blue, right.
- PIVOT_Y - Static variable in class org.team1126.robot.util.Field
-
Y location of pivot point, relative to blue, right.
- PointObstacle(Translation2d, double, double) - Constructor for class org.team1126.lib.math.PAPFController.PointObstacle
-
Creates a point obstacle.
- PointObstacle(Translation2d, double, double, PAPFController.ForceHeuristic) - Constructor for class org.team1126.lib.math.PAPFController.PointObstacle
-
Creates a point obstacle.
- poll() - Method in class org.team1126.lib.tunable.Tunables.TunableBoolean
- poll() - Method in class org.team1126.lib.tunable.Tunables.TunableDouble
- poll() - Method in class org.team1126.lib.tunable.Tunables.TunableFloat
- poll() - Method in class org.team1126.lib.tunable.Tunables.TunableInteger
- poll() - Method in class org.team1126.lib.tunable.Tunables.TunableString
- pose - Variable in class org.team1126.lib.swerve.SwerveState
-
The current blue origin relative pose of the robot.
- pose() - Method in record class org.team1126.lib.math.geometry.TimestampedPose
-
Returns the value of the
poserecord component. - pose() - Method in record class org.team1126.lib.math.geometry.VisionMeasurement
-
Returns the value of the
poserecord component. - poseCacheTimestampSeconds - Variable in class org.team1126.robot.util.PhotonPoseEstimator
- poseHistory - Variable in class org.team1126.lib.swerve.SwerveState
-
All pose estimates from the odometry thread since the
SwerveStatehas been refreshed. - positions - Variable in class org.team1126.lib.swerve.SwerveState.Modules
-
The current measured module positions.
- preMatch(BooleanSupplier) - Method in class org.team1126.robot.subsystems.Lights.Sides
-
Displays the pre-match animation.
- preMatch(Supplier<Pose2d>, BooleanSupplier) - Method in class org.team1126.robot.subsystems.Lights.Top
-
Displays the pre-match animation.
- preMatch(Supplier<Pose2d>, BooleanSupplier, BooleanSupplier) - Method in class org.team1126.robot.subsystems.Lights
-
Displays the pre-match animation.
- ProfiledPIDControllerLogger - Class in org.team1126.lib.logging.wpimath
- ProfiledPIDControllerLogger() - Constructor for class org.team1126.lib.logging.wpimath.ProfiledPIDControllerLogger
- Profiler - Class in org.team1126.lib.logging
-
A simple pseudo call-graph profiler that publishes timings to NetworkTables.
Q
- QUARTER_PI - Static variable in class org.team1126.lib.math.Math2
-
PI/4(45deg)
R
- random(double) - Static method in class org.team1126.lib.math.Math2
-
Returns a random double from
0.0tomax. - random(double, double) - Static method in class org.team1126.lib.math.Math2
-
Returns a random double from
mintomax. - readError() - Method in class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder
-
If the device has encountered an error while reading inputs.
- readError() - Method in class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
-
If the device has encountered an error while reading inputs.
- readError() - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
If the device has encountered an error while reading inputs.
- readMotor() - Method in record class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder.HookStatus
-
Returns the value of the
readMotorrecord component. - readyShooter() - Method in class org.team1126.robot.subsystems.Shooter
- reapplyBrakeMode() - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Configures the motor's brake mode from the swerve config.
- reapplyGains() - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Re-applies PID and FF gains from the swerve config.
- RED - Enum constant in enum class org.team1126.lib.swerve.Perspective
-
The speeds are relative to the red alliance perspective.
- RED_ZONE - Static variable in class org.team1126.robot.util.Field
-
The X coordinate of the edge of the red ALLIANCE ZONE.
- ReduxUtil - Class in org.team1126.lib.util.vendors
-
Utilities for ReduxLib.
- refresh() - Method in class org.team1126.lib.swerve.SwerveAPI
-
Refreshes inputs from all swerve hardware.
- refuelFromDepot() - Method in class org.team1126.robot.commands.Routines
- refuelFromNeutral() - Method in class org.team1126.robot.commands.Routines
-
Method that allows us to go where we would expect to find fuel in the neutral zone.
- registerHandler(Class<T>, Tunables.TunableHandler<T>) - Static method in class org.team1126.lib.tunable.Tunables
-
Registers a handler for tuning objects.
- RelativeEncoderLogger - Class in org.team1126.lib.logging.revlib
- RelativeEncoderLogger() - Constructor for class org.team1126.lib.logging.revlib.RelativeEncoderLogger
- releaseAll() - Method in class org.team1126.robot.commands.Routines
- repulsorDrive(ChassisSpeeds, Pose2d) - Method in class org.team1126.lib.math.PAPFController
-
Utilizes the potential field to alter an arbitrary input chassis speed and minimize collisions with obstacles.
- reset() - Method in class org.team1126.robot.util.Vision
-
Resets cached measurements utilized by the pose estimators for seeding.
- resetOdometry() - Method in class org.team1126.robot.subsystems.Swerve
-
Hard reset of odometry to origin relative to blue origin.
- resetPose(Pose2d) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Resets the pose of the robot, inherently seeding field-relative movement.
- resetPose(Supplier<Pose2d>) - Method in class org.team1126.robot.subsystems.Swerve
-
Resets the pose of the robot, inherently seeding field-relative movement.
- RevUtil - Class in org.team1126.lib.util.vendors
-
Utilities for REVLib.
- RioCAN() - Constructor for class org.team1126.robot.Constants.RioCAN
- RioIO() - Constructor for class org.team1126.robot.Constants.RioIO
- Robot - Class in org.team1126.robot
- Robot() - Constructor for class org.team1126.robot.Robot
- ROBOT - Enum constant in enum class org.team1126.lib.swerve.Perspective
-
The speeds are relative to the robot's perspective.
- robotPeriodic() - Method in class org.team1126.lib.logging.LoggedRobot
- robotPeriodic() - Method in class org.team1126.robot.Robot
- roll - Variable in class org.team1126.lib.swerve.SwerveState
-
The robot's roll.
- ROTATE - Enum constant in enum class org.team1126.lib.math.FieldInfo.SymmetryType
-
The field is symmetric over its diagonal.
- rotation - Variable in class org.team1126.lib.swerve.SwerveState
-
The robot's rotation (yaw) as reported from the pose estimator.
- rotation() - Method in record class org.team1126.robot.util.Vision.CameraConfig
-
Returns the value of the
rotationrecord component. - routines - Variable in class org.team1126.robot.Robot
- Routines - Class in org.team1126.robot.commands
-
The Routines class contains command compositions, such as sequences or parallel command groups, that require multiple subsystems.
- Routines(Robot) - Constructor for class org.team1126.robot.commands.Routines
- RumbleCommand - Class in org.team1126.lib.util.command
-
A command that rumbles a controller while scheduled.
- RumbleCommand(GenericHID, double) - Constructor for class org.team1126.lib.util.command.RumbleCommand
-
Creates a new rumble command.
- RumbleCommand(GenericHID, GenericHID.RumbleType, double) - Constructor for class org.team1126.lib.util.command.RumbleCommand
-
Creates a new rumble command.
- RumbleCommand(CommandGenericHID, double) - Constructor for class org.team1126.lib.util.command.RumbleCommand
-
Creates a new rumble command.
- RumbleCommand(CommandGenericHID, GenericHID.RumbleType, double) - Constructor for class org.team1126.lib.util.command.RumbleCommand
-
Creates a new rumble command.
- run(String, SparkLowLevel, Supplier<REVLibError>) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Runs a REVLib API call and checks for errors.
- run(String, SparkLowLevel, Supplier<REVLibError>, int) - Static method in class org.team1126.lib.util.vendors.RevUtil
-
Runs a REVLib API call and checks for errors.
- run(String, Runnable) - Static method in class org.team1126.lib.logging.Profiler
-
Profiles a section of user code.
- run(String, Supplier<T>) - Static method in class org.team1126.lib.logging.Profiler
-
Profiles a section of user code.
- run(Supplier<StatusCode>) - Static method in class org.team1126.lib.util.vendors.PhoenixUtil
-
Runs a Phoenix API call and checks for errors.
- run(Supplier<StatusCode>, int) - Static method in class org.team1126.lib.util.vendors.PhoenixUtil
-
Runs a Phoenix API call and checks for errors.
- runsWhenDisabled() - Method in class org.team1126.lib.util.command.RumbleCommand
S
- seconds(double) - Static method in class org.team1126.lib.util.Sleep
-
Sleeps the thread for the specified duration in seconds.
- seconds(double, boolean) - Static method in class org.team1126.lib.util.Sleep
-
Sleeps the thread for the specified duration in seconds.
- seesAprilTag() - Method in class org.team1126.robot.subsystems.Swerve
-
Returns
trueif an AprilTag has been seen since the last robot loop. - set(boolean) - Method in class org.team1126.lib.tunable.Tunables.TunableBoolean
-
Sets the value of the tunable.
- set(double) - Method in class org.team1126.lib.tunable.Tunables.TunableDouble
-
Sets the value of the tunable.
- set(float) - Method in class org.team1126.lib.tunable.Tunables.TunableFloat
-
Sets the value of the tunable.
- set(int) - Method in class org.team1126.lib.tunable.Tunables.TunableInteger
-
Sets the value of the tunable.
- set(Pose2d) - Method in class org.team1126.lib.math.geometry.ExtPose
- set(Rotation2d) - Method in class org.team1126.lib.math.geometry.ExtRotation
- set(Translation2d) - Method in class org.team1126.lib.math.geometry.ExtTranslation
- set(String) - Method in class org.team1126.lib.tunable.Tunables.TunableString
-
Sets the value of the tunable.
- setBackend(EpilogueBackend) - Static method in class org.team1126.lib.logging.EpilogueProxy
-
Configures a new backend.
- setBrakeMode(boolean, boolean) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets motor brake modes.
- setBrakeMode(boolean, boolean) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Sets motor brake modes.
- setDriverProfile(double, double, double, double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Configures the profile to apply to speeds calculated using the driver's controller input.
- setEncoder(SwerveEncoders.SwerveEncoder.Ctor) - Method in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
Sets the encoder to use.
- setFieldTags(AprilTagFieldLayout) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Set the AprilTagFieldLayout being used by the PositionEstimator.
- setIMU(SwerveIMUs.SwerveIMU.Ctor) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets the IMU to use.
- setLastPose(Pose2d) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Update the stored last pose.
- setLastPose(Pose3d) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Update the stored last pose.
- setLayout(AprilTagFieldLayout, FieldInfo.SymmetryType) - Static method in class org.team1126.lib.math.FieldInfo
-
Sets a new AprilTag layout to retrieve field information from.
- setLayout(AprilTagFields) - Static method in class org.team1126.lib.math.FieldInfo
-
Loads a new AprilTag layout to retrieve field information from.
- setLayout(String, FieldInfo.SymmetryType) - Static method in class org.team1126.lib.math.FieldInfo
-
Loads a new AprilTag layout to retrieve field information from.
- setLimits(double, double, double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets limits for the drivetrain.
- setLocation(double, double) - Method in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
Sets the module's location relative to the center of the robot (in meters).
- setMechanicalProperties(double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets swerve gearing properties.
- setModules(SwerveModuleConfig...) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets module configs.
- setMoveFF(double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets feed forward constants for move motors.
- setMoveMotor(SwerveMotors.SwerveMotor.Ctor) - Method in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
Sets the move motor to use.
- setMovePID(double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets PID gains for move motors.
- setMultiTagFallbackStrategy(PhotonPoseEstimator.PoseStrategy) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Set the Position Estimation Strategy used in multi-tag mode when only one tag can be seen.
- setName(String) - Method in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
Sets the module's name.
- setOdometryStd(double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets the standard deviations for pose estimation from module odometry.
- setPhoenixFeatures(CANBus, boolean, boolean, boolean) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets available features for Phoenix devices.
- setPosition(double) - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Sets the motor's closed-loop position target.
- setPowerProperties(double, double, double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets power properties.
- setPrimaryStrategy(PhotonPoseEstimator.PoseStrategy) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Set the Position Estimation Strategy used by the Position Estimator.
- setReferencePose(Pose2d) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Update the stored reference pose for use when using the CLOSEST_TO_REFERENCE_POSE strategy.
- setReferencePose(Pose3d) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Update the stored reference pose for use when using the CLOSEST_TO_REFERENCE_POSE strategy.
- setRobotToCameraTransform(Transform3d) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Useful for pan and tilt mechanisms and such.
- setTagModel(TargetModel) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Set the TargetModel representing the tags being detected.
- setTimings(double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets all timings utilized by the drivetrain.
- setTimings(double, double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets various timings utilized by the drivetrain.
- setTurnMotor(SwerveMotors.SwerveMotor.Ctor) - Method in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
Sets the turn motor to use.
- setTurnPID(double, double, double) - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Sets PID gains for turn motors.
- setVelocity(double) - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Sets the motor's closed-loop velocity target.
- setVoltage(double) - Method in class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
-
Sets the motor's output voltage.
- shooter - Variable in class org.team1126.robot.Robot
- Shooter - Class in org.team1126.robot.subsystems
- Shooter() - Constructor for class org.team1126.robot.subsystems.Shooter
- SHOOTER_MOTOR - Static variable in class org.team1126.robot.Constants
- Shooter.ShooterStates - Enum Class in org.team1126.robot.subsystems
- shootFuel() - Method in class org.team1126.robot.commands.Routines
- shouldIShoot() - Static method in class org.team1126.robot.util.MatchData
- shouldLog(Logged.Importance) - Static method in class org.team1126.lib.logging.EpilogueProxy
-
Checks if data associated with a given importance level should be logged.
- sides - Variable in class org.team1126.robot.subsystems.Lights
- simulationPeriodic() - Method in class org.team1126.lib.logging.LoggedRobot
- SIXTH_PI - Static variable in class org.team1126.lib.math.Math2
-
PI/6(30deg) - Sleep - Class in org.team1126.lib.util
-
Utility class for sleeping the current thread, with the option to skip if in simulation.
- slipAccel - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The maximum acceleration the robot is capable of relevant to carpet slip in meters/second/second.
- SparkAbsoluteEncoderLogger - Class in org.team1126.lib.logging.revlib
- SparkAbsoluteEncoderLogger() - Constructor for class org.team1126.lib.logging.revlib.SparkAbsoluteEncoderLogger
- SparkAnalogSensorLogger - Class in org.team1126.lib.logging.revlib
- SparkAnalogSensorLogger() - Constructor for class org.team1126.lib.logging.revlib.SparkAnalogSensorLogger
- SparkBaseStruct<T> - Class in org.team1126.lib.logging.revlib.structs
- SparkBaseStruct() - Constructor for class org.team1126.lib.logging.revlib.structs.SparkBaseStruct
- SparkFaultsStruct - Class in org.team1126.lib.logging.revlib.structs
- SparkFaultsStruct() - Constructor for class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- sparkFlex(int, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveMotors
-
Configures a
Spark Flex. - sparkFlexEncoder(double, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveEncoders
-
Configures a Spark Flex attached duty cycle absolute encoder.
- SparkFlexLogger - Class in org.team1126.lib.logging.revlib
- SparkFlexLogger() - Constructor for class org.team1126.lib.logging.revlib.SparkFlexLogger
- SparkLimitSwitchLogger - Class in org.team1126.lib.logging.revlib
- SparkLimitSwitchLogger() - Constructor for class org.team1126.lib.logging.revlib.SparkLimitSwitchLogger
- sparkMax(int, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveMotors
-
Configures a
Spark Max. - sparkMaxEncoder(double, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveEncoders
-
Configures a Spark Max attached duty cycle absolute encoder.
- SparkMaxLogger - Class in org.team1126.lib.logging.revlib
- SparkMaxLogger() - Constructor for class org.team1126.lib.logging.revlib.SparkMaxLogger
- SparkWarningsStruct - Class in org.team1126.lib.logging.revlib.structs
- SparkWarningsStruct() - Constructor for class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- speeds - Variable in class org.team1126.lib.swerve.SwerveState
-
The current measured robot-relative speeds.
- spill() - Method in class org.team1126.robot.subsystems.Storage
- start(String) - Static method in class org.team1126.lib.logging.Profiler
-
Starts to profile a section of user code.
- startCompetition() - Method in class org.team1126.lib.logging.LoggedRobot
- state - Variable in class org.team1126.lib.swerve.SwerveAPI
- states - Variable in class org.team1126.lib.swerve.SwerveState.Modules
-
The current measured module states.
- stdDevs() - Method in record class org.team1126.lib.math.geometry.VisionMeasurement
-
Returns the value of the
stdDevsrecord component. - stop(boolean) - Method in class org.team1126.robot.subsystems.Swerve
-
Drives the modules to stop the robot from moving.
- storage - Variable in class org.team1126.robot.Robot
- Storage - Class in org.team1126.robot.subsystems
- Storage() - Constructor for class org.team1126.robot.subsystems.Storage
- STORAGE_MOTOR - Static variable in class org.team1126.robot.Constants
- struct - Static variable in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- struct - Static variable in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- successes - Variable in class org.team1126.lib.swerve.SwerveState.OdometryThread
-
The number of successful odometry measurements since the last loop.
- swerve - Variable in class org.team1126.robot.Robot
- Swerve - Class in org.team1126.robot.subsystems
-
The robot's swerve drivetrain.
- Swerve() - Constructor for class org.team1126.robot.subsystems.Swerve
- SwerveAPI - Class in org.team1126.lib.swerve
-
An implementation of a swerve drivetrain, with support for various hardware configurations.
- SwerveAPI(SwerveConfig) - Constructor for class org.team1126.lib.swerve.SwerveAPI
-
Create the drivetrain.
- SwerveAPILogger - Class in org.team1126.lib.swerve
- SwerveAPILogger() - Constructor for class org.team1126.lib.swerve.SwerveAPILogger
- SwerveConfig - Class in org.team1126.lib.swerve.config
-
Config builder for the
SwerveAPI. - SwerveConfig() - Constructor for class org.team1126.lib.swerve.config.SwerveConfig
- SwerveEncoder() - Constructor for class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder
- SwerveEncoders - Class in org.team1126.lib.swerve.hardware
-
Contains implementations for absolute encoders to be used with the
SwerveAPI. - SwerveEncoders.SwerveEncoder - Class in org.team1126.lib.swerve.hardware
-
A swerve module's absolute encoder.
- SwerveEncoders.SwerveEncoder.Ctor - Interface in org.team1126.lib.swerve.hardware
-
(config, turnMotor) -> SwerveEncoder - SwerveEncoders.SwerveEncoder.HookStatus - Record Class in org.team1126.lib.swerve.hardware
- SwerveIMU() - Constructor for class org.team1126.lib.swerve.hardware.SwerveIMUs.SwerveIMU
- SwerveIMUs - Class in org.team1126.lib.swerve.hardware
-
Contains implementations for IMUs to be used with the
SwerveAPI. - SwerveIMUs.SwerveIMU - Class in org.team1126.lib.swerve.hardware
-
A swerve IMU.
- SwerveIMUs.SwerveIMU.Ctor - Interface in org.team1126.lib.swerve.hardware
-
(config) -> SwerveIMU - SwerveIMUs.SwerveIMU.IMUSimHook - Interface in org.team1126.lib.swerve.hardware
-
Provides consumer to be saved and invoked periodically with the robot's current chassis speeds to update the simulated IMU.
- SwerveModuleConfig - Class in org.team1126.lib.swerve.config
-
Config builder for
SwerveAPImodules. - SwerveModuleConfig() - Constructor for class org.team1126.lib.swerve.config.SwerveModuleConfig
- SwerveMotor() - Constructor for class org.team1126.lib.swerve.hardware.SwerveMotors.SwerveMotor
- SwerveMotors - Class in org.team1126.lib.swerve.hardware
-
Contains implementations for motors to be used with the
SwerveAPI. - SwerveMotors.SwerveMotor - Class in org.team1126.lib.swerve.hardware
-
A swerve motor.
- SwerveMotors.SwerveMotor.Ctor - Interface in org.team1126.lib.swerve.hardware
-
(config, isMoveMotor) -> SwerveMotor - SwerveState - Class in org.team1126.lib.swerve
-
Represents the state of the robot's drivetrain.
- SwerveState.Modules - Class in org.team1126.lib.swerve
-
Contains information about swerve module states and positions.
- SwerveState.OdometryThread - Class in org.team1126.lib.swerve
-
Represents the state of the odometry thread.
- symmetryType() - Static method in class org.team1126.lib.math.FieldInfo
-
Returns the direction in which the field is symmetric.
T
- talonFX(int, boolean) - Static method in class org.team1126.lib.swerve.hardware.SwerveMotors
-
Configures a
TalonFX. - TalonFXLogger - Class in org.team1126.lib.logging.phoenix
- TalonFXLogger() - Constructor for class org.team1126.lib.logging.phoenix.TalonFXLogger
- TalonFXSLogger - Class in org.team1126.lib.logging.phoenix
- TalonFXSLogger() - Constructor for class org.team1126.lib.logging.phoenix.TalonFXSLogger
- tareRotation() - Method in class org.team1126.robot.subsystems.Swerve
-
Tares the rotation of the robot.
- tareRotation(Perspective) - Method in class org.team1126.lib.swerve.SwerveAPI
-
Tares the rotation of the robot.
- targetSpeeds - Variable in class org.team1126.lib.swerve.SwerveState
-
The next target robot-relative speeds.
- teleopPeriodic() - Method in class org.team1126.lib.logging.LoggedRobot
- testPeriodic() - Method in class org.team1126.lib.logging.LoggedRobot
- THIRD_PI - Static variable in class org.team1126.lib.math.Math2
-
PI/3(60deg) - THREE_QUARTERS_PI - Static variable in class org.team1126.lib.math.Math2
-
3PI/4(135deg) - timestamp - Variable in class org.team1126.lib.swerve.SwerveState
-
The timestamp of the swerve state in seconds (FPGA time).
- timestamp() - Method in record class org.team1126.lib.math.geometry.TimestampedPose
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class org.team1126.lib.math.geometry.VisionMeasurement
-
Returns the value of the
timestamprecord component. - TimestampedPose - Record Class in org.team1126.lib.math.geometry
-
Contains a
Pose2dalongside a timestamp in seconds. - TimestampedPose(Pose2d, double) - Constructor for record class org.team1126.lib.math.geometry.TimestampedPose
-
Creates an instance of a
TimestampedPoserecord class. - timesync - Variable in class org.team1126.lib.swerve.SwerveState.OdometryThread
-
If Phoenix timesync is being utilized.
- top - Variable in class org.team1126.robot.subsystems.Lights
- toPerspectiveSpeeds(ChassisSpeeds, Rotation2d) - Method in enum class org.team1126.lib.swerve.Perspective
-
Converts robot relative speeds to the perspective relative speeds.
- toRobotSpeeds(ChassisSpeeds, Rotation2d) - Method in enum class org.team1126.lib.swerve.Perspective
-
Converts perspective relative speeds to robot relative speeds.
- torqueAccel - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The maximum acceleration the robot is capable of relevant to motor torque in meters/second/second.
- toString() - Method in record class org.team1126.lib.math.geometry.TimestampedPose
-
Returns a string representation of this record class.
- toString() - Method in record class org.team1126.lib.math.geometry.VisionMeasurement
-
Returns a string representation of this record class.
- toString() - Method in record class org.team1126.lib.swerve.hardware.SwerveEncoders.SwerveEncoder.HookStatus
-
Returns a string representation of this record class.
- toString() - Method in record class org.team1126.robot.util.PhotonPoseEstimator.ConstrainedSolvepnpParams
-
Returns a string representation of this record class.
- toString() - Method in record class org.team1126.robot.util.Vision.CameraConfig
-
Returns a string representation of this record class.
- TOWER_DEPOT_FAR_CORNER - Static variable in class org.team1126.robot.util.Field
- TOWER_DEPOT_NEAR_CORNER - Static variable in class org.team1126.robot.util.Field
- TOWER_DEPOT_Y - Static variable in class org.team1126.robot.util.Field
-
Y coordinate of the depot side of the tower.
- TOWER_DEPTH - Static variable in class org.team1126.robot.util.Field
-
Depth of the tower base from the end wall to the edge of the plate.
- TOWER_FAR_X - Static variable in class org.team1126.robot.util.Field
-
X coordinate of the far edge of the tower base.
- TOWER_HALF_WIDTH - Static variable in class org.team1126.robot.util.Field
-
Half of the width of the tower base.
- TOWER_NEAR_X - Static variable in class org.team1126.robot.util.Field
-
X coordinate of the driver side wall for the tower base.
- TOWER_OUTPOST_FAR_CORNER - Static variable in class org.team1126.robot.util.Field
- TOWER_OUTPOST_NEAR_CORNER - Static variable in class org.team1126.robot.util.Field
- TOWER_OUTPOST_Y - Static variable in class org.team1126.robot.util.Field
-
Y coordinate of the outpost side of the tower.
- translation - Variable in class org.team1126.lib.swerve.SwerveState
-
The current blue origin relative translation of the robot.
- translation() - Method in record class org.team1126.robot.util.Vision.CameraConfig
-
Returns the value of the
translationrecord component. - Tunables - Class in org.team1126.lib.tunable
-
The Tunables class is used to construct tunable properties of the robot to be modified live via NetworkTables.
- Tunables() - Constructor for class org.team1126.lib.tunable.Tunables
- Tunables.Tunable - Interface in org.team1126.lib.tunable
-
Base interface for tunable objects.
- Tunables.TunableBoolean - Class in org.team1126.lib.tunable
-
A tunable boolean value.
- Tunables.TunableDouble - Class in org.team1126.lib.tunable
-
A tunable double value.
- Tunables.TunableFloat - Class in org.team1126.lib.tunable
-
A tunable float value.
- Tunables.TunableHandler<T> - Interface in org.team1126.lib.tunable
-
Interface for wrapping objects to be tunable.
- Tunables.TunableInteger - Class in org.team1126.lib.tunable
-
A tunable integer value.
- Tunables.TunableString - Class in org.team1126.lib.tunable
-
A tunable string value.
- TunableTable - Class in org.team1126.lib.tunable
-
A TunableTable represents a nested table of tunable values in the NetworkTables tree.
- turnBrakeMode - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
If the turn motors should have brake mode enabled.
- turnGearRatio - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The turn gear ratio, in motor rotations/module rotation.
- turnMotor - Variable in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
The turn motor to use, generated by the
SwerveMotorsclass. - turnPID - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
PID gains for turn motors, as a tuple of
[kP, kI, kD]. - turnStatorLimit - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The stator current limit in amps for turn motors.
- turnSupplyLimit - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The supply current limit in amps for turn motors.
- TWO_PI - Static variable in class org.team1126.lib.math.Math2
-
PI*2(360deg) - TWO_THIRDS_PI - Static variable in class org.team1126.lib.math.Math2
-
2PI/3(120deg)
U
- unpack(ByteBuffer) - Method in class org.team1126.lib.logging.revlib.structs.SparkBaseStruct
- unpack(ByteBuffer) - Method in class org.team1126.lib.logging.revlib.structs.SparkFaultsStruct
- unpack(ByteBuffer) - Method in class org.team1126.lib.logging.revlib.structs.SparkWarningsStruct
- update() - Static method in class org.team1126.lib.tunable.Tunables
-
Polls changes from NetworkTables.
- update() - Method in class org.team1126.robot.subsystems.Lights
- update(EpilogueBackend, CANcoder) - Method in class org.team1126.lib.logging.phoenix.CANcoderLogger
- update(EpilogueBackend, CANdi) - Method in class org.team1126.lib.logging.phoenix.CANdiLogger
- update(EpilogueBackend, CANdle) - Method in class org.team1126.lib.logging.phoenix.CANdleLogger
- update(EpilogueBackend, CANrange) - Method in class org.team1126.lib.logging.phoenix.CANrangeLogger
- update(EpilogueBackend, Pigeon2) - Method in class org.team1126.lib.logging.phoenix.Pigeon2Logger
- update(EpilogueBackend, TalonFX) - Method in class org.team1126.lib.logging.phoenix.TalonFXLogger
- update(EpilogueBackend, TalonFXS) - Method in class org.team1126.lib.logging.phoenix.TalonFXSLogger
- update(EpilogueBackend, Canandcolor) - Method in class org.team1126.lib.logging.reduxlib.CanandcolorLogger
- update(EpilogueBackend, Canandgyro) - Method in class org.team1126.lib.logging.reduxlib.CanandgyroLogger
- update(EpilogueBackend, Canandmag) - Method in class org.team1126.lib.logging.reduxlib.CanandmagLogger
- update(EpilogueBackend, RelativeEncoder) - Method in class org.team1126.lib.logging.revlib.RelativeEncoderLogger
- update(EpilogueBackend, SparkAbsoluteEncoder) - Method in class org.team1126.lib.logging.revlib.SparkAbsoluteEncoderLogger
- update(EpilogueBackend, SparkAnalogSensor) - Method in class org.team1126.lib.logging.revlib.SparkAnalogSensorLogger
- update(EpilogueBackend, SparkFlex) - Method in class org.team1126.lib.logging.revlib.SparkFlexLogger
- update(EpilogueBackend, SparkLimitSwitch) - Method in class org.team1126.lib.logging.revlib.SparkLimitSwitchLogger
- update(EpilogueBackend, SparkMax) - Method in class org.team1126.lib.logging.revlib.SparkMaxLogger
- update(EpilogueBackend, PIDController) - Method in class org.team1126.lib.logging.wpimath.PIDControllerLogger
- update(EpilogueBackend, ProfiledPIDController) - Method in class org.team1126.lib.logging.wpimath.ProfiledPIDControllerLogger
- update(EpilogueBackend, ADIS16470_IMU) - Method in class org.team1126.lib.logging.wpilibj.ADIS16470Logger
- update(EpilogueBackend, DigitalInput) - Method in class org.team1126.lib.logging.wpilibj.DigitalInputLogger
- update(EpilogueBackend, Encoder) - Method in class org.team1126.lib.logging.wpilibj.EncoderLogger
- update(EpilogueBackend, CommandXboxController) - Method in class org.team1126.lib.logging.wpilibj.CommandXboxControllerLogger
- update(EpilogueBackend, CommandScheduler) - Method in class org.team1126.lib.logging.wpilibj.CommandSchedulerLogger
- update(EpilogueBackend, AtomicBoolean) - Method in class org.team1126.lib.logging.java.AtomicBooleanLogger
- update(EpilogueBackend, AtomicInteger) - Method in class org.team1126.lib.logging.java.AtomicIntegerLogger
- update(EpilogueBackend, AtomicLong) - Method in class org.team1126.lib.logging.java.AtomicLongLogger
- update(EpilogueBackend, SwerveAPI) - Method in class org.team1126.lib.swerve.SwerveAPILogger
- update(PhotonPipelineResult) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Updates the estimated position of the robot, assuming no camera calibration is required for the selected strategy.
- update(PhotonPipelineResult, Optional<Matrix<N3, N3>>, Optional<Matrix<N8, N1>>) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Updates the estimated position of the robot.
- update(PhotonPipelineResult, Optional<Matrix<N3, N3>>, Optional<Matrix<N8, N1>>, Optional<PhotonPoseEstimator.ConstrainedSolvepnpParams>) - Method in class org.team1126.robot.util.PhotonPoseEstimator
-
Updates the estimated position of the robot.
V
- value - Variable in class org.team1126.lib.util.Mutable
- value(String, boolean) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable boolean value.
- value(String, boolean) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable boolean value to the table.
- value(String, boolean, BooleanConsumer) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable boolean value.
- value(String, boolean, BooleanConsumer) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable boolean value to the table.
- value(String, double) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable double value.
- value(String, double) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable double value to the table.
- value(String, double, DoubleConsumer) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable double value.
- value(String, double, DoubleConsumer) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable double value to the table.
- value(String, float) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable float value.
- value(String, float) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable float value to the table.
- value(String, float, FloatConsumer) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable float value.
- value(String, float, FloatConsumer) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable float value to the table.
- value(String, int) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable integer value.
- value(String, int) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable integer value to the table.
- value(String, int, IntConsumer) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable integer value.
- value(String, int, IntConsumer) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable integer value to the table.
- value(String, String) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable string value.
- value(String, String) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable string value to the table.
- value(String, String, Consumer<String>) - Static method in class org.team1126.lib.tunable.Tunables
-
Creates a tunable string value.
- value(String, String, Consumer<String>) - Method in class org.team1126.lib.tunable.TunableTable
-
Adds a tunable string value to the table.
- valueOf(String) - Static method in enum class org.team1126.lib.math.FieldInfo.SymmetryType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.team1126.lib.swerve.Perspective
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.team1126.robot.subsystems.Shooter.ShooterStates
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.team1126.lib.math.FieldInfo.SymmetryType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.team1126.lib.swerve.Perspective
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.team1126.robot.subsystems.Shooter.ShooterStates
-
Returns an array containing the constants of this enum class, in the order they are declared.
- velDeadband - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The minimum velocity required for a swerve module to accept a commanded output.
- velocity - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The maximum forward velocity the robot is capable of in meters/second.
- velocity - Variable in class org.team1126.lib.swerve.SwerveState
-
The directionless measured velocity of the robot.
- verify() - Method in class org.team1126.lib.swerve.config.SwerveConfig
-
Verifies the config as well as the config's modules.
- verify() - Method in class org.team1126.lib.swerve.config.SwerveModuleConfig
-
Verifies the config.
- Vision - Class in org.team1126.robot.util
-
Manages all of the robot's cameras.
- Vision(Vision.CameraConfig[]) - Constructor for class org.team1126.robot.util.Vision
-
Create the vision manager.
- Vision.CameraConfig - Record Class in org.team1126.robot.util
- VisionMeasurement - Record Class in org.team1126.lib.math.geometry
-
Represents a measurement from vision to apply to a pose estimator.
- VisionMeasurement(Pose2d, double) - Constructor for record class org.team1126.lib.math.geometry.VisionMeasurement
-
Represents a measurement from vision to apply to a pose estimator.
- VisionMeasurement(Pose2d, double, Matrix<N3, N1>) - Constructor for record class org.team1126.lib.math.geometry.VisionMeasurement
-
Creates an instance of a
VisionMeasurementrecord class. - visualizeField(int, double, double, double) - Method in class org.team1126.lib.math.PAPFController
-
Returns a list of samples from the potential field for visualization in AdvantageScope.
- voltage - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The robot's nominal voltage.
- VOLTAGE - Static variable in class org.team1126.robot.Constants
W
- wheelDiameter - Variable in class org.team1126.lib.swerve.config.SwerveConfig
-
The wheel diameter in meters.
- width() - Static method in class org.team1126.lib.math.FieldInfo
-
Returns the width (Y-axis) of the field in meters.
X
- X_CENTER - Static variable in class org.team1126.robot.util.Field
-
The center of the field over its length (X direction).
Y
- Y_CENTER - Static variable in class org.team1126.robot.util.Field
-
The center of the field over its width (Y direction).
All Classes and Interfaces|All Packages|Constant Field Values