====== ROS2 Subscriber Digital Signal ======
This block receives ROS messages of type ''eeros_msgs::msg::DigitalSignal''. 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.
RosSubscriberDigitalSignal<> 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
RosSubscriberDigitalSignal sub(node, "myTopic"); // create subscriber block