RCL - RoboCLuedo  v1.0
Francesco Ganci - S4143910 - Experimental Robotics Lab - Assignment 1
armor_tools.h File Reference

A minimal C++ client for aRMOR. More...

#include "ros/ros.h"
#include "armor_msgs/QueryItem.h"
#include "armor_msgs/ArmorDirective.h"
#include "armor_msgs/ArmorDirectiveReq.h"
#include "armor_msgs/ArmorDirectiveRes.h"
#include <iostream>
#include <vector>
#include <map>
#include <string>
#include <fstream>
+ Include dependency graph for armor_tools.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ArmorTools
 A minimal C++ client for aRMOR. More...
 

Macros

#define ARMOR_DEFAULT_URI   "http://www.emarolab.it/cluedo-ontology"
 
#define ARMOR_DEFAULT_REASONER   "PELLET"
 
#define ARMOR_DEFAULT_CLIENT   "armor_client"
 
#define ARMOR_DEFAULT_REFERENCE   "cluedo"
 
#define ARMOR_DEFAULT_TIMEOUT   5.00
 
#define ARMOR_DEFAULT_DEBUGMODE   true
 
#define ARMOR_SERVICE_SINGLE_REQUEST   "/armor_interface_srv"
 
#define ARMOR_SERVICE_MULTIPLE_REQUESTS   "/armor_interface_serialized_srv"
 
#define ARMOR_CLASS_LABEL   "[armor_tools]"
 
#define ARMOR_INFO(msg)   if( this->DebugMode ) ROS_INFO_STREAM( ARMOR_CLASS_LABEL << " " << msg )
 
#define ARMOR_ERR(msg)   if( this->DebugMode ) ROS_WARN_STREAM( ARMOR_CLASS_LABEL << " ERROR: " << msg )
 
#define ARMOR_CHECK_INTERFACE(returnval)   if( !IsLoadedInterface || !ArmorSrv.exists( ) ) { ARMOR_ERR( "bad interface!" ); return returnval; }
 
#define ARMOR_RES(msg)   msg.response.armor_response
 
#define ARMOR_RES_QUERY(msg)   msg.response.armor_response.queried_objects
 
#define SS(this_string)   std::string( this_string )
 
#define SSS(this_thing)   std::to_string( this_thing )
 
#define BOOL_TO_CSTR(booleanvalue)   ( booleanvalue ? "true" : "false" )
 
#define LOGSQUARE(str)   "[" << str << "] "
 

Detailed Description

A minimal C++ client for aRMOR.

Authors
Francesco Ganci (S4143910)
Version
v1.0
See also
ArmorCluedo
ArmorTools

Definition in file armor_tools.h.