Typedefs | Functions | Variables
annotations_server.cpp File Reference
#include <mongo_ros/message_collection.h>
#include <ros/ros.h>
#include <visualization_msgs/MarkerArray.h>
#include <world_canvas_msgs/Annotation.h>
#include <world_canvas_msgs/AnnotationData.h>
#include <world_canvas_msgs/LoadAnnotationsData.h>
#include <world_canvas_msgs/SaveAnnotationsData.h>
#include <string>
#include <sstream>
#include <exception>
#include <uuid/uuid.h>
Include dependency graph for annotations_server.cpp:

Go to the source code of this file.

Typedefs

typedef std::vector
< mr::MessageWithMetadata
< world_canvas_msgs::Annotation >
::ConstPtr > 
AnnsVector
typedef std::vector
< mr::MessageWithMetadata
< world_canvas_msgs::AnnotationData >
::ConstPtr > 
DataVector

Functions

void clearMarkers ()
bool loadAnnotationsData (world_canvas_msgs::LoadAnnotationsData::Request &request, world_canvas_msgs::LoadAnnotationsData::Response &response)
int main (int argc, char **argv)
visualization_msgs::Marker makeLabel (const visualization_msgs::Marker &marker)
visualization_msgs::Marker makeMarker (int id, const world_canvas_msgs::Annotation &ann)
bool saveAnnotationsData (world_canvas_msgs::SaveAnnotationsData::Request &request, world_canvas_msgs::SaveAnnotationsData::Response &response)
std::string uuid2str (unsigned char *pUuid)

Variables

mr::MessageCollection
< world_canvas_msgs::Annotation > * 
anns_collection
mr::MessageCollection
< world_canvas_msgs::AnnotationData > * 
data_collection
ros::Publisher map_pub
visualization_msgs::MarkerArray markers_array
ros::Publisher markers_pub

Typedef Documentation

typedef std::vector<mr::MessageWithMetadata<world_canvas_msgs::Annotation>::ConstPtr> AnnsVector

Definition at line 86 of file annotations_server.cpp.

typedef std::vector<mr::MessageWithMetadata<world_canvas_msgs::AnnotationData>::ConstPtr> DataVector

Definition at line 87 of file annotations_server.cpp.


Function Documentation

void clearMarkers ( )

Definition at line 103 of file annotations_server.cpp.

bool loadAnnotationsData ( world_canvas_msgs::LoadAnnotationsData::Request &  request,
world_canvas_msgs::LoadAnnotationsData::Response &  response 
)

Definition at line 213 of file annotations_server.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 306 of file annotations_server.cpp.

visualization_msgs::Marker makeLabel ( const visualization_msgs::Marker &  marker)

Definition at line 139 of file annotations_server.cpp.

visualization_msgs::Marker makeMarker ( int  id,
const world_canvas_msgs::Annotation &  ann 
)

Definition at line 117 of file annotations_server.cpp.

bool saveAnnotationsData ( world_canvas_msgs::SaveAnnotationsData::Request &  request,
world_canvas_msgs::SaveAnnotationsData::Response &  response 
)

uuid_t kk = static_cast<uuid_t>(annotation.id.uuid.c_array());

"world_id", annotation.world_id,

Definition at line 263 of file annotations_server.cpp.

std::string uuid2str ( unsigned char *  pUuid)

Definition at line 89 of file annotations_server.cpp.


Variable Documentation

mr::MessageCollection<world_canvas_msgs::Annotation>* anns_collection

Definition at line 76 of file annotations_server.cpp.

mr::MessageCollection<world_canvas_msgs::AnnotationData>* data_collection

Definition at line 77 of file annotations_server.cpp.

Definition at line 79 of file annotations_server.cpp.

visualization_msgs::MarkerArray markers_array

Definition at line 82 of file annotations_server.cpp.

Definition at line 80 of file annotations_server.cpp.



world_canvas_server
Author(s): Jorge Santos Simón
autogenerated on Thu Jun 6 2019 21:25:07