Package org.robwork.sdurw_trajectory
Class ParabolicBlend_d
- java.lang.Object
-
- org.robwork.sdurw_trajectory.Blend_d
-
- org.robwork.sdurw_trajectory.ParabolicBlend_d
-
public class ParabolicBlend_d extends Blend_d
Implements a parabolic blend
A parabolic blend is characterized by a constant acceleration through the blend. The current
implementation only supports blending between linear segments.
-
-
Constructor Summary
Constructors Constructor Description ParabolicBlend_d(long cPtr, boolean cMemoryOwn)ParabolicBlend_d(LinearInterpolator_dCPtr line1, LinearInterpolator_dCPtr line2, double tau)Constructs parabolic blend between line1 and line2 with tau
as blend time.ParabolicBlend_d(LinearInterpolator_dPtr line1, LinearInterpolator_dPtr line2, double tau)Constructs parabolic blend between line1 and line2 with tau
as blend time.ParabolicBlend_d(LinearInterpolator_d line1, LinearInterpolator_d line2, double tau)Constructs parabolic blend between line1 and line2 with tau
as blend time
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleddx(double t)Conditional comment:
End of conditional comment.voiddelete()doubleduration()get the duration of the blenddoubledx(double t)Conditional comment:
End of conditional comment.static longgetCPtr(ParabolicBlend_d obj)doubletau1()Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()doubletau2()Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()doublex(double t)Conditional comment:
End of conditional comment.
-
-
-
Constructor Detail
-
ParabolicBlend_d
public ParabolicBlend_d(long cPtr, boolean cMemoryOwn)
-
ParabolicBlend_d
public ParabolicBlend_d(LinearInterpolator_d line1, LinearInterpolator_d line2, double tau)
Constructs parabolic blend between line1 and line2 with tau
as blend time- Parameters:
line1- [in] First segmentline2- [in] Second segmenttau- [in] Blend time
-
ParabolicBlend_d
public ParabolicBlend_d(LinearInterpolator_dCPtr line1, LinearInterpolator_dCPtr line2, double tau)
Constructs parabolic blend between line1 and line2 with tau
as blend time. The segments is copied for internal storage- Parameters:
line1- [in] First segmentline2- [in] Second segmenttau- [in] Blend time
-
ParabolicBlend_d
public ParabolicBlend_d(LinearInterpolator_dPtr line1, LinearInterpolator_dPtr line2, double tau)
Constructs parabolic blend between line1 and line2 with tau
as blend time. The segments is copied for internal storage- Parameters:
line1- [in] First segmentline2- [in] Second segmenttau- [in] Blend time
-
-
Method Detail
-
getCPtr
public static long getCPtr(ParabolicBlend_d obj)
-
x
public double x(double t)
Conditional comment:
End of conditional comment.
-
dx
public double dx(double t)
Conditional comment:
End of conditional comment.
-
ddx
public double ddx(double t)
Conditional comment:
End of conditional comment.
-
duration
public double duration()
get the duration of the blend- Returns:
- duration
-
tau1
public double tau1()
Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()
-
-