#include <grasp_evaluator.h>
Public Member Functions | |
virtual double | evaluate (const GraspWM &grasp, const object_manipulation_msgs::GraspableObject &object) const =0 |
Evalute a single grasp (raw grasp metric). | |
virtual void | evaluate_list (std::vector< GraspWM > &grasps, const object_manipulation_msgs::GraspableObject &object, std::vector< double > &values) |
Evaluate an entire list of grasps (overwrite if there is a batch operation for an inherited class). | |
bool | is_object_dependent () |
Returns whether this evaluator cares about the 'correct' object identity. | |
Protected Attributes | |
bool | object_dependent_ |
Definition at line 53 of file grasp_evaluator.h.
virtual double bayesian_grasp_planner::RawGraspEvaluator::evaluate | ( | const GraspWM & | grasp, | |
const object_manipulation_msgs::GraspableObject & | object | |||
) | const [pure virtual] |
Evalute a single grasp (raw grasp metric).
Implemented in bayesian_grasp_planner::MultiplexEvaluator, bayesian_grasp_planner::RawGraspEvaluatorWithRegression, and bayesian_grasp_planner::RawGraspEvaluatorServiceCaller.
virtual void bayesian_grasp_planner::RawGraspEvaluator::evaluate_list | ( | std::vector< GraspWM > & | grasps, | |
const object_manipulation_msgs::GraspableObject & | object, | |||
std::vector< double > & | values | |||
) | [inline, virtual] |
Evaluate an entire list of grasps (overwrite if there is a batch operation for an inherited class).
Reimplemented in bayesian_grasp_planner::MultiplexEvaluator, and bayesian_grasp_planner::RawGraspEvaluatorServiceCaller.
Definition at line 64 of file grasp_evaluator.h.
bool bayesian_grasp_planner::RawGraspEvaluator::is_object_dependent | ( | ) | [inline] |
Returns whether this evaluator cares about the 'correct' object identity.
Definition at line 77 of file grasp_evaluator.h.
bool bayesian_grasp_planner::RawGraspEvaluator::object_dependent_ [protected] |
Definition at line 56 of file grasp_evaluator.h.