Package org.robwork.sdurw_trajectory
Class Interpolator_d_f
- java.lang.Object
-
- org.robwork.sdurw_trajectory.Interpolator_d_f
-
- Direct Known Subclasses:
CubicSplineInterpolator_d_f,LinearInterpolator_d_f,RampInterpolator_d_f
public class Interpolator_d_f extends java.lang.ObjectInterface for interpolators
See the specific implementations for more details
-
-
Constructor Summary
Constructors Constructor Description Interpolator_d_f(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description floatddx(double t)Acceleration at time tvoiddelete()doubleduration()Returns the duration of the interpolator
The duration is defined as the time it takes to move from one end
of the interpolator to the other.floatdx(double t)Velocity at time tstatic longgetCPtr(Interpolator_d_f obj)floatx(double t)Position at time t
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(Interpolator_d_f obj)
-
delete
public void delete()
-
x
public float x(double t)
Position at time t- Parameters:
t- [in] time between 0 and length- Returns:
- Position
-
dx
public float dx(double t)
Velocity at time t- Parameters:
t- [in] time between 0 and length- Returns:
- Velocity
-
ddx
public float ddx(double t)
Acceleration at time t- Parameters:
t- [in] time between 0 and length- Returns:
- Acceleration
-
duration
public double duration()
Returns the duration of the interpolator
The duration is defined as the time it takes to move from one end
of the interpolator to the other.- Returns:
- duration
-
-