Robotics StackExchange | Archived questions

async wait_for_service

Is there a way to asynchronously wait_for_service?

The rclcpp async example here https://github.com/ros2/examples/blob/daa1fcc604e0af5ffecbbb4b3f5e0e4e5c67f653/rclcpp/services/async_client/main.cpp#L159

Appears to block, instead of waiting asynchronously.

Asked by catch22 on 2022-09-02 02:35:23 UTC

Comments

Answers