ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
+1 to @demmeln for his clarification about topic/message. Please review these terms.
I would spontaneously suggest a threaded solution. You do all your time consuming work in a separate thread and in your subscriber callback just pick the messages you want, discard all the others and provide the worker thread the correct messages.