Wraps around database connection to provide database-related services through ROS. More...
Wraps around database connection to provide database-related services through ROS.
Contains very thin wrappers for getting a list of scaled models and for getting the mesh of a model, as well as a complete server for the grasp planning service
Definition at line 145 of file objects_database_node.cpp.
ObjectsDatabaseNode::ObjectsDatabaseNode | ( | ) | [inline] |
Definition at line 513 of file objects_database_node.cpp.
ObjectsDatabaseNode::~ObjectsDatabaseNode | ( | ) | [inline] |
Definition at line 558 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::getDescriptionCB | ( | GetModelDescription::Request & | request, |
GetModelDescription::Response & | response | ||
) | [inline, private] |
Callback for the get description service.
Definition at line 256 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::getGrasps | ( | const GraspableObject & | target, |
const std::string & | arm_name, | ||
std::vector< Grasp > & | grasps, | ||
GraspPlanningErrorCode & | error_code | ||
) | [inline, private] |
Definition at line 328 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::getMeshCB | ( | GetModelMesh::Request & | request, |
GetModelMesh::Response & | response | ||
) | [inline, private] |
Callback for the get mesh service.
Definition at line 239 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::getModelsCB | ( | GetModelList::Request & | request, |
GetModelList::Response & | response | ||
) | [inline, private] |
Callback for the get models service.
Definition at line 217 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::getScansCB | ( | GetModelScans::Request & | request, |
GetModelScans::Response & | response | ||
) | [inline, private] |
Definition at line 280 of file objects_database_node.cpp.
void ObjectsDatabaseNode::graspPlanningActionCB | ( | const object_manipulation_msgs::GraspPlanningGoalConstPtr & | goal | ) | [inline, private] |
Definition at line 479 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::graspPlanningCB | ( | GraspPlanning::Request & | request, |
GraspPlanning::Response & | response | ||
) | [inline, private] |
Callback for the get grasps service.
Definition at line 473 of file objects_database_node.cpp.
geometry_msgs::Pose ObjectsDatabaseNode::multiplyPoses | ( | const geometry_msgs::Pose & | p1, |
const geometry_msgs::Pose & | p2 | ||
) | [inline, private] |
Definition at line 314 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::saveScanCB | ( | SaveScan::Request & | request, |
SaveScan::Response & | response | ||
) | [inline, private] |
Definition at line 294 of file objects_database_node.cpp.
bool ObjectsDatabaseNode::translateIdCB | ( | TranslateRecognitionId::Request & | request, |
TranslateRecognitionId::Response & | response | ||
) | [inline, private] |
Definition at line 188 of file objects_database_node.cpp.
ObjectsDatabase* ObjectsDatabaseNode::database_ [private] |
The database connection itself.
Definition at line 179 of file objects_database_node.cpp.
Server for the get description service.
Definition at line 161 of file objects_database_node.cpp.
Server for the get mesh service.
Definition at line 158 of file objects_database_node.cpp.
Server for the get models service.
Definition at line 155 of file objects_database_node.cpp.
Server for the get scans service.
Definition at line 170 of file objects_database_node.cpp.
std::string ObjectsDatabaseNode::grasp_ordering_method_ [private] |
How to order grasps received from database.
Possible values: "random" or "quality"
Definition at line 186 of file objects_database_node.cpp.
actionlib::SimpleActionServer<object_manipulation_msgs::GraspPlanningAction>* ObjectsDatabaseNode::grasp_planning_server_ [private] |
The action server for grasping planning.
Definition at line 167 of file objects_database_node.cpp.
Server for the get grasps service.
Definition at line 164 of file objects_database_node.cpp.
Transform listener.
Definition at line 182 of file objects_database_node.cpp.
ros::NodeHandle ObjectsDatabaseNode::priv_nh_ [private] |
Node handle in the private namespace.
Definition at line 149 of file objects_database_node.cpp.
ros::NodeHandle ObjectsDatabaseNode::root_nh_ [private] |
Node handle in the root namespace.
Definition at line 152 of file objects_database_node.cpp.
Server for the save scan service.
Definition at line 173 of file objects_database_node.cpp.
Server for the id translation service.
Definition at line 176 of file objects_database_node.cpp.