public class LowFrequencyPositionFilter extends PositionFilter
Constructor and Description |
---|
LowFrequencyPositionFilter()
Default constructor
|
LowFrequencyPositionFilter(int i)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
filterPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
Execute a filter pass: takes the current position of an object, adds it to
the internal buffer, and interpolates a (hopefully) more reliable
estimate.
|
reset
public LowFrequencyPositionFilter()
public LowFrequencyPositionFilter(int i)
i
- Internal buffer size for past position valuespublic org.apache.commons.math3.geometry.euclidean.threed.Vector3D filterPosition(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
filterPosition
in interface IPositionFilter
filterPosition
in class PositionFilterBase
position
- Current position