Do ROS2 service clients have persistence?

asked 2020-08-17 22:11:25 -0500

KenYN gravatar image

I'm porting some code from ROS1 where we use bool ros::ServiceClient::isPersistent(). ROS2 Client does not have a similar API. Similarly, bool ros::ServiceClient::isValid() is not present. What would be equivalent code for ROS2? Do we just call async_send_request() and hope for the best?

edit retag flag offensive close merge delete