The object recognizer node object. More...
#include <ObjectRecognizer.h>
Public Member Functions | |
ObjectRecognizer () | |
Creates a new ObjectRecognizer. | |
bool | okay () const |
A check for a valid ObjectRecognizer. | |
virtual | ~ObjectRecognizer () |
Cleans up a ObjectRecognizer. | |
Private Member Functions | |
void | recognizeObjectCallback (const rail_manipulation_msgs::RecognizeObjectGoalConstPtr &goal) |
The recognize object action server callback. | |
Private Attributes | |
actionlib::SimpleActionServer < rail_manipulation_msgs::RecognizeObjectAction > | as_ |
graspdb::Client * | graspdb_ |
ros::NodeHandle | node_ |
bool | okay_ |
ros::NodeHandle | private_node_ |
The object recognizer node object.
The object recognizer sets up an action server that allows the recognition of a single segmented object.
Definition at line 32 of file ObjectRecognizer.h.
Creates a new ObjectRecognizer.
Creates a new ObjectRecognizer with the associated action server.
Definition at line 19 of file ObjectRecognizer.cpp.
ObjectRecognizer::~ObjectRecognizer | ( | ) | [virtual] |
Cleans up a ObjectRecognizer.
Cleans up any connections used by the ObjectRecognizer.
Definition at line 50 of file ObjectRecognizer.cpp.
bool ObjectRecognizer::okay | ( | ) | const |
A check for a valid ObjectRecognizer.
This function will return true if the appropriate connections were created successfully during initialization.
Definition at line 58 of file ObjectRecognizer.cpp.
void ObjectRecognizer::recognizeObjectCallback | ( | const rail_manipulation_msgs::RecognizeObjectGoalConstPtr & | goal | ) | [private] |
The recognize object action server callback.
Attempts to recognize the object given in the goal and return it in the result.
goal | The goal specifying the segmented object to recognize. |
Definition at line 63 of file ObjectRecognizer.cpp.
actionlib::SimpleActionServer<rail_manipulation_msgs::RecognizeObjectAction> rail::pick_and_place::ObjectRecognizer::as_ [private] |
The main recognition action server.
Definition at line 76 of file ObjectRecognizer.h.
The grasp database connection.
Definition at line 71 of file ObjectRecognizer.h.
The public and private ROS node handles.
Definition at line 74 of file ObjectRecognizer.h.
bool rail::pick_and_place::ObjectRecognizer::okay_ [private] |
The okay check flag.
Definition at line 69 of file ObjectRecognizer.h.
Definition at line 74 of file ObjectRecognizer.h.