#include <kinematic_state_constraint_evaluator.h>
Public Member Functions | |
virtual void | clear (void) |
Clear the stored constraint. | |
virtual bool | decide (const planning_models::KinematicState *state, bool verbose=false) const |
Decide whether the constraint is satisfied in the indicated state or group, if specified. | |
const motion_planning_msgs::JointConstraint & | getConstraintMessage (void) const |
Get the constraint message. | |
JointConstraintEvaluator (void) | |
virtual void | print (std::ostream &out=std::cout) const |
Print the constraint data. | |
bool | use (const motion_planning_msgs::JointConstraint &jc) |
This function assumes the constraint has been transformed into the proper frame, if such a transform is needed. | |
virtual bool | use (const ros::Message *kc) |
This function assumes the constraint has been transformed into the proper frame, if such a transform is needed. | |
Protected Attributes | |
motion_planning_msgs::JointConstraint | m_jc |
const planning_models::KinematicModel::JointModel * | m_joint |
Definition at line 85 of file kinematic_state_constraint_evaluator.h.
planning_environment::JointConstraintEvaluator::JointConstraintEvaluator | ( | void | ) | [inline] |
Definition at line 89 of file kinematic_state_constraint_evaluator.h.
void planning_environment::JointConstraintEvaluator::clear | ( | void | ) | [virtual] |
Clear the stored constraint.
Implements planning_environment::KinematicConstraintEvaluator.
Definition at line 97 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::JointConstraintEvaluator::decide | ( | const planning_models::KinematicState * | state, | |
bool | verbose = false | |||
) | const [virtual] |
Decide whether the constraint is satisfied in the indicated state or group, if specified.
Implements planning_environment::KinematicConstraintEvaluator.
Definition at line 58 of file kinematic_state_constraint_evaluator.cpp.
const motion_planning_msgs::JointConstraint & planning_environment::JointConstraintEvaluator::getConstraintMessage | ( | void | ) | const |
Get the constraint message.
Definition at line 101 of file kinematic_state_constraint_evaluator.cpp.
void planning_environment::JointConstraintEvaluator::print | ( | std::ostream & | out = std::cout |
) | const [virtual] |
Print the constraint data.
Reimplemented from planning_environment::KinematicConstraintEvaluator.
Definition at line 106 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::JointConstraintEvaluator::use | ( | const motion_planning_msgs::JointConstraint & | jc | ) |
This function assumes the constraint has been transformed into the proper frame, if such a transform is needed.
Definition at line 52 of file kinematic_state_constraint_evaluator.cpp.
bool planning_environment::JointConstraintEvaluator::use | ( | const ros::Message * | kc | ) | [virtual] |
This function assumes the constraint has been transformed into the proper frame, if such a transform is needed.
Implements planning_environment::KinematicConstraintEvaluator.
Definition at line 43 of file kinematic_state_constraint_evaluator.cpp.
motion_planning_msgs::JointConstraint planning_environment::JointConstraintEvaluator::m_jc [protected] |
Definition at line 115 of file kinematic_state_constraint_evaluator.h.
const planning_models::KinematicModel::JointModel* planning_environment::JointConstraintEvaluator::m_joint [protected] |
Definition at line 116 of file kinematic_state_constraint_evaluator.h.