Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
rail::interactive_world::ObjectSearcher Class Reference

The main search and retrieve node class. More...

#include <ObjectSearcher.h>

List of all members.

Public Member Functions

 ObjectSearcher ()
 Create a ObjectSearcher and associated ROS information.

Static Public Attributes

static const int AC_WAIT_TIME = 120

Private Member Functions

void objectSearch (const interactive_world_msgs::ObjectSearchGoalConstPtr &goal)
 Callback for the object search action server.

Private Attributes

ros::Duration ac_wait_time_
actionlib::SimpleActionServer
< interactive_world_msgs::ObjectSearchAction > 
as_
ros::ServiceClient find_observations_srv_
ros::ServiceClient get_surfaces_srv_
ros::ServiceClient model_fetcher_srv_
ros::NodeHandle node_
ros::NodeHandle private_node_
actionlib::SimpleActionClient
< interactive_world_msgs::DriveAndSearchAction > 
search_ac_

Detailed Description

The main search and retrieve node class.

The object searcher node is responsible for searching for a given object given information obtained from the interactive world project. Associated ROS information is maintained in this class.

Definition at line 33 of file ObjectSearcher.h.


Constructor & Destructor Documentation

Create a ObjectSearcher and associated ROS information.

Creates a ROS node handle, subscribes to the relevant topics and servers, and creates interfaces for requesting object searches.

Definition at line 22 of file ObjectSearcher.cpp.


Member Function Documentation

void ObjectSearcher::objectSearch ( const interactive_world_msgs::ObjectSearchGoalConstPtr &  goal) [private]

Callback for the object search action server.

The search action will search the world for the given object using data collected from the interactive world.

Parameters:
goalThe goal object specifying the parameters.

Definition at line 47 of file ObjectSearcher.cpp.


Member Data Documentation

The default wait time for action servers in seconds.

Definition at line 37 of file ObjectSearcher.h.

The action client timeout.

Definition at line 66 of file ObjectSearcher.h.

actionlib::SimpleActionServer<interactive_world_msgs::ObjectSearchAction> rail::interactive_world::ObjectSearcher::as_ [private]

The main object search action server.

Definition at line 60 of file ObjectSearcher.h.

Definition at line 64 of file ObjectSearcher.h.

Definition at line 64 of file ObjectSearcher.h.

The model fetcher service client.

Definition at line 64 of file ObjectSearcher.h.

The global and private ROS node handles.

Definition at line 58 of file ObjectSearcher.h.

Definition at line 58 of file ObjectSearcher.h.

actionlib::SimpleActionClient<interactive_world_msgs::DriveAndSearchAction> rail::interactive_world::ObjectSearcher::search_ac_ [private]

The drive and search action client.

Definition at line 62 of file ObjectSearcher.h.


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


informed_object_search
Author(s): Russell Toris
autogenerated on Thu Jun 6 2019 21:34:20