Follower

Properties

Link copied to clipboard
abstract val currentTarget: Pose2d
Link copied to clipboard
abstract val drive: Drive
Link copied to clipboard
Link copied to clipboard
abstract val isDone: Boolean
Link copied to clipboard
abstract val lastCommand: PoseVelocity2dDual<Time>
Link copied to clipboard
open val points: List<Vector2d>
Link copied to clipboard
abstract val timer: ElapsedTime
Link copied to clipboard
abstract val trajectory: TrajectoryWithMarkers<*>
Link copied to clipboard
abstract val triggeredMarkers: MutableSet<Marker>

Tracks which markers have been triggered.

Functions

Link copied to clipboard
abstract fun cancel()

Cancels the follower. If trajectory is cancelable, this function will cancel smoothly, otherwise, it will simply stop the robot.

Link copied to clipboard
abstract fun follow()