buildTask

Build the trajectory sequence and task for use by the user. This method is useful is you are running this task as part of a TaskGroup, or if you are not running an AutonomousBunyipsOpMode and cannot use the queue system.

This task will be added to the global poses list, so the next implicitly created trajectory will start from the end of this one. Set useEndAsNextImplicitPose to false if you do not want this behavior, such as if there are side effects of construction using multiple implicit trajectories.

Return

The built task, not added to the task queue automatically.

See also


open fun buildTask(useEndAsNextImplicitPose: Boolean): RoadRunnerTask

Build the trajectory sequence and task for use by the user. This method is useful is you are running this task as part of a TaskGroup, or if you are not running an AutonomousBunyipsOpMode and cannot use the queue system.

Return

The built task, not added to the task queue automatically.

Parameters

useEndAsNextImplicitPose

Whether to use this trajectory end point as a global splice, therefore making the next implicit trajectory start from the end of this one. This should be used if you are using makeTrajectory() and building a task, and there are no side effects of construction using multiple implicit trajectories.