|
cisst-saw
|
Trajectory generator based on Reflexxes Type II Library. More...
#include <robReflexxes.h>
Public Types | |
| enum | SynchronizationType { Reflexxes_NONE , Reflexxes_TIME , Reflexxes_PHASE } |
| enum | ResultType { Reflexxes_UNDEFINDED , Reflexxes_WORKING , Reflexxes_FINAL_STATE_REACHED , Reflexxes_ERROR } |
Public Member Functions | |
| robReflexxes (void) | |
| robReflexxes (const vctDoubleVec &MaxVelocity, const vctDoubleVec &MaxAcceleration, const double CycleTime, const SynchronizationType synchronization=Reflexxes_NONE) | |
| robReflexxes (const vctDoubleVec &MaxVelocity, const vctDoubleVec &MaxAcceleration, const vctDoubleVec &MaxJerk, const double CycleTime, const SynchronizationType synchronization=Reflexxes_NONE) | |
| ~robReflexxes () | |
| void | Init (void) |
| const ResultType & | ResultValue (void) const |
| double | Duration (void) const |
| const double & | Time (void) const |
| void | SetTime (const double &time) |
| void | Set (const vctDoubleVec &MaxVelocity, const vctDoubleVec &MaxAcceleration, const double CycleTime, const SynchronizationType synchronization=Reflexxes_NONE) |
| Set target positions and velocities as well as desired maximum velocities and accelerations. All vectors must match the target position size. | |
| void | Set (const vctDoubleVec &MaxVelocity, const vctDoubleVec &MaxAcceleration, const vctDoubleVec &MaxJerk, const double CycleTime, const SynchronizationType synchronization=Reflexxes_NONE) |
| void | Evaluate (vctDoubleVec &CurrentPosition, vctDoubleVec &CurrentVelocity, const vctDoubleVec &TargetPosition, const vctDoubleVec &TargetVelocity) |
Protected Attributes | |
| bool | mIsSet |
| size_t | mDimension |
| SynchronizationType | mSynchronization |
| ReflexxesAPI * | RML |
| RMLPositionInputParameters * | IP |
| RMLPositionOutputParameters * | OP |
| RMLPositionFlags * | mFlags |
| ResultType | mResultValue |
| double | mTime |
| vctDoubleVec | mCurrentAcceleration |
Trajectory generator based on Reflexxes Type II Library.
Details can be found in www.reflexxes.com.
| robReflexxes::robReflexxes | ( | void | ) |
| robReflexxes::robReflexxes | ( | const vctDoubleVec & | MaxVelocity, |
| const vctDoubleVec & | MaxAcceleration, | ||
| const double | CycleTime, | ||
| const SynchronizationType | synchronization = Reflexxes_NONE ) |
| robReflexxes::robReflexxes | ( | const vctDoubleVec & | MaxVelocity, |
| const vctDoubleVec & | MaxAcceleration, | ||
| const vctDoubleVec & | MaxJerk, | ||
| const double | CycleTime, | ||
| const SynchronizationType | synchronization = Reflexxes_NONE ) |
| robReflexxes::~robReflexxes | ( | ) |
| double robReflexxes::Duration | ( | void | ) | const |
Returns expected time left after last Evaluate call.
| void robReflexxes::Evaluate | ( | vctDoubleVec & | CurrentPosition, |
| vctDoubleVec & | CurrentVelocity, | ||
| const vctDoubleVec & | TargetPosition, | ||
| const vctDoubleVec & | TargetVelocity ) |
| void robReflexxes::Init | ( | void | ) |
| const ResultType & robReflexxes::ResultValue | ( | void | ) | const |
| void robReflexxes::Set | ( | const vctDoubleVec & | MaxVelocity, |
| const vctDoubleVec & | MaxAcceleration, | ||
| const double | CycleTime, | ||
| const SynchronizationType | synchronization = Reflexxes_NONE ) |
Set target positions and velocities as well as desired maximum velocities and accelerations. All vectors must match the target position size.
| maximum | velocities |
| maximum | acceleration |
| void robReflexxes::Set | ( | const vctDoubleVec & | MaxVelocity, |
| const vctDoubleVec & | MaxAcceleration, | ||
| const vctDoubleVec & | MaxJerk, | ||
| const double | CycleTime, | ||
| const SynchronizationType | synchronization = Reflexxes_NONE ) |
| void robReflexxes::SetTime | ( | const double & | time | ) |
| const double & robReflexxes::Time | ( | void | ) | const |
|
protected |
|
protected |
|
protected |
Number of degrees of freedom
|
protected |
|
protected |
To ensure we don't evaluate if the parameters are not set
|
protected |
|
protected |
synchronization type we can set
|
protected |
|
protected |
|
protected |