Package-level declarations
Types
Task that allows you to execute code using a lambda
Set the power of a motor
Task that controls the velocity of a motor using a PID controller. Stop task using kill function.
Move the robot to a target position using a point to point controller
Set the localizer rotation. Can be used to reset the localizer angle from an external source such as vision.
Rotate the robot to a set angle or by a set amount
Set the position of a motor using a MotorPositionController
A task containing a list of tasks that will occur sequentially as if they were in a queue. Can be used with a ForkTask to allow multiple sequences of events to happen concurrently. A task list can contain a custom task at the end of it which adds more tasks to the list allowing for recurrent execution.
The Task Queue is a scheduling system. It is a Queue to which Tasks can be added. A task is simply an object which contains a loop function which returns a boolean. The loop function of the task at the front of the queue will be executed every update cycle until it returns true. Once the task loop function returns true the task is discarded from the queue and the next task begins executing. By using ForkTasks and TaskLists it is possible to create arbitrarily complex trees of tasks. Loops of tasks can be implementing via recursion using a TaskList and CustomTask.
Wait for a motor position controller to reach its target position