Public Member Functions | Protected Member Functions | Protected Attributes
rc::Protobuf2RosStream Class Reference

#include <protobuf2ros_stream.h>

Inheritance diagram for rc::Protobuf2RosStream:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Protobuf2RosStream (rc::dynamics::RemoteInterface::Ptr rcdIface, const std::string &stream, ros::NodeHandle &nh, const std::string &frame_id_prefix)

Protected Member Functions

virtual bool startReceivingAndPublishingAsRos () override

Protected Attributes

const std::string _tfPrefix

Detailed Description

Implementation of a ThreadedStream that receives rc_visard's dynamics protobuf messages and re-publishes them as ros messages

The ros topic is the dynamics stream name; the ros message type is determined by the protobuf message type of the dynamics stream.

Definition at line 54 of file protobuf2ros_stream.h.


Constructor & Destructor Documentation

rc::Protobuf2RosStream::Protobuf2RosStream ( rc::dynamics::RemoteInterface::Ptr  rcdIface,
const std::string &  stream,
ros::NodeHandle nh,
const std::string &  frame_id_prefix 
) [inline]

Definition at line 57 of file protobuf2ros_stream.h.


Member Function Documentation

Returns:
true, if stopped without fails

Implements rc::ThreadedStream.

Reimplemented in rc::PoseStream.

Definition at line 53 of file protobuf2ros_stream.cc.


Member Data Documentation

const std::string rc::Protobuf2RosStream::_tfPrefix [protected]

Definition at line 66 of file protobuf2ros_stream.h.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12