DisplacementFollower

class DisplacementFollower @JvmOverloads constructor(val trajectory: DisplacementTrajectory, 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: DisplacementTrajectory, 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
val driveCommand: PoseVelocity2dDual<Time>
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
open override val trajectory: DisplacementTrajectory

Functions

Link copied to clipboard
open override fun follow()