Public Member Functions | Protected Attributes
planning_environment::PositionConstraintEvaluator Class Reference

#include <kinematic_state_constraint_evaluator.h>

Inheritance diagram for planning_environment::PositionConstraintEvaluator:
Inheritance graph
[legend]

List of all members.

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.
bool decide (double dPos, bool verbose=false) const
 Decide whether the constraint is satisfied. The distances to the position and to the orientation are given.
void evaluate (const planning_models::KinematicState *state, double &distPos, bool verbose=false) const
 Evaluate the distances to the position and to the orientation are given.
const
arm_navigation_msgs::PositionConstraint
getConstraintMessage (void) const
 Get the constraint message.
 PositionConstraintEvaluator (void)
void print (std::ostream &out=std::cout) const
 Print the constraint data.
bool use (const arm_navigation_msgs::PositionConstraint &pc)
 This function assumes the constraint has been transformed into the proper frame, if such a transform is needed.

Protected Attributes

boost::scoped_ptr< bodies::Bodym_constraint_region
tf::Vector3 m_offset
arm_navigation_msgs::PositionConstraint m_pc
double m_x
double m_y
double m_z

Detailed Description

Definition at line 182 of file kinematic_state_constraint_evaluator.h.


Constructor & Destructor Documentation

Definition at line 186 of file kinematic_state_constraint_evaluator.h.


Member Function Documentation

Clear the stored constraint.

Implements planning_environment::KinematicConstraintEvaluator.

Definition at line 203 of file kinematic_state_constraint_evaluator.cpp.

bool planning_environment::PositionConstraintEvaluator::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 211 of file kinematic_state_constraint_evaluator.cpp.

bool planning_environment::PositionConstraintEvaluator::decide ( double  dPos,
bool  verbose = false 
) const

Decide whether the constraint is satisfied. The distances to the position and to the orientation are given.

Definition at line 339 of file kinematic_state_constraint_evaluator.cpp.

void planning_environment::PositionConstraintEvaluator::evaluate ( const planning_models::KinematicState state,
double &  distPos,
bool  verbose = false 
) const

Evaluate the distances to the position and to the orientation are given.

Definition at line 292 of file kinematic_state_constraint_evaluator.cpp.

Get the constraint message.

Definition at line 349 of file kinematic_state_constraint_evaluator.cpp.

void planning_environment::PositionConstraintEvaluator::print ( std::ostream &  out = std::cout) const [virtual]

Print the constraint data.

Reimplemented from planning_environment::KinematicConstraintEvaluator.

Definition at line 359 of file kinematic_state_constraint_evaluator.cpp.

This function assumes the constraint has been transformed into the proper frame, if such a transform is needed.

Definition at line 167 of file kinematic_state_constraint_evaluator.cpp.


Member Data Documentation

Definition at line 217 of file kinematic_state_constraint_evaluator.h.

Definition at line 216 of file kinematic_state_constraint_evaluator.h.

Definition at line 214 of file kinematic_state_constraint_evaluator.h.

Definition at line 215 of file kinematic_state_constraint_evaluator.h.

Definition at line 215 of file kinematic_state_constraint_evaluator.h.

Definition at line 215 of file kinematic_state_constraint_evaluator.h.


The documentation for this class was generated from the following files:


planning_environment
Author(s): Ioan Sucan
autogenerated on Mon Dec 2 2013 12:34:44