Class ROS2PublisherSink
Defined in File ros2_publisher_sink.hpp
Inheritance Relationships
Base Type
public DataTamer::DataSinkBase
(Class DataSinkBase)
Class Documentation
-
class ROS2PublisherSink : public DataTamer::DataSinkBase
Public Functions
-
template<typename NodeT>
inline void create_publishers(NodeT &node, const std::string &topic_prefix)
-
virtual void addChannel(const std::string &name, const Schema &schema) override
addChannel will register a schema into the sink. That schema will be recognized by its hash.
- Parameters:
name – name of the channel
schema – a schema, suaully obtained from LogChannel::getSchema()
-
template<typename NodeT>