-
public class FollowTrajectoryCommand extends Command
Follows a trajectory to its end position.
-
-
Method Summary
Modifier and Type Method Description static FollowTrajectoryCommand
create(String name, ITimedTrajectory timedTrajectory, ISubsystemHub robotHub)
Creates a new follow trajectory command. -
-
Method Detail
-
create
static FollowTrajectoryCommand create(String name, ITimedTrajectory timedTrajectory, ISubsystemHub robotHub)
Creates a new follow trajectory command.
- Parameters:
name
- command name.timedTrajectory
- timed trajectory.robotHub
- robot hub containing ILocalizer, IHolonomicController, IDrivetrain.
-
-
-
-