Package robot.auton
Class TrajectoryCommand.AsyncPathPlannerSequence
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
lib.commands.AsyncSequence
robot.auton.TrajectoryCommand.AsyncPathPlannerSequence
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,TrajectoryCommand
- Enclosing interface:
- TrajectoryCommand
Note: Path trajectory is only assembled from synchronous commands.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.Command.InterruptionBehaviorNested classes/interfaces inherited from interface robot.auton.TrajectoryCommand
TrajectoryCommand.AsyncPathPlannerSequence, TrajectoryCommand.ParallelDeadlinePathPlannerGroup, TrajectoryCommand.ParallelPathPlannerGroup, TrajectoryCommand.SequentialPathPlannerGroup -
Constructor Summary
ConstructorsConstructorDescriptionAsyncPathPlannerSequence(edu.wpi.first.wpilibj2.command.Command... commands) -
Method Summary
Modifier and TypeMethodDescriptiondoubledefault edu.wpi.first.math.geometry.Pose2ddefault edu.wpi.first.math.geometry.Pose2ddefault edu.wpi.first.math.geometry.Pose2d[]getTrajPreview(int totalSteps) Methods inherited from class lib.commands.AsyncSequence
async, end, execute, getInterruptionBehavior, initialize, isFinished, runsWhenDisabledMethods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, finallyDo, finallyDo, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface robot.auton.TrajectoryCommand
getTrajPreview
-
Constructor Details
-
AsyncPathPlannerSequence
public AsyncPathPlannerSequence(edu.wpi.first.wpilibj2.command.Command... commands)
-
-
Method Details
-
getDuration
public double getDuration()- Specified by:
getDurationin interfaceTrajectoryCommand
-
getCommands
-
getTrajPreview
default edu.wpi.first.math.geometry.Pose2d[] getTrajPreview(int totalSteps) - Specified by:
getTrajPreviewin interfaceTrajectoryCommand
-
getInitialPose
default edu.wpi.first.math.geometry.Pose2d getInitialPose()- Specified by:
getInitialPosein interfaceTrajectoryCommand
-
getEndPose
default edu.wpi.first.math.geometry.Pose2d getEndPose()- Specified by:
getEndPosein interfaceTrajectoryCommand
-