DisplacementFollower

class DisplacementFollower @JvmOverloads constructor(val trajectory: TrajectoryWithMarkers<Arclength>, val drive: Drive, val endConditions: Set<EndCondition> = EndCondition.default) : Follower

Constructors

Link copied to clipboard
constructor(trajectory: Trajectory<*>, drive: Drive, endConditions: Set<EndCondition> = EndCondition.default)
constructor(path: PosePath, drive: Drive, velConstraintOverride: VelConstraint = drive.defaultVelConstraint, accelConstraintOverride: AccelConstraint = drive.defaultAccelConstraint, endConditions: Set<EndCondition> = EndCondition.default)
constructor(trajectory: TrajectoryWithMarkers<Arclength>, drive: Drive, endConditions: Set<EndCondition> = EndCondition.default)

Properties

Link copied to clipboard
open override var currentTarget: Pose2d
Link copied to clipboard
open override val drive: Drive
Link copied to clipboard
Link copied to clipboard
open override val endConditions: Set<EndCondition>
Link copied to clipboard
open override var isDone: Boolean
Link copied to clipboard
open override var lastCommand: PoseVelocity2dDual<Time>
Link copied to clipboard
open override val points: List<Vector2d>
Link copied to clipboard
open override val timer: ElapsedTime
Link copied to clipboard
Link copied to clipboard
open override val triggeredMarkers: MutableSet<Marker>

Tracks which markers have been triggered.

Functions

Link copied to clipboard
open override fun follow()