Package-level declarations
Types
Builder class for creating a SwerveDrive with DSL syntax.
Configuration builder for swerve encoder setup.
Properties
Functions
Extension to configure an existing Engu for swerve use with a DSL.
Calculates the distance from a robot pose to another pose on the field.
Calculates the distance from a robot pose to an arbitrary field location.
Calculates the distance from a robot pose to the closest AprilTag.
Calculates the distance from a robot pose to a specific AprilTag.
Creates a drive to angle command with DSL configuration.
Finds the closest AprilTag to the robot's current pose.
Extension to get the angle error between current position and target.
Extension function for a list of PhotonModule objects to get the best PhotonPipelineResult.
Extension function for a Pair of PhotonModule and PhotonPipelineResult to get estimated poses.
Extension function for a list of Pair of PhotonModule and PhotonPipelineResult to check if any have targets.
Creates a lock swerve command.
Creates a reset gyro command.
Schedule this command when the provided condition is true.
Extension to get the shortest angular distance to target.
Creates a swerve drive subsystem with a DSL for module configuration.
Creates an Engu encoder configured for swerve module use.
Creates a swerve module with DSL configuration.
Creates a teleop swerve command with DSL configuration.
Extension to convert Translation2d to ChassisSpeeds with rotation.
Extension to log encoder information to a string.
Creates a turn to angle command with DSL configuration.
Extension function for a Pair of PhotonModule and PhotonPipelineResult to update the standard deviations of the estimated robot pose.