User Tools

Site Tools


eeros_architecture:control_system:available_blocks:rospubdoublearray

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
eeros_architecture:control_system:available_blocks:rospubdoublearray [2023/02/09 11:55] ursgrafeeros_architecture:control_system:available_blocks:rospubdoublearray [2023/02/09 11:59] (current) ursgraf
Line 4: Line 4:
   RosPublisherDoubleArray pubArray("myTopic", 100); // create publisher block   RosPublisherDoubleArray pubArray("myTopic", 100); // create publisher block
 </code> </code>
-For ROS2 you have to pass the node, from where the topic is sent.+For ROS2 you have to pass the node, from where the topic is sent. The ROS2 message is of type ''std_msgs::msg::Float64MultiArray''.
 <code cpp> <code cpp>
   RosPublisherDoubleArray pubArray(node, "myTopic", 100); // create publisher block   RosPublisherDoubleArray pubArray(node, "myTopic", 100); // create publisher block
eeros_architecture/control_system/available_blocks/rospubdoublearray.1675940106.txt.gz · Last modified: 2023/02/09 11:55 by ursgraf