#include <protobuf2ros_stream.h>
Public Member Functions | |
PoseStream (rc::dynamics::RemoteInterface::Ptr rcdIface, const std::string &stream, ros::NodeHandle &nh, const std::string &frame_id_prefix, bool tfEnabled) | |
Protected Member Functions | |
virtual bool | startReceivingAndPublishingAsRos () override |
Protected Attributes | |
bool | _tfEnabled |
Specific implementation for roboception::msgs::Frame messages. It publishes received messages not only as ros StampedPoses but also on tf if desired.
Again, the resulting ros topic is the dynamics stream name.
Definition at line 76 of file protobuf2ros_stream.h.
rc::PoseStream::PoseStream | ( | rc::dynamics::RemoteInterface::Ptr | rcdIface, |
const std::string & | stream, | ||
ros::NodeHandle & | nh, | ||
const std::string & | frame_id_prefix, | ||
bool | tfEnabled | ||
) | [inline] |
Definition at line 79 of file protobuf2ros_stream.h.
bool rc::PoseStream::startReceivingAndPublishingAsRos | ( | ) | [override, protected, virtual] |
Reimplemented from rc::Protobuf2RosStream.
Definition at line 153 of file protobuf2ros_stream.cc.
bool rc::PoseStream::_tfEnabled [protected] |
Definition at line 89 of file protobuf2ros_stream.h.