Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As far as I am aware, that should be perfectly fine. In fact if you look at the Node code that creates subscriptions, it will notify the executor that it should wake up to reconsider new information (the fact that there's a new subscription for instance):

https://github.com/ros2/rclcpp/blob/10d7b7c72bc243e4e6da0546f9d17e39460df55c/rclcpp/src/rclcpp/node_interfaces/node_topics.cpp#L121-L130