ROS interface
[Baselib]

basic set of classes about a ROS node More...

Classes

class  MipBaselib::ROSiFaceBoss
class  MipBaselib::ROSiFace< msg_type, msg_type_ptr >
 A simple class to handle Publisher and Subscriber on a topic. More...

Enumerations

enum  MipBaselib::ROSiFaceOpeningModes { MipBaselib::ROSIFACE_R, MipBaselib::ROSIFACE_W, MipBaselib::ROSIFACE_RW }
 Operating modes of the MipBaselib::ROSiFace. More...

Functions

 MipBaselib::ROSiFace::ROSiFace (const string &topicName, ros::NodeHandle *_node, ROSiFaceOpeningModes op, int queue=1, int bufferDim=1)
 Complete constructor.

Detailed Description

basic set of classes about a ROS node


Enumeration Type Documentation

Operating modes of the MipBaselib::ROSiFace.

The enum consists of following values:

Enumerator:
ROSIFACE_R  reading mode;
ROSIFACE_W  writing mode;
ROSIFACE_RW  reading/writing mode.


Function Documentation

template<class msg_type, typename msg_type_ptr>
MipBaselib::ROSiFace< msg_type, msg_type_ptr >::ROSiFace ( const string &  topicName,
ros::NodeHandle *  _node,
ROSiFaceOpeningModes  op,
int  queue = 1,
int  bufferDim = 1 
) [inline, inherited]

Complete constructor.

Parameters:
[in] &topicName Name of the topic.
[in] &_node ROS node.
[in] op Operating mode of the ROSiFace (possible modes: ROSIFACE_R for reading only, ROSIFACE_W for writing only, ROSIFACE_WR for reading/writing).
[in] queue (optional) Length of the messages queue (default 1).
[in] bufferDim (optional) Length of the messages buffer (default 1). This constructor builds:
  • if op=ROSIFACE_R: a ros::Subscriber on the topic "topicName" with the specified length of queue;
  • if op=ROSIFACE_W: a ros::Publisher on the topic "topicName" with the specified length of queue;
  • if op=ROSIFACE_RW: a ros::Publisher and a ros::Subscriber on the topic "topicName" with the specified length of queue;


Generated on Mon Feb 20 07:01:09 2017 for MIP by  doxygen 1.5.6