A "motion row" is a container for motion constraints that share the same priority. More...
#include <hpp/gik/core/motion-plan-row.hh>
Public Member Functions | |
ChppGikMotionPlanRow (CjrlDynamicRobot *inRobot, unsigned int priority) | |
Constructor. More... | |
unsigned int | priority () const |
Get the priority. More... | |
double | accuracy () const |
Get the accuracy. More... | |
void | addMotion (ChppGikPrioritizedMotion *inMotion) |
Add a prioritized motion. More... | |
bool | removeMotion (ChppGikPrioritizedMotion *inMotion) |
Add a prioritized motion. More... | |
ChppGikMotionPlanElement * | elementAtTime (double inTime) |
Get the motion element at a given time. More... | |
double | startTime () |
Get lower bound of definition interval. More... | |
double | endTime () |
Get upper bound of definition interval. More... | |
bool | empty () const |
Tell if this row is empty. More... | |
~ChppGikMotionPlanRow () | |
Destructor. More... | |
A "motion row" is a container for motion constraints that share the same priority.
This is a low level object.
ChppGikMotionPlanRow::ChppGikMotionPlanRow | ( | CjrlDynamicRobot * | inRobot, |
unsigned int | priority | ||
) |
Constructor.
ChppGikMotionPlanRow::~ChppGikMotionPlanRow | ( | ) |
Destructor.
double ChppGikMotionPlanRow::accuracy | ( | ) | const |
Get the accuracy.
void ChppGikMotionPlanRow::addMotion | ( | ChppGikPrioritizedMotion * | inMotion | ) |
Add a prioritized motion.
ChppGikMotionPlanElement* ChppGikMotionPlanRow::elementAtTime | ( | double | inTime | ) |
Get the motion element at a given time.
bool ChppGikMotionPlanRow::empty | ( | ) | const |
Tell if this row is empty.
double ChppGikMotionPlanRow::endTime | ( | ) |
Get upper bound of definition interval.
unsigned int ChppGikMotionPlanRow::priority | ( | ) | const |
Get the priority.
bool ChppGikMotionPlanRow::removeMotion | ( | ChppGikPrioritizedMotion * | inMotion | ) |
Add a prioritized motion.
double ChppGikMotionPlanRow::startTime | ( | ) |
Get lower bound of definition interval.