Package com.cdarobotics.cdalib.tasks
package com.cdarobotics.cdalib.tasks
-
ClassesClassDescriptionA task built from lambdas:
initruns once, thenrunis polled each loop and returnstruewhen the task is finished.Runs its child tasks alongside a deadline task and completes when the deadline finishes, regardless of whether the other tasks have finished.A task that defers building its inner task until init() is called at runtime.A task that follows a PedroPathingPath, finishing when the follower is no longer busy.A task that commands the PedroPathing follower to hold a pose, finishing immediately after issuing the command.A task that runs an action once inInstantTask.init()and finishes immediately.A task that does nothing and finishes immediately; the idle placeholder held byTaskMaster.Runs all of its child tasks at once.Runs all of its child tasks at once and completes as soon as any one of them finishes.Repeatedly runs a freshly built task: each time the current task finishes, a new one is built from the supplier and started immediately.Runs its child tasks one after another, advancing to the next only when the current one finishes.A task that finishes after a fixed delay (in milliseconds) has elapsed sinceSleepTask.init().Base type for all actions in the task framework.Drives a single activeTaskto completion, one loop at a time.A task that finishes as soon as the supplied condition becomestrue.