CircularGVF

public final class CircularGVF implements GuidingVectorField

Constructors

Link copied to clipboard
public CircularGVF CircularGVF(Vector2d center, Double radius, Double kN, Function1<Double, Double> errorMapFunc)

Properties

Link copied to clipboard
private final Vector2d center
Link copied to clipboard
private final Vector2d endPosition

The final target position. Used for basic velocity profiling to decelerate accordingly.

Link copied to clipboard
private final Function1<Double, Double> errorMapFunc

Custom error mapping (see eq. (4))

Link copied to clipboard
private final Double kN

Path normal weight (see eq. (9)). Higher values make path convergence more aggressive.

Link copied to clipboard
private final Double radius
Link copied to clipboard
private final Vector2d startPosition

The starting position. Used for basic velocity profiling to accelerate accordingly.

Functions

Link copied to clipboard
public final Vector2d getCenter()
Link copied to clipboard

The final target position. Used for basic velocity profiling to decelerate accordingly.

Link copied to clipboard
public Function1<Double, Double> getErrorMapFunc()

Custom error mapping (see eq. (4))

Link copied to clipboard
public Double getKN()

Path normal weight (see eq. (9)). Higher values make path convergence more aggressive.

Link copied to clipboard
public final Double getRadius()
Link copied to clipboard

The starting position. Used for basic velocity profiling to accelerate accordingly.