Classes | Defines | Functions
spatial_world_model_server.h File Reference
#include <mysql/mysql.h>
#include <ros/ros.h>
#include <interactive_world_msgs/StoreObservation.h>
#include <interactive_world_msgs/FindObservations.h>
#include <interactive_world_msgs/SetObservationsRemoved.h>
Include dependency graph for spatial_world_model_server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  spatial_world_model_server

Defines

#define SWM_CREATE_TABLE   "CREATE TABLE IF NOT EXISTS `swms` \ (`id` int(10) unsigned NOT NULL AUTO_INCREMENT, \ `surface` varchar(255) NOT NULL, \ `surface_frame_id` varchar(255) NOT NULL, \ `placement_surface_frame_id` varchar(255) NOT NULL, \ `item` varchar(255) NOT NULL, \ `item_conf` double NOT NULL, \ `x` double NOT NULL, \ `y` double NOT NULL, \ `z` double NOT NULL, \ `theta` float NOT NULL, \ `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, \ `removed` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', \ PRIMARY KEY (`id`) \ ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;"
#define SWM_DEFAULT_DATABASE   "rms"
#define SWM_DEFAULT_PASSWORD   ""
#define SWM_DEFAULT_PORT   3306
#define SWM_DEFAULT_SERVER   "localhost"
#define SWM_DEFAULT_USER   "ros"
#define SWM_TABLE   "swms"

Functions

int main (int argc, char **argv)

Define Documentation

#define SWM_CREATE_TABLE   "CREATE TABLE IF NOT EXISTS `swms` \ (`id` int(10) unsigned NOT NULL AUTO_INCREMENT, \ `surface` varchar(255) NOT NULL, \ `surface_frame_id` varchar(255) NOT NULL, \ `placement_surface_frame_id` varchar(255) NOT NULL, \ `item` varchar(255) NOT NULL, \ `item_conf` double NOT NULL, \ `x` double NOT NULL, \ `y` double NOT NULL, \ `z` double NOT NULL, \ `theta` float NOT NULL, \ `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, \ `removed` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', \ PRIMARY KEY (`id`) \ ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;"

Definition at line 22 of file spatial_world_model_server.h.

#define SWM_DEFAULT_DATABASE   "rms"

Definition at line 18 of file spatial_world_model_server.h.

#define SWM_DEFAULT_PASSWORD   ""

Definition at line 16 of file spatial_world_model_server.h.

#define SWM_DEFAULT_PORT   3306

Definition at line 12 of file spatial_world_model_server.h.

#define SWM_DEFAULT_SERVER   "localhost"

Definition at line 10 of file spatial_world_model_server.h.

#define SWM_DEFAULT_USER   "ros"

Definition at line 14 of file spatial_world_model_server.h.

#define SWM_TABLE   "swms"

Definition at line 20 of file spatial_world_model_server.h.


Function Documentation

int main ( int  argc,
char **  argv 
)

Creates and runs the recognized_objects_listener node.

Parameters:
argcargument count that is passed to ros::init.
argvarguments that are passed to ros::init.
Returns:
EXIT_SUCCESS if the node runs correctly.

Definition at line 13 of file recognized_objects_listener.cpp.



spatial_world_model
Author(s): Russell Toris
autogenerated on Thu Jun 6 2019 21:34:31