PointTask

class PointTask(val goal: Waypoint, val controller: PTPController) : Task

Move the robot to a target position using a point to point controller

Parameters

goal

Waypoint describing the target position

controller

Point to point controller

Constructors

Link copied to clipboard
constructor(goal: Waypoint, controller: PTPController)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun kill()

Used to stop tasks part of the way through.

Link copied to clipboard
open override fun loop(): Boolean

Called every loop cycle of the queue. Returning true moves on to next task.

Link copied to clipboard
open override fun onBegin(): Boolean

Called when task is started. Returning false will skip the task.

Link copied to clipboard
fun unkill()