====== 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
IMPORTANT The time stamp of the signal is set to the time stamp of the message.
Alternatively, you could receive a vector by instantiating a block with
RosSubscriberAnalogSignal sub(node, "myTopic"); // create subscriber block