Public Member Functions | Private Member Functions | Private Attributes
rail::pick_and_place::ObjectRecognizer Class Reference

The object recognizer node object. More...

#include <ObjectRecognizer.h>

List of all members.

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::Clientgraspdb_
ros::NodeHandle node_
bool okay_
ros::NodeHandle private_node_

Detailed Description

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.


Constructor & Destructor Documentation

Creates a new ObjectRecognizer.

Creates a new ObjectRecognizer with the associated action server.

Definition at line 19 of file ObjectRecognizer.cpp.

Cleans up a ObjectRecognizer.

Cleans up any connections used by the ObjectRecognizer.

Definition at line 50 of file ObjectRecognizer.cpp.


Member Function Documentation

bool ObjectRecognizer::okay ( ) const

A check for a valid ObjectRecognizer.

This function will return true if the appropriate connections were created successfully during initialization.

Returns:
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.

Parameters:
goalThe goal specifying the segmented object to recognize.

Definition at line 63 of file ObjectRecognizer.cpp.


Member Data Documentation

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.

The okay check flag.

Definition at line 69 of file ObjectRecognizer.h.

Definition at line 74 of file ObjectRecognizer.h.


The documentation for this class was generated from the following files:


rail_recognition
Author(s): David Kent , Russell Toris , bhetherman
autogenerated on Sun Mar 6 2016 11:39:13