public static class GuidingVectorField.GVFResult
Container for the direction of the GVF and intermediate values used in its computation.
Constructor and Description |
---|
GVFResult(Vector2d vector,
Vector2d pathPoint,
double displacement,
double error)
Container for the direction of the GVF and intermediate values used in its computation.
|
Modifier and Type | Method and Description |
---|---|
double |
getDisplacement()
displacement along the path of
|
double |
getError()
signed cross track error
|
Vector2d |
getPathPoint()
point on the path from the projection
|
Vector2d |
getVector()
normalized direction vector of the GVF
|
public GVFResult(Vector2d vector, Vector2d pathPoint, double displacement, double error)
Container for the direction of the GVF and intermediate values used in its computation.
vector
- normalized direction vector of the GVFpathPoint
- point on the path from the projectiondisplacement
- displacement along the path of pathPointerror
- signed cross track error (distance between pathPoint and the query point)vector
- normalized direction vector of the GVFpathPoint
- point on the path from the projectiondisplacement
- displacement along the path of pathPointerror
- signed cross track error (distance between pathPoint and the query point)public Vector2d getVector()
normalized direction vector of the GVF
public Vector2d getPathPoint()
point on the path from the projection
public double getDisplacement()
displacement along the path of
pathPoint
public double getError()
signed cross track error
(distance between pathPoint and the query point)