String stamped

Description

Collect generic data from a topic publishing a StringStamped message and republish it. It allows to fetch data from rclc, rclpy and your custom ROS 2 nodes that don't have use a plugin.

Parameters

ParameterDescriptionTypeDefault
timer_basedIf true, collect data at interval and if false collect every record and ignores polling_intervalbooltrue
topicTopic to get data fromstrN/A (mandatory)

Schema

Given that the data is customized here, there is no default schema.

Measurement configuration

...
my_data:
  plugin: "dc_measurements/StringStamped"
  topic_output: "/dc/measurement/my_data"
  tags: ["flb_stdout"]
  topic: "/hello-world"
  timer_based: true