eeros_architecture:control_system:available_blocks:rospubdoublearray
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eeros_architecture:control_system:available_blocks:rospubdoublearray [2017/11/05 20:13] – graf | eeros_architecture:control_system:available_blocks:rospubdoublearray [2023/02/09 11:59] (current) – ursgraf | ||
---|---|---|---|
Line 2: | Line 2: | ||
This block samples the vector signal at its input and packs it into a ROS message of type '' | This block samples the vector signal at its input and packs it into a ROS message of type '' | ||
<code cpp> | <code cpp> | ||
- | RosPublisherDoubleArray pubArray(rosNodeHandler, | + | RosPublisherDoubleArray pubArray(" |
+ | </ | ||
+ | For ROS2 you have to pass the node, from where the topic is sent. The ROS2 message is of type '' | ||
+ | <code cpp> | ||
+ | RosPublisherDoubleArray pubArray(node, | ||
</ | </ | ||
eeros_architecture/control_system/available_blocks/rospubdoublearray.1509909211.txt.gz · Last modified: 2017/11/05 20:13 (external edit)