Package org.robwork.sdurw_trajectory
Class LloydHaywardBlend_d_f
- java.lang.Object
-
- org.robwork.sdurw_trajectory.Blend_d_f
-
- org.robwork.sdurw_trajectory.LloydHaywardBlend_d_f
-
public class LloydHaywardBlend_d_f extends Blend_d_f
Implements LloydHayward blending
The LloydHayward blend [1], makes a smooth continous differentiable transition between
two interpolators.
[1]: J. Lloyd, V. Hayward. Real-Time Trajectory Generation Using Blend Functions,
Proc. Int. Conf. on Robotics and Automation, 1991, pp. 784-798.
-
-
Constructor Summary
Constructors Constructor Description LloydHaywardBlend_d_f(long cPtr, boolean cMemoryOwn)
LloydHaywardBlend_d_f(Interpolator_d_f interpolator1, Interpolator_d_f interpolator2, double tau)
Constructs LloydHaywardBlend between interpolator1 and interpolator2.
The blend starts tau before the end of interpolator1 and finished tau after the
start of interpolator2.LloydHaywardBlend_d_f(Interpolator_d_f interpolator1, Interpolator_d_f interpolator2, double tau, double kappa)
Constructs LloydHaywardBlend between interpolator1 and interpolator2.
The blend starts tau before the end of interpolator1 and finished tau after the
start of interpolator2.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description float
ddx(double t)
The acceleration for a given time tvoid
delete()
float
dx(double t)
The velocity for a given time tstatic long
getCPtr(LloydHaywardBlend_d_f obj)
double
kappa()
Returns the kappa value used in the blenddouble
tau1()
Note: For ParabolicBlend getTau1()==getTau2()double
tau2()
Note: For ParabolicBlend getTau1()==getTau2()float
x(double t)
<T>::x
-
-
-
Constructor Detail
-
LloydHaywardBlend_d_f
public LloydHaywardBlend_d_f(long cPtr, boolean cMemoryOwn)
-
LloydHaywardBlend_d_f
public LloydHaywardBlend_d_f(Interpolator_d_f interpolator1, Interpolator_d_f interpolator2, double tau, double kappa)
Constructs LloydHaywardBlend between interpolator1 and interpolator2.
The blend starts tau before the end of interpolator1 and finished tau after the
start of interpolator2. The constant kappa specifies characteristics of the blend
as described in [1].
- Parameters:
interpolator1
- [in] First interpolator, no ownership transferredinterpolator2
- [in] Second interpolator, no ownership transferredtau
- [in] Blend timekappa
- [in] Blend characteristic (default 15/2 for acceleration minimal blend
between linie segments)
-
LloydHaywardBlend_d_f
public LloydHaywardBlend_d_f(Interpolator_d_f interpolator1, Interpolator_d_f interpolator2, double tau)
Constructs LloydHaywardBlend between interpolator1 and interpolator2.
The blend starts tau before the end of interpolator1 and finished tau after the
start of interpolator2. The constant kappa specifies characteristics of the blend
as described in [1].
- Parameters:
interpolator1
- [in] First interpolator, no ownership transferredinterpolator2
- [in] Second interpolator, no ownership transferredtau
- [in] Blend time
-
-
Method Detail
-
getCPtr
public static long getCPtr(LloydHaywardBlend_d_f obj)
-
x
public float x(double t)
<T>::x
-
dx
public float dx(double t)
Description copied from class:Blend_d_f
The velocity for a given time t
-
ddx
public float ddx(double t)
Description copied from class:Blend_d_f
The acceleration for a given time t
-
tau1
public double tau1()
Note: For ParabolicBlend getTau1()==getTau2()
-
tau2
public double tau2()
Note: For ParabolicBlend getTau1()==getTau2()
-
kappa
public double kappa()
Returns the kappa value used in the blend
-
-