#include <kinematic_state_constraint_evaluator.h>
Public Member Functions | |
bool | add (const std::vector< arm_navigation_msgs::JointConstraint > &jc) |
Add a set of joint constraints. | |
bool | add (const std::vector< arm_navigation_msgs::PositionConstraint > &pc) |
Add a set of position constraints. | |
bool | add (const std::vector< arm_navigation_msgs::OrientationConstraint > &pc) |
Add a set of orientation constraints. | |
bool | add (const std::vector< arm_navigation_msgs::VisibilityConstraint > &pc) |
Add a set of orientation 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 < arm_navigation_msgs::JointConstraint > & | getJointConstraints (void) const |
Get the active pose constraints. | |
const std::vector < arm_navigation_msgs::OrientationConstraint > & | getOrientationConstraints (void) const |
Get the active orientation constraints. | |
const std::vector < arm_navigation_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 < arm_navigation_msgs::JointConstraint > | m_jc |
std::vector < KinematicConstraintEvaluator * > | m_kce |
std::vector < arm_navigation_msgs::OrientationConstraint > | m_oc |
std::vector < arm_navigation_msgs::PositionConstraint > | m_pc |
std::vector < arm_navigation_msgs::VisibilityConstraint > | m_vc |
Definition at line 220 of file kinematic_state_constraint_evaluator.h.
planning_environment::KinematicConstraintEvaluatorSet::KinematicConstraintEvaluatorSet | ( | void | ) | [inline] |
Definition at line 224 of file kinematic_state_constraint_evaluator.h.
planning_environment::KinematicConstraintEvaluatorSet::~KinematicConstraintEvaluatorSet | ( | void | ) | [inline] |
Definition at line 228 of file kinematic_state_constraint_evaluator.h.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< arm_navigation_msgs::JointConstraint > & | jc | ) |
Add a set of joint constraints.
Definition at line 419 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< arm_navigation_msgs::PositionConstraint > & | pc | ) |
Add a set of position constraints.
Definition at line 432 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< arm_navigation_msgs::OrientationConstraint > & | pc | ) |
Add a set of orientation constraints.
Definition at line 445 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::KinematicConstraintEvaluatorSet::add | ( | const std::vector< arm_navigation_msgs::VisibilityConstraint > & | pc | ) |
Add a set of orientation constraints.
Definition at line 459 of file kinematic_state_constraint_evaluator.cpp.
Clear the stored constraints.
Definition at line 409 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 472 of file kinematic_state_constraint_evaluator.cpp.
const std::vector<arm_navigation_msgs::JointConstraint>& planning_environment::KinematicConstraintEvaluatorSet::getJointConstraints | ( | void | ) | const [inline] |
Get the active pose constraints.
Definition at line 268 of file kinematic_state_constraint_evaluator.h.
const std::vector<arm_navigation_msgs::OrientationConstraint>& planning_environment::KinematicConstraintEvaluatorSet::getOrientationConstraints | ( | void | ) | const [inline] |
Get the active orientation constraints.
Definition at line 262 of file kinematic_state_constraint_evaluator.h.
const std::vector<arm_navigation_msgs::PositionConstraint>& planning_environment::KinematicConstraintEvaluatorSet::getPositionConstraints | ( | void | ) | const [inline] |
Get the active position constraints.
Definition at line 256 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 483 of file kinematic_state_constraint_evaluator.cpp.
std::vector<arm_navigation_msgs::JointConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_jc [protected] |
Definition at line 276 of file kinematic_state_constraint_evaluator.h.
std::vector<KinematicConstraintEvaluator*> planning_environment::KinematicConstraintEvaluatorSet::m_kce [protected] |
Definition at line 275 of file kinematic_state_constraint_evaluator.h.
std::vector<arm_navigation_msgs::OrientationConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_oc [protected] |
Definition at line 279 of file kinematic_state_constraint_evaluator.h.
std::vector<arm_navigation_msgs::PositionConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_pc [protected] |
Definition at line 278 of file kinematic_state_constraint_evaluator.h.
std::vector<arm_navigation_msgs::VisibilityConstraint> planning_environment::KinematicConstraintEvaluatorSet::m_vc [protected] |
Definition at line 280 of file kinematic_state_constraint_evaluator.h.