Index
All Classes and Interfaces|All Packages
A
- active() - Method in class choreo.commands3.AutoRoutine
-
Returns a
Triggerthat is true while this routine is running, that is, from when its opmode starts until it ends or the robot is disabled. - active() - Method in class choreo.commands3.AutoTrajectory
-
Returns a trigger that is true while the trajectory is scheduled.
- addRoutine(OpModeRobot, String, String, Consumer) - Method in class choreo.commands3.AutoFactory
-
Registers an autonomous routine as an opmode named
namein the given group, shown on the Driver Station. - addRoutine(OpModeRobot, String, Consumer) - Method in class choreo.commands3.AutoFactory
-
Registers an autonomous routine as an opmode named
name, shown on the Driver Station. - allInactive(AutoTrajectory, AutoTrajectory...) - Method in class choreo.commands3.AutoRoutine
-
Creates a trigger that returns true when all of the trajectories given are inactive.
- anyActive(AutoTrajectory, AutoTrajectory...) - Method in class choreo.commands3.AutoRoutine
-
Creates a trigger that returns true when any of the trajectories given are active.
- anyDone(AutoTrajectory, AutoTrajectory...) - Method in class choreo.commands3.AutoRoutine
-
Creates a trigger that produces a rising edge when any of the trajectories are finished.
- anyDoneDelayed(double, AutoTrajectory, AutoTrajectory...) - Method in class choreo.commands3.AutoRoutine
-
Creates a trigger that produces a rising edge when any of the trajectories are finished.
- atPose(String, double, double) - Method in class choreo.commands3.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.commands3.AutoTrajectory
-
Returns a trigger that is true when the robot is within toleranceMeters of the given pose.
- atTime(double) - Method in class choreo.commands3.AutoTrajectory
-
Returns a trigger that will go true for 1 cycle when the desired time has elapsed
- atTime(String) - Method in class choreo.commands3.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.commands3.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.commands3.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.commands3.AutoTrajectory
-
Returns a trigger that is true when the robot is within toleranceMeters of the given translation.
- AutoFactory - Class in choreo.commands3
-
A factory used to create
AutoRoutines andAutoTrajectorys for Commands v3. - AutoFactory(Supplier, Consumer, Consumer, boolean, Mechanism, Choreo.TrajectoryLogger) - Constructor for class choreo.commands3.AutoFactory
-
Create a factory that can be used to create
AutoRoutineandAutoTrajectory. - AutoFactory(Supplier, Consumer, Consumer, boolean, Mechanism) - Constructor for class choreo.commands3.AutoFactory
-
Create a factory that can be used to create
AutoRoutineandAutoTrajectory. - AutoRoutine - Class in choreo.commands3
-
An autonomous routine, which is an
OpMode. - AutoRoutine(AutoFactory, String) - Constructor for class choreo.commands3.AutoRoutine
-
Creates a new routine with a specific name.
- AutoTrajectory - Class in choreo.commands3
-
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.commands3.AutoFactory
-
Binds a command to an event in all trajectories created after this point.
C
- cache() - Method in class choreo.commands3.AutoFactory
-
The
AutoFactorycaches trajectories with aChoreo.TrajectoryCacheto avoid reloading the same trajectory multiple times. - chain(AutoTrajectory) - Method in class choreo.commands3.AutoTrajectory
-
A shorthand for `.done().onTrue(otherTrajectory.cmd())`
- choreo.commands3 - package choreo.commands3
- cmd() - Method in class choreo.commands3.AutoTrajectory
-
Creates a command that requires the drive mechanism and follows the trajectory using the factory's control function.
- collectEventPoses(String) - Method in class choreo.commands3.AutoTrajectory
-
Returns an array of all the poses of the events with the given name.
- collectEventTimes(String) - Method in class choreo.commands3.AutoTrajectory
-
Returns an array of all the timestamps of the events with the given name.
D
- done() - Method in class choreo.commands3.AutoTrajectory
-
Returns a trigger that is true after the trajectory completes.
- doneDelayed(double) - Method in class choreo.commands3.AutoTrajectory
-
Returns a trigger that becomes true after the trajectory completes and the given delay.
- doneFor(double) - Method in class choreo.commands3.AutoTrajectory
-
Returns a trigger that remains true for the given duration after completion.
E
- end() - Method in class choreo.commands3.AutoRoutine
-
Ends the routine.
- equals(Object) - Method in class choreo.commands3.AutoTrajectory
G
- getFinalPose() - Method in class choreo.commands3.AutoTrajectory
-
Will get the ending pose of the trajectory.
- getInitialPose() - Method in class choreo.commands3.AutoTrajectory
-
Will get the starting pose of the trajectory.
- getRawTrajectory() - Method in class choreo.commands3.AutoTrajectory
-
Will get the underlying
Trajectoryobject.
H
- hashCode() - Method in class choreo.commands3.AutoTrajectory
I
- idle() - Method in class choreo.commands3.AutoRoutine
-
Creates a trigger that is true when the routine is idle.
- inactive() - Method in class choreo.commands3.AutoTrajectory
-
Returns a trigger that is true while the command is not scheduled.
M
- mirrorX() - Method in class choreo.commands3.AutoTrajectory
-
Returns this auto trajectory, mirrored to the other alliance.
- mirrorY() - Method in class choreo.commands3.AutoTrajectory
-
Returns this auto trajectory, mirrored left-to-right from the driver's perspective.
N
- name() - Method in class choreo.commands3.AutoRoutine
-
Gets the name of this routine.
O
- observe(BooleanSupplier) - Method in class choreo.commands3.AutoRoutine
-
Creates a
Triggerfrom a condition that is only true while this routine is running.
R
- recentlyDone() - Method in class choreo.commands3.AutoTrajectory
-
Returns a trigger that remains true after completion until the routine becomes idle.
- resetOdometry() - Method in class choreo.commands3.AutoTrajectory
-
Creates a command that resets the robot's odometry to the start of this trajectory.
- resetOdometry(Trajectory) - Method in class choreo.commands3.AutoFactory
-
Creates a command that resets the robot's odometry to the start of a trajectory.
- resetOdometry(String) - Method in class choreo.commands3.AutoFactory
-
Creates a command that resets the robot's odometry to the start of a trajectory.
- resetOdometry(String, int) - Method in class choreo.commands3.AutoFactory
-
Creates a command that resets the robot's odometry to the start of a trajectory.
- resetOdometry(Supplier) - Method in class choreo.commands3.AutoFactory
-
Creates a command that resets the robot's odometry to the supplied pose
- resetOdometry(Optional, boolean) - Method in class choreo.commands3.AutoFactory
-
Creates a command that resets the robot's odometry to the given pose
- rotateAround() - Method in class choreo.commands3.AutoTrajectory
-
Returns this auto trajectory, rotated 180 degrees around the field center.
S
- spawnCmd() - Method in class choreo.commands3.AutoTrajectory
-
Creates a command that schedules the trajectory command separately instead of running it itself.
- start() - Method in class choreo.commands3.AutoRoutine
-
Starts the routine.
T
- trajectory(Trajectory) - Method in class choreo.commands3.AutoRoutine
-
Creates a new
AutoTrajectoryto be used in an auto routine. - trajectory(String) - Method in class choreo.commands3.AutoRoutine
-
Creates a new
AutoTrajectoryto be used in an auto routine. - trajectory(String, int) - Method in class choreo.commands3.AutoRoutine
-
Creates a new
AutoTrajectoryto be used in an auto routine. - trajectoryCmd(Trajectory) - Method in class choreo.commands3.AutoFactory
-
Creates a new
AutoTrajectorycommand to be used in an auto routine. - trajectoryCmd(String) - Method in class choreo.commands3.AutoFactory
-
Creates a new
AutoTrajectorycommand to be used in an auto routine. - trajectoryCmd(String, int) - Method in class choreo.commands3.AutoFactory
-
Creates a new
AutoTrajectorycommand to be used in an auto routine. - trajectoryCmd(String, int, Function) - Method in class choreo.commands3.AutoFactory
-
Creates a new
AutoTrajectorycommand to be used in an auto routine. - trajectoryCmd(String, Function) - Method in class choreo.commands3.AutoFactory
-
Creates a new
AutoTrajectorycommand to be used in an auto routine.
W
- warmupCmd() - Method in class choreo.commands3.AutoFactory
-
Warms up Choreo so there is no delay at the start of auto.
All Classes and Interfaces|All Packages