6 #ifndef VART_NATURALINTERPOLATOR_H
7 #define VART_NATURALINTERPOLATOR_H
24 virtual float GetValue(
float linearIndex,
float initialValue,
float range)
const;
29 void SetNoise(
float newNoiseAmplitude,
float newNoiseWaveLenght);
55 std::list<float> noisePositionPeaks;
56 std::list<float> noiseAmplitudePeaks;
57 std::list<float>::iterator nextPeakItr;
58 std::list<float>::iterator prevPeakItr;
NaturalInterpolator()
Creates an unitialized natural interpolator.
Smooth (sine function) interpolator.
void SetOvershoot(float value)
virtual float GetValue(float linearIndex, float initialValue, float range) const
Evaluates a goal position for DOF interpolation.
Header file for V-ART class "SineInterpolator".
float noiseWaveLenght
Noise wave length.
float offset
how much to miss the target
void SetOffset(float value)
An interpolator for natural joint movement.
float overshoot
how much to pass the target before correction
float peakTime
Overshoot time.
float noiseAmplitude
Noise amplitude (noise level)
void SetNoise(float newNoiseAmplitude, float newNoiseWaveLenght)