Package org.robwork.sdurw_trajectory
Class ParabolicBlendTransform3D_f
- java.lang.Object
-
- org.robwork.sdurw_trajectory.BlendTransform3D_f
-
- org.robwork.sdurw_trajectory.ParabolicBlendTransform3D_f
-
public class ParabolicBlendTransform3D_f extends BlendTransform3D_f
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 ParabolicBlendTransform3D_f(long cPtr, boolean cMemoryOwn)ParabolicBlendTransform3D_f(LinearInterpolatorTransform3D_fCPtr line1, LinearInterpolatorTransform3D_fCPtr line2, double tau)Constructs parabolic blend between line1 and line2 with tau
as blend time.ParabolicBlendTransform3D_f(LinearInterpolatorTransform3D_fPtr line1, LinearInterpolatorTransform3D_fPtr line2, double tau)Constructs parabolic blend between line1 and line2 with tau
as blend time.ParabolicBlendTransform3D_f(LinearInterpolatorTransform3D_f line1, LinearInterpolatorTransform3D_f 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 Transform3Dfddx(double t)Conditional comment:
End of conditional comment.voiddelete()doubleduration()get the duration of the blendTransform3Dfdx(double t)Conditional comment:
End of conditional comment.static longgetCPtr(ParabolicBlendTransform3D_f 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()Transform3Dfx(double t)Conditional comment:
End of conditional comment.-
Methods inherited from class org.robwork.sdurw_trajectory.BlendTransform3D_f
getCPtr
-
-
-
-
Constructor Detail
-
ParabolicBlendTransform3D_f
public ParabolicBlendTransform3D_f(long cPtr, boolean cMemoryOwn)
-
ParabolicBlendTransform3D_f
public ParabolicBlendTransform3D_f(LinearInterpolatorTransform3D_f line1, LinearInterpolatorTransform3D_f 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
-
ParabolicBlendTransform3D_f
public ParabolicBlendTransform3D_f(LinearInterpolatorTransform3D_fCPtr line1, LinearInterpolatorTransform3D_fCPtr 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
-
ParabolicBlendTransform3D_f
public ParabolicBlendTransform3D_f(LinearInterpolatorTransform3D_fPtr line1, LinearInterpolatorTransform3D_fPtr 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(ParabolicBlendTransform3D_f obj)
-
delete
public void delete()
- Overrides:
deletein classBlendTransform3D_f
-
x
public Transform3Df x(double t)
Conditional comment:
End of conditional comment.- Overrides:
xin classBlendTransform3D_f- Parameters:
t- [in] t\in[0,\tau_1+\tau_2]- Returns:
- Position at time t
-
dx
public Transform3Df dx(double t)
Conditional comment:
End of conditional comment.- Overrides:
dxin classBlendTransform3D_f- Parameters:
t- [in] t\in[0,\tau_1+\tau_2]- Returns:
- Velocity at time t
-
ddx
public Transform3Df ddx(double t)
Conditional comment:
End of conditional comment.- Overrides:
ddxin classBlendTransform3D_f- Parameters:
t- [in] t\in[0,\tau_1+\tau_2]- Returns:
- Acceleration at time t
-
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()- Overrides:
tau1in classBlendTransform3D_f- Returns:
- \tau_1
-
tau2
public double tau2()
Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()- Overrides:
tau2in classBlendTransform3D_f- Returns:
- \tau_2
-
-