#include <grasp_evaluator.h>
Public Member Functions | |
void | getProbabilitiesForGrasp (const GraspWM &grasp, const object_manipulation_msgs::GraspableObject &object, double &success_prob, double &failure_prob) const |
Get conditional probabilities for a single grasp. | |
void | getProbabilitiesForGraspList (std::vector< GraspWM > &grasps, const object_manipulation_msgs::GraspableObject &object, std::vector< double > &success_probs, std::vector< double > &failure_probs) const |
Get conditional probabilities for an entire list of grasps. | |
GraspEvaluatorProb (boost::shared_ptr< ProbabilityDistribution > success_distribution, boost::shared_ptr< ProbabilityDistribution > failure_distribution, boost::shared_ptr< RawGraspEvaluator > evaluator) | |
bool | is_object_dependent () |
Returns whether this evaluator cares about the 'correct' object identity. | |
Private Attributes | |
boost::shared_ptr < RawGraspEvaluator > | evaluator_ |
boost::shared_ptr < ProbabilityDistribution > | failure_distribution_ |
boost::shared_ptr < ProbabilityDistribution > | success_distribution_ |
Definition at line 166 of file grasp_evaluator.h.
bayesian_grasp_planner::GraspEvaluatorProb::GraspEvaluatorProb | ( | boost::shared_ptr< ProbabilityDistribution > | success_distribution, | |
boost::shared_ptr< ProbabilityDistribution > | failure_distribution, | |||
boost::shared_ptr< RawGraspEvaluator > | evaluator | |||
) | [inline] |
Definition at line 174 of file grasp_evaluator.h.
void bayesian_grasp_planner::GraspEvaluatorProb::getProbabilitiesForGrasp | ( | const GraspWM & | grasp, | |
const object_manipulation_msgs::GraspableObject & | object, | |||
double & | success_prob, | |||
double & | failure_prob | |||
) | const [inline] |
Get conditional probabilities for a single grasp.
Definition at line 188 of file grasp_evaluator.h.
void bayesian_grasp_planner::GraspEvaluatorProb::getProbabilitiesForGraspList | ( | std::vector< GraspWM > & | grasps, | |
const object_manipulation_msgs::GraspableObject & | object, | |||
std::vector< double > & | success_probs, | |||
std::vector< double > & | failure_probs | |||
) | const [inline] |
Get conditional probabilities for an entire list of grasps.
Definition at line 197 of file grasp_evaluator.h.
bool bayesian_grasp_planner::GraspEvaluatorProb::is_object_dependent | ( | ) | [inline] |
Returns whether this evaluator cares about the 'correct' object identity.
Definition at line 182 of file grasp_evaluator.h.
boost::shared_ptr<RawGraspEvaluator> bayesian_grasp_planner::GraspEvaluatorProb::evaluator_ [private] |
Definition at line 171 of file grasp_evaluator.h.
boost::shared_ptr<ProbabilityDistribution> bayesian_grasp_planner::GraspEvaluatorProb::failure_distribution_ [private] |
Definition at line 170 of file grasp_evaluator.h.
boost::shared_ptr<ProbabilityDistribution> bayesian_grasp_planner::GraspEvaluatorProb::success_distribution_ [private] |
Definition at line 169 of file grasp_evaluator.h.