eeros_architecture:control_system:available_blocks:ros2subanalogsignal
                This is an old revision of the document!
ROS2 Subscriber Double
This block receives ROS messages of type std_msgs::Float64. Each time the block is run by its time domain, the message content is written to the output of the block.
RosSubscriberDouble subDouble("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::Float64.
RosSubscriberDouble subDouble(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.
 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/ros2subanalogsignal.1742290984.txt.gz · Last modified: 2025/03/18 10:43 by ursgraf
                
                