eeros_architecture:control_system:available_blocks:ros2subanalogsignal
This is an old revision of the document!
ROS2 Subscriber Analog Signal
This block receives ROS messages of type eeros_msgs::msg::AnalogSignal
. Each time the block is run by its time domain, the content of the last message is written to the signal output of the block.
RosSubscriberAnalogSignal sub(node, "myNode/myTopic"); // create subscriber block
The time stamp of the signal is set to the time stamp of the message.
eeros_architecture/control_system/available_blocks/ros2subanalogsignal.1742302583.txt.gz · Last modified: 2025/03/18 13:56 by ursgraf