#include <grasp_generator.h>
Public Member Functions | |
void | generateGrasps () |
GraspGeneratorDatabaseRetriever (boost::shared_ptr< household_objects_database::ObjectsDatabase > database, household_objects_database_msgs::DatabaseModelPose model, const std::string arm_name, bool cluster_reps) | |
Private Member Functions | |
void | appendMetadataToGrasps (const std::vector< household_objects_database::DatabaseGraspPtr > &db_grasps, std::vector< GraspWM > &grasps) |
Private Attributes | |
const std::string | arm_name_ |
bool | cluster_reps_ |
boost::shared_ptr < household_objects_database::ObjectsDatabase > | database_ |
household_objects_database_msgs::DatabaseModelPose | model_ |
Definition at line 88 of file grasp_generator.h.
bayesian_grasp_planner::GraspGeneratorDatabaseRetriever::GraspGeneratorDatabaseRetriever | ( | boost::shared_ptr< household_objects_database::ObjectsDatabase > | database, | |
household_objects_database_msgs::DatabaseModelPose | model, | |||
const std::string | arm_name, | |||
bool | cluster_reps | |||
) |
Definition at line 108 of file grasp_generator.cpp.
void bayesian_grasp_planner::GraspGeneratorDatabaseRetriever::appendMetadataToGrasps | ( | const std::vector< household_objects_database::DatabaseGraspPtr > & | db_grasps, | |
std::vector< GraspWM > & | grasps | |||
) | [private] |
The "tool point" is roughly in the middle of the object enclosed by the grasp, so roughly 5cm from wrist
Definition at line 144 of file grasp_generator.cpp.
void bayesian_grasp_planner::GraspGeneratorDatabaseRetriever::generateGrasps | ( | ) | [virtual] |
Implements bayesian_grasp_planner::GraspGenerator.
Definition at line 120 of file grasp_generator.cpp.
const std::string bayesian_grasp_planner::GraspGeneratorDatabaseRetriever::arm_name_ [private] |
Definition at line 93 of file grasp_generator.h.
Definition at line 98 of file grasp_generator.h.
boost::shared_ptr<household_objects_database::ObjectsDatabase> bayesian_grasp_planner::GraspGeneratorDatabaseRetriever::database_ [private] |
Definition at line 91 of file grasp_generator.h.
household_objects_database_msgs::DatabaseModelPose bayesian_grasp_planner::GraspGeneratorDatabaseRetriever::model_ [private] |
Definition at line 92 of file grasp_generator.h.