Package robot.auton
Class TrajectoryCommand.SequentialPathPlannerGroup
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.SequentialCommandGroup
robot.auton.TrajectoryCommand.SequentialPathPlannerGroup
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,TrajectoryCommand
- Enclosing interface:
- TrajectoryCommand
public static class TrajectoryCommand.SequentialPathPlannerGroup
extends edu.wpi.first.wpilibj2.command.SequentialCommandGroup
Note: Using
addCommands() will not
add trajectories to the preview.-
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
ConstructorsConstructorDescriptionSequentialPathPlannerGroup(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 edu.wpi.first.wpilibj2.command.SequentialCommandGroup
addCommands, end, execute, getInterruptionBehavior, initialize, initSendable, 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, 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
-
SequentialPathPlannerGroup
public SequentialPathPlannerGroup(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
-