abstract class PathFollower
Generic Path follower for time-independent pose reference tracking.
PathFollower(admissibleError: Pose2d, clock: NanoClock = NanoClock.system())
Generic Path follower for time-independent pose reference tracking. |
val clock: NanoClock
clock |
|
abstract var lastError: Pose2d
Robot pose error computed in the last update call. |
|
lateinit var path: Path
Path being followed if isFollowing is true. |
open fun followPath(path: Path): Unit
Follow the given path. |
|
abstract fun internalUpdate(currentPose: Pose2d): DriveSignal |
|
fun isFollowing(): Boolean
Returns true if the current path has finished executing. |
|
fun update(currentPose: Pose2d): DriveSignal
Run a single iteration of the path follower. |
class GVFFollower : PathFollower
State-of-the-art path follower based on the GuidingVectorField. |