ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Yes, it is possible. Does your buffer variable have a mutex lock for concurrent writing? If no, maybe you should use callback groups:

  • https://docs.ros.org/en/foxy/How-To-Guides/Using-callback-groups.html

  • https://discourse.ros.org/t/how-to-use-callback-groups-in-ros2/25255