User Tools

Site Tools


eeros_architecture:control_system:available_blocks:rossubdoublearray

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:rossubdoublearray [2017/11/05 20:22] – external edit 127.0.0.1eeros_architecture:control_system:available_blocks:rossubdoublearray [2023/02/27 16:52] (current) ursgraf
Line 3: Line 3:
 <code cpp> <code cpp>
   RosSubscriberDoubleArray subArray("myNode/myTopic"); // create subscriber block   RosSubscriberDoubleArray subArray("myNode/myTopic"); // create subscriber block
 +</code>
 +
 +For ROS2 you have to pass the node, from where the topic is received. The ROS2 message is of type ''std_msgs::msg::Float64MultiArray''.
 +<code cpp>
 +  RosSubscriberDoubleArray subArray(node, "myNode/myTopic"); // create subscriber block
 </code> </code>
  
 IMPORTANT The message is transmitted without time stamp. The time stamp of the signal is set to the actual time when running the block. IMPORTANT The message is transmitted without time stamp. The time stamp of the signal is set to the actual time when running the block.
eeros_architecture/control_system/available_blocks/rossubdoublearray.1509909736.txt.gz · Last modified: 2017/11/05 20:22 by 127.0.0.1