Public Member Functions | Private Member Functions | Private Attributes
rail::spatial_temporal_learning::ItemObserver Class Reference

A persistent observer of items in the world for the spatial world database. More...

#include <ItemObserver.h>

Inheritance diagram for rail::spatial_temporal_learning::ItemObserver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ItemObserver ()
 Create a ItemObserver and associated ROS information.
virtual ~ItemObserver ()
 Cleans up a ItemObserver.

Private Member Functions

void recognizedObjectsCallback (const rail_manipulation_msgs::SegmentedObjectListConstPtr &objects) const
 Main callback for the recognized objects topic.

Private Attributes

ros::Subscriber recognized_objects_sub_
worldlib::remote::SpatialWorldClientspatial_world_client_

Detailed Description

A persistent observer of items in the world for the spatial world database.

The world item observer will store item observations in a remote spatial world database by listening to a rail_manipulation_msgs/SegmentedObjectList message.

Definition at line 33 of file ItemObserver.h.


Constructor & Destructor Documentation

Create a ItemObserver and associated ROS information.

Creates the ROS node handle and creates clients to the worldlib database and object topic.

Definition at line 22 of file ItemObserver.cpp.

Cleans up a ItemObserver.

Cleans up any connections used by the ItemObserver.

Definition at line 69 of file ItemObserver.cpp.


Member Function Documentation

void ItemObserver::recognizedObjectsCallback ( const rail_manipulation_msgs::SegmentedObjectListConstPtr &  objects) const [private]

Main callback for the recognized objects topic.

The recognized objects callback will add all observations seen based on the recognized objects and the surface from the world they are most likely on (based on bounding regions). Any missing items will be marked as removed.

Parameters:
objectsThe current list of segmented objects.

Definition at line 75 of file ItemObserver.cpp.


Member Data Documentation

The recognized objects topic.

Definition at line 65 of file ItemObserver.h.

The spatial world database client

Definition at line 62 of file ItemObserver.h.


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


world_item_observer
Author(s): Russell Toris
autogenerated on Thu Jun 6 2019 20:55:45