Index

A B C D E G I K L M N O P R S T W 
All Classes and Interfaces|All Packages

A

active() - Method in class choreo.auto.AutoRoutine
Returns a Trigger that is true while this autonomous routine is being polled.
active() - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true while the trajectory is scheduled.
addCmd(String, Supplier) - Method in class choreo.auto.AutoChooser
Adds a Command to the auto chooser.
addRoutine(String, Supplier) - Method in class choreo.auto.AutoChooser
Add an AutoRoutine to the chooser.
allInactive(AutoTrajectory, AutoTrajectory...) - Method in class choreo.auto.AutoRoutine
Creates a trigger that returns true when any of the trajectories given are inactive.
anyActive(AutoTrajectory, AutoTrajectory...) - Method in class choreo.auto.AutoRoutine
Creates a trigger that returns true when any of the trajectories given are active.
anyDone(AutoTrajectory, AutoTrajectory...) - Method in class choreo.auto.AutoRoutine
Creates a trigger that produces a rising edge when any of the trajectories are finished.
anyDoneDelayed(int, AutoTrajectory, AutoTrajectory...) - Method in class choreo.auto.AutoRoutine
Creates a trigger that produces a rising edge when any of the trajectories are finished.
atPose(String, double, double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true when the robot is within toleranceMeters and toleranceRadians of the given event's pose.
atPose(Pose2d, double, double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true when the robot is within toleranceMeters of the given pose.
atTime(double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that will go true for 1 cycle when the desired time has elapsed
atTime(String) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true when the event with the given name has been reached based on time.
atTimeBeforeEnd(double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that will go true for 1 cycle when the desired before the end of the trajectory time.
atTranslation(String, double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true when the robot is within toleranceMeters and toleranceRadians of the given event's translation.
atTranslation(Translation2d, double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true when the robot is within toleranceMeters of the given translation.
AutoChooser - Class in choreo.auto
An Choreo specific Selectable that allows for the selection of AutoRoutines at runtime via a Dashboard.
AutoChooser() - Constructor for class choreo.auto.AutoChooser
Constructs a new AutoChooser.
AutoChooser(String) - Constructor for class choreo.auto.AutoChooser
Constructs a new AutoChooser with the given name for the do-nothing default option.
AutoChooserOpMode - Class in choreo.auto
An OpMode that runs a routine selected from an AutoChooser.
AutoChooserOpMode(AutoChooser) - Constructor for class choreo.auto.AutoChooserOpMode
Creates a new AutoChooserOpMode.
AutoFactory - Class in choreo.auto
A factory used to create AutoRoutines and AutoTrajectorys.
AutoFactory(Supplier, Consumer, Consumer, boolean, Subsystem, Choreo.TrajectoryLogger) - Constructor for class choreo.auto.AutoFactory
Create a factory that can be used to create AutoRoutine and AutoTrajectory.
AutoFactory(Supplier, Consumer, Consumer, boolean, Subsystem) - Constructor for class choreo.auto.AutoFactory
Create a factory that can be used to create AutoRoutine and AutoTrajectory.
AutoRoutine - Class in choreo.auto
An object that represents an autonomous routine.
AutoTrajectory - Class in choreo.auto
A class that represents a trajectory that can be used in an autonomous routine and have triggers based off of it.

B

bind(String, Command) - Method in class choreo.auto.AutoFactory
Binds a command to an event in all trajectories created after this point.

C

cache() - Method in class choreo.auto.AutoFactory
The AutoFactory caches trajectories with a Choreo.TrajectoryCache to avoid reloading the same trajectory multiple times.
chain(AutoTrajectory) - Method in class choreo.auto.AutoTrajectory
A shorthand for `.done().onTrue(otherTrajectory.cmd())`
choreo.auto - package choreo.auto
 
cmd() - Method in class choreo.auto.AutoRoutine
Creates a command that will poll this event loop and reset it when it is cancelled.
cmd() - Method in class choreo.auto.AutoTrajectory
Creates a command that allocates the drive subsystem and follows the trajectory using the factories control function
cmd(BooleanSupplier) - Method in class choreo.auto.AutoRoutine
Creates a command that will poll this event loop and reset it when it is finished or canceled.
collectEventPoses(String) - Method in class choreo.auto.AutoTrajectory
Returns an array of all the poses of the events with the given name.
collectEventTimes(String) - Method in class choreo.auto.AutoTrajectory
Returns an array of all the timestamps of the events with the given name.

D

done() - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true after the trajectory completes.
doneDelayed(double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that becomes true after the trajectory completes and the given delay.
doneFor(double) - Method in class choreo.auto.AutoTrajectory
Returns a trigger that remains true for the given duration after completion.

E

end() - Method in class choreo.auto.AutoChooserOpMode
 
equals(Object) - Method in class choreo.auto.AutoTrajectory
 
Example: - Section in choreo.auto.AutoChooser.addCmd(String, Supplier)
 
Example: - Section in choreo.auto.AutoChooser.addRoutine(String, Supplier)
 

G

getDefaultName() - Method in class choreo.auto.AutoChooser
Returns the name of the default do-nothing option.
getFinalPose() - Method in class choreo.auto.AutoTrajectory
Will get the ending pose of the trajectory.
getInitialPose() - Method in class choreo.auto.AutoTrajectory
Will get the starting pose of the trajectory.
getRawTrajectory() - Method in class choreo.auto.AutoTrajectory
Will get the underlying Trajectory object.
getTunableType() - Method in class choreo.auto.AutoChooser
 

I

idle() - Method in class choreo.auto.AutoRoutine
Creates a trigger that is true when the routine is idle.
inactive() - Method in class choreo.auto.AutoTrajectory
Returns a trigger that is true while the command is not scheduled.

K

kill() - Method in class choreo.auto.AutoRoutine
Kills the loop and prevents it from running again.

L

loop() - Method in class choreo.auto.AutoRoutine
Gets the event loop that this routine is using.

M

mirrorX() - Method in class choreo.auto.AutoTrajectory
Returns this auto trajectory, mirrored to the other alliance.
mirrorY() - Method in class choreo.auto.AutoTrajectory
Returns this auto trajectory, mirrored left-to-right from the driver's perspective.

N

newRoutine(String) - Method in class choreo.auto.AutoFactory
Creates a new AutoRoutine.

O

observe(BooleanSupplier) - Method in class choreo.auto.AutoRoutine
Creates a Trigger that is bound to the routine's EventLoop.

P

poll() - Method in class choreo.auto.AutoRoutine
Polls the routine.
publishTunable(TunableTable) - Method in class choreo.auto.AutoChooser
 

R

recentlyDone() - Method in class choreo.auto.AutoTrajectory
Returns a trigger that remains true after completion until the routine becomes idle.
reset() - Method in class choreo.auto.AutoRoutine
Resets the routine.
resetOdometry() - Method in class choreo.auto.AutoTrajectory
Creates a command that resets the robot's odometry to the start of this trajectory.
resetOdometry(Trajectory) - Method in class choreo.auto.AutoFactory
Creates a command that resets the robot's odometry to the start of a trajectory.
resetOdometry(String) - Method in class choreo.auto.AutoFactory
Creates a command that resets the robot's odometry to the start of a trajectory.
resetOdometry(String, int) - Method in class choreo.auto.AutoFactory
Creates a command that resets the robot's odometry to the start of a trajectory.
resetOdometry(Supplier) - Method in class choreo.auto.AutoFactory
Creates a command that resets the robot's odometry to the supplied pose
resetOdometry(Optional, boolean) - Method in class choreo.auto.AutoFactory
Creates a command that resets the robot's odometry to the given pose
rotateAround() - Method in class choreo.auto.AutoTrajectory
Returns this auto trajectory, rotated 180 degrees around the field center.

S

select(String) - Method in class choreo.auto.AutoChooser
Select a new option in the chooser.
selectedCommand() - Method in class choreo.auto.AutoChooser
Returns the currently selected command.
selectedCommandScheduler() - Method in class choreo.auto.AutoChooser
Gets a Command that schedules the selected auto routine.
spawnCmd() - Method in class choreo.auto.AutoTrajectory
Creates a command that will schedule another command that will follow the trajectory.
start() - Method in class choreo.auto.AutoChooserOpMode
 

T

trajectory(Trajectory) - Method in class choreo.auto.AutoRoutine
Creates a new AutoTrajectory to be used in an auto routine.
trajectory(String) - Method in class choreo.auto.AutoRoutine
Creates a new AutoTrajectory to be used in an auto routine.
trajectory(String, int) - Method in class choreo.auto.AutoRoutine
Creates a new AutoTrajectory to be used in an auto routine.
trajectoryCmd(Trajectory) - Method in class choreo.auto.AutoFactory
Creates a new AutoTrajectory command to be used in an auto routine.
trajectoryCmd(String) - Method in class choreo.auto.AutoFactory
Creates a new AutoTrajectory command to be used in an auto routine.
trajectoryCmd(String, int) - Method in class choreo.auto.AutoFactory
Creates a new AutoTrajectory command to be used in an auto routine.
trajectoryCmd(String, int, Function) - Method in class choreo.auto.AutoFactory
Creates a new AutoTrajectory command to be used in an auto routine.
trajectoryCmd(String, Function) - Method in class choreo.auto.AutoFactory
Creates a new AutoTrajectory command to be used in an auto routine.

W

warmupCmd() - Method in class choreo.auto.AutoFactory
Warms up Choreo to ensure that there is no delay at the start of auto.
A B C D E G I K L M N O P R S T W 
All Classes and Interfaces|All Packages