User Tools

Site Tools


eeros_architecture:control_system:available_blocks:rospubdouble

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:rospubdouble [2023/02/09 11:54] ursgrafeeros_architecture:control_system:available_blocks:rospubdouble [2023/02/09 11:58] (current) ursgraf
Line 4: Line 4:
   RosPublisherDouble pubDouble("myTopic"); // create publisher block   RosPublisherDouble pubDouble("myTopic"); // 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::Float64''.
 <code cpp> <code cpp>
   RosPublisherDouble pubDouble(node, "myTopic"); // create publisher block   RosPublisherDouble pubDouble(node, "myTopic"); // create publisher block
eeros_architecture/control_system/available_blocks/rospubdouble.1675940063.txt.gz · Last modified: 2023/02/09 11:54 by ursgraf