Drive To Pose Task
Drive to a pose using a localizer and PID-To-Point.
This is useful for pose alignment based on error, rather than using trajectories for planned motion. Designed and tested for Mecanum drivebases as RoadRunner was designed around them.
Author
Lucas Bubner, 2024
Since
3.3.0
Properties
Inherited properties
Convenience field to get a reference to FtcDashboard's field overlay for drawing on the field. Available as soon as init has been called for this task.
Timeout value for an infinite task that will run forever.
Whether this task should override other tasks in the queue if they conflict with this task. Will only apply if this task has a dependency to run on (see dependency).
Functions
Inherited functions
Compose this task into a SequentialTaskGroup with the supplied tasks to run before this one.
Utility to create a new DeferredTask based on the supplied task builder. Useful for constructing tasks that use data that is not available at the build time of the wrapped task.
Compose this task into a DeadlineTaskGroup with the supplied tasks to run these extra tasks until this task is done.
Composes a ParallelTaskGroup with a WaitTask to run before this task. This will ensure the task runs for at least the specified time, and no-ops until the duration if it finishes early.
Time since the task was started.
Get the subsystem reference that this task has elected a dependency on. Will return an Optional where if it is not present, this task is not dependent on any subsystem.
Convenience field to get a reference to FtcDashboard's field overlay for drawing on the field. Available as soon as init has been called for this task.
Query (but not update) the finished state of the task. This will return true if the task is finished and the finisher has been fired.
Set the subsystem you want to elect this task to run on, notifying the runner that this task should run there.
Compose this task into a RaceTaskGroup with the supplied tasks to run all of these tasks until one finishes.
Wrap this task in a RepeatTask where finish conditions are reset immediately.
Convenience field to get a reference to FtcDashboard's field overlay for drawing on the field. Available as soon as init has been called for this task.
Utility to create a new DynamicTask instance for building a new task.
Compose this task into a SequentialTaskGroup with the supplied tasks to follow after this one.
Get a verbose string representation of this task, including all of its properties.
Compose this task into a RaceTaskGroup with a wait condition based on this condition.
Compose this task into a ParallelTaskGroup with the supplied tasks to run all of these tasks at once.