public class GVFFollower
extends PathFollower
State-of-the-art path follower based on the class GuidingVectorField.
class GuidingVectorFieldpath| Constructor and Description |
|---|
GVFFollower(SimpleMotionConstraints constraints,
Pose2d admissibleError,
double kN,
double kOmega,
kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> errorMapFunc,
NanoClock clock)
State-of-the-art path follower based on the
class GuidingVectorField. |
GVFFollower(SimpleMotionConstraints constraints,
Pose2d admissibleError,
double kN,
double kOmega,
kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> errorMapFunc)
State-of-the-art path follower based on the
class GuidingVectorField. |
GVFFollower(SimpleMotionConstraints constraints,
Pose2d admissibleError,
double kN,
double kOmega)
State-of-the-art path follower based on the
class GuidingVectorField. |
| Modifier and Type | Method and Description |
|---|---|
void |
followPath(Path path)
Follow the given
path. |
Pose2d |
getLastError()
Robot pose error computed in the last
update call. |
protected DriveSignal |
internalUpdate(Pose2d currentPose) |
protected void |
setLastError(Pose2d p)
Robot pose error computed in the last
update call. |
followPath, getClock, getLastError, getPath, internalUpdate, isFollowing, setLastError, setPath, update@JvmOverloads
public GVFFollower(@NotNull
SimpleMotionConstraints constraints,
@NotNull
Pose2d admissibleError,
double kN,
double kOmega,
@NotNull
kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> errorMapFunc,
@NotNull
NanoClock clock)
State-of-the-art path follower based on the class GuidingVectorField.
constraints - robot motion constraintsadmissibleError - admissible/satisfactory pose error at the end of each movekN - normal vector weight (see class GuidingVectorField)kOmega - proportional heading gainerrorMapFunc - error map function (see class GuidingVectorField)clock - clockclass GuidingVectorField@JvmOverloads
public GVFFollower(@NotNull
SimpleMotionConstraints constraints,
@NotNull
Pose2d admissibleError,
double kN,
double kOmega,
@NotNull
kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> errorMapFunc)
State-of-the-art path follower based on the class GuidingVectorField.
constraints - robot motion constraintsadmissibleError - admissible/satisfactory pose error at the end of each movekN - normal vector weight (see class GuidingVectorField)kOmega - proportional heading gainerrorMapFunc - error map function (see class GuidingVectorField)class GuidingVectorField@JvmOverloads
public GVFFollower(@NotNull
SimpleMotionConstraints constraints,
@NotNull
Pose2d admissibleError,
double kN,
double kOmega)
State-of-the-art path follower based on the class GuidingVectorField.
constraints - robot motion constraintsadmissibleError - admissible/satisfactory pose error at the end of each movekN - normal vector weight (see class GuidingVectorField)kOmega - proportional heading gainclass GuidingVectorField@NotNull public Pose2d getLastError()
Robot pose error computed in the last update call.
updateprotected void setLastError(@NotNull
Pose2d p)
Robot pose error computed in the last update call.
updatepublic void followPath(@NotNull
Path path)
Follow the given path.
path - pathpath@NotNull protected DriveSignal internalUpdate(@NotNull Pose2d currentPose)