#include <kinematic_state_constraint_evaluator.h>
Public Member Functions | |
bool | add (const std::vector< motion_planning_msgs::VisibilityConstraint > &pc) |
Add a set of orientation constraints. | |
bool | add (const std::vector< motion_planning_msgs::OrientationConstraint > &pc) |
Add a set of orientation constraints. | |
bool | add (const std::vector< motion_planning_msgs::PositionConstraint > &pc) |
Add a set of position constraints. | |
bool | add (const std::vector< motion_planning_msgs::JointConstraint > &jc) |
Add a set of joint constraints. | |
void | clear (void) |
Clear the stored constraints. | |
bool | decide (const planning_models::KinematicState *state, bool verbose=false) const |
Decide whether the set of constraints is satisfied. | |
const std::vector < motion_planning_msgs::JointConstraint > & | getJointConstraints (void) const |
Get the active pose constraints. | |
const std::vector < motion_planning_msgs::OrientationConstraint > & | getOrientationConstraints (void) const |
Get the active orientation constraints. | |
const std::vector < motion_planning_msgs::PositionConstraint > & | getPositionConstraints (void) const |
Get the active position constraints. | |
KinematicConstraintEvaluatorSet (void) | |
void | print (std::ostream &out=std::cout) const |
Print the constraint data. | |
~KinematicConstraintEvaluatorSet (void) | |
Protected Attributes | |
std::vector < motion_planning_msgs::JointConstraint > | m_jc |
std::vector < KinematicConstraintEvaluator * > | m_kce |
std::vector < motion_planning_msgs::OrientationConstraint > | m_oc |
std::vector < motion_planning_msgs::PositionConstraint > | m_pc |
std::vector < motion_planning_msgs::VisibilityConstraint > | m_vc |
Definition at line 235 of file kinematic_state_constraint_evaluator.h.
planning_environment::KinematicConstraintEvaluatorSet::KinematicConstraintEvaluatorSet | ( | void | ) | [inline] |
Definition at line 239 of file kinematic_state_constraint_evaluator.h.
planning_environment::KinematicConstraintEvaluatorSet::~KinematicConstraintEvaluatorSet | ( | void | ) | [inline] |
Definition at line 243 of file kinematic_state_constraint_evaluator.h.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< motion_planning_msgs::VisibilityConstraint > & | pc | ) |
Add a set of orientation constraints.
Definition at line 486 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< motion_planning_msgs::OrientationConstraint > & | pc | ) |
Add a set of orientation constraints.
Definition at line 472 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< motion_planning_msgs::PositionConstraint > & | pc | ) |
Add a set of position constraints.
Definition at line 459 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< motion_planning_msgs::JointConstraint > & | jc | ) |
Add a set of joint constraints.
Definition at line 446 of file kinematic_state_constraint_evaluator.cpp.
void planning_environment::KinematicConstraintEvaluatorSet::clear | ( | void | ) |
Clear the stored constraints.
Definition at line 436 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::KinematicConstraintEvaluatorSet::decide | ( | const planning_models::KinematicState * | state, | |
bool | verbose = false | |||
) | const |
Decide whether the set of constraints is satisfied.
Definition at line 499 of file kinematic_state_constraint_evaluator.cpp.
const std::vector<motion_planning_msgs::JointConstraint>& planning_environment::KinematicConstraintEvaluatorSet::getJointConstraints | ( | void | ) | const [inline] |
Get the active pose constraints.
Definition at line 283 of file kinematic_state_constraint_evaluator.h.
const std::vector<motion_planning_msgs::OrientationConstraint>& planning_environment::KinematicConstraintEvaluatorSet::getOrientationConstraints | ( | void | ) | const [inline] |
Get the active orientation constraints.
Definition at line 277 of file kinematic_state_constraint_evaluator.h.
const std::vector<motion_planning_msgs::PositionConstraint>& planning_environment::KinematicConstraintEvaluatorSet::getPositionConstraints | ( | void | ) | const [inline] |
Get the active position constraints.
Definition at line 271 of file kinematic_state_constraint_evaluator.h.
void planning_environment::KinematicConstraintEvaluatorSet::print | ( | std::ostream & | out = std::cout |
) | const |
Print the constraint data.
Definition at line 510 of file kinematic_state_constraint_evaluator.cpp.
std::vector<motion_planning_msgs::JointConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_jc [protected] |
Definition at line 291 of file kinematic_state_constraint_evaluator.h.
std::vector<KinematicConstraintEvaluator*> planning_environment::KinematicConstraintEvaluatorSet::m_kce [protected] |
Definition at line 290 of file kinematic_state_constraint_evaluator.h.
std::vector<motion_planning_msgs::OrientationConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_oc [protected] |
Definition at line 294 of file kinematic_state_constraint_evaluator.h.
std::vector<motion_planning_msgs::PositionConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_pc [protected] |
Definition at line 293 of file kinematic_state_constraint_evaluator.h.
std::vector<motion_planning_msgs::VisibilityConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_vc [protected] |
Definition at line 295 of file kinematic_state_constraint_evaluator.h.