Open
Description
Is your feature request related to a problem? Please describe.
Currently, the call_service method of the ROS2ServiceAPI does not respect the timeout parameter during the actual service call. The timeout is only applied during service discovery.
rai/src/rai_core/rai/communication/ros2/api.py
Lines 648 to 674 in 0675ff6
Describe the solution you'd like
The timeout should apply to both the service client initialization and the service call phases. We should measure the time taken by the first phase and apply the remaining timeout to the service call.