#include <grasp_evaluator.h>
Public Member Functions | |
double | evaluate (const GraspWM &grasp, const object_manipulation_msgs::GraspableObject &object) const |
Evalute a single grasp (raw grasp metric) | |
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) | |
RawGraspEvaluatorServiceCaller (ros::NodeHandle &nh, std::string service_name, bool object_dependent) | |
Private Attributes | |
ros::ServiceClient | service_ |
std::string | service_name_ |
Definition at line 147 of file grasp_evaluator.h.
bayesian_grasp_planner::RawGraspEvaluatorServiceCaller::RawGraspEvaluatorServiceCaller | ( | ros::NodeHandle & | nh, |
std::string | service_name, | ||
bool | object_dependent | ||
) |
Definition at line 99 of file grasp_evaluator.cpp.
double bayesian_grasp_planner::RawGraspEvaluatorServiceCaller::evaluate | ( | const GraspWM & | grasp, |
const object_manipulation_msgs::GraspableObject & | object | ||
) | const [virtual] |
Evalute a single grasp (raw grasp metric)
Implements bayesian_grasp_planner::RawGraspEvaluator.
Definition at line 106 of file grasp_evaluator.cpp.
void bayesian_grasp_planner::RawGraspEvaluatorServiceCaller::evaluate_list | ( | std::vector< GraspWM > & | grasps, |
const object_manipulation_msgs::GraspableObject & | object, | ||
std::vector< double > & | values | ||
) | [virtual] |
Evaluate an entire list of grasps (overwrite if there is a batch operation for an inherited class)
Reimplemented from bayesian_grasp_planner::RawGraspEvaluator.
Definition at line 121 of file grasp_evaluator.cpp.
ros::ServiceClient bayesian_grasp_planner::RawGraspEvaluatorServiceCaller::service_ [mutable, private] |
Definition at line 151 of file grasp_evaluator.h.
std::string bayesian_grasp_planner::RawGraspEvaluatorServiceCaller::service_name_ [private] |
Definition at line 152 of file grasp_evaluator.h.