eeros_architecture:control_system:available_blocks:rossubdoublearray
ROS Subscriber Double Array
This block receives ROS messages of type std_msgs::Float64MultiArray
. Each time the block is run by its time domain, the message content is written to the output of the block.
RosSubscriberDoubleArray subArray("myNode/myTopic"); // create subscriber block
For ROS2 you have to pass the node, from where the topic is received. The ROS2 message is of type std_msgs::msg::Float64MultiArray
.
RosSubscriberDoubleArray subArray(node, "myNode/myTopic"); // create subscriber block
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.txt · Last modified: 2023/02/27 16:52 by ursgraf