class GVFFollower : PathFollower
(source)
State-of-the-art path follower based on the GuidingVectorField.
maxAccel
- maximum acceleration
admissibleError
- admissible/satisfactory pose error at the end of each move
kN
- normal vector weight (see GuidingVectorField)
kOmega
- proportional heading gain
errorMapFunc
- error map function (see GuidingVectorField)
<init> |
State-of-the-art path follower based on the GuidingVectorField. GVFFollower(maxVel: Double, maxAccel: Double, admissibleError: Pose2d, kN: Double, kOmega: Double, errorMapFunc: (Double) -> Double = { it }, clock: NanoClock = NanoClock.system()) |
lastError |
Robot pose error computed in the last update call. var lastError: Pose2d |
followPath |
Follow the given path. fun followPath(path: Path): Unit |
internalUpdate |
fun internalUpdate(currentPose: Pose2d): DriveSignal |