User Tools

Site Tools


eeros_architecture:control_system:available_blocks:ros2subanalogsignal

This is an old revision of the document!


ROS2 Subscriber Analog Signal

This block reads an EEROS signal of type double and publishes it as a ROS message of type eeros_msgs::msg::AnalogSignal. Each time the block is run by its time domain, the message is sent.

  RosPublisherAnalogSignal subDouble(node, "myNode/myTopic"); // create subscriber 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/ros2subanalogsignal.1742302394.txt.gz · Last modified: 2025/03/18 13:53 by ursgraf