|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Trajectory
This is an interface for different trajectory interpolators.
Wrapper class for C++ library ROBOOP.
Field Summary | |
---|---|
static short |
BAD_DATA
Error type about spline interpolation. |
static short |
NOT_IN_RANGE
Error type about spline interpolation. |
Method Summary | |
---|---|
short |
getError()
Gets error flag. |
short |
getID()
Gets Trajectory class ID. |
pathML.PathConfigurationType |
getXmlHandler()
Gets the xml confguration handler of trajectory. |
double[] |
interpolate(double t)
Interpolates at time t to set the position, velocity and acceleration. |
void |
interpolate(double t,
Quaternion q,
RVector3d w)
Interpolates at time t to set the quaternion and angular velocity. |
void |
interpolate(double t,
RVector3d p,
RVector3d pp,
RVector3d ppp)
Interpolates at time t to set the position, velocity and acceleration. |
void |
interpolate(double t,
RVector3d p,
RVector3d pp,
RVector3d ppp,
Quaternion q,
RVector3d w)
Interpolates at time t to set the position, velocity, acceleration, the quaternion and angular velocity. |
void |
interpolate(double t,
RVector3d p,
RVector3d pp,
RVector3d ppp,
Quaternion q,
RVector3d w,
RVector3d wp)
Interpolates at time t to set the position, velocity, acceleration, the quaternion and angular velocity. |
void |
interpolate(double t,
RVector p,
RVector pp,
RVector ppp)
Interpolates at time t to set the position, velocity and acceleration. |
Field Detail |
---|
static final short BAD_DATA
Spline.interpolate(double, RVector, RVector, RVector)
,
Spline.interpolate(double, Quaternion, RVector3d)
,
Constant Field Valuesstatic final short NOT_IN_RANGE
Spline.interpolate(double, RVector, RVector, RVector)
,
Spline.interpolate(double, Quaternion, RVector3d)
,
Constant Field ValuesMethod Detail |
---|
short getID()
short getError()
interpolate(double, RVector, RVector, RVector)
,
interpolate(double, Quaternion, RVector3d)
pathML.PathConfigurationType getXmlHandler()
void interpolate(double t, RVector p, RVector pp, RVector ppp)
t
- timep
- the position at time tpp
- the velocity at time tppp
- the acceleration at time tvoid interpolate(double t, RVector3d p, RVector3d pp, RVector3d ppp)
t
- timep
- the position at time tpp
- the velocity at time tppp
- the acceleration at time tvoid interpolate(double t, Quaternion q, RVector3d w)
t
- timeq
- the quaternion at time tw
- the angular velocity at time tvoid interpolate(double t, RVector3d p, RVector3d pp, RVector3d ppp, Quaternion q, RVector3d w)
It modifies error flag.
t
- the timep
- the position at time tpp
- the velocity at time tppp
- the acceleration at time tq
- the quaternion at time tw
- the angular velocity at time tgetError()
void interpolate(double t, RVector3d p, RVector3d pp, RVector3d ppp, Quaternion q, RVector3d w, RVector3d wp)
It modifies error flag.
t
- the timep
- the position at time tpp
- the velocity at time tppp
- the acceleration at time tq
- the quaternion at time tw
- the angular velocity at time twp
- the angular acceleration at time tgetError()
double[] interpolate(double t)
t
- time
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |