RosRequest¶
Inherits: RefCounted
A handle for an asynchronous ROS 2 service request.
Description¶
RosRequest is returned by RosClient.async_send_request(). it acts as a promise or future, allowing you to check if a response has been received or await its completion.
Methods¶
Signals¶
Emitted when the service response is received. The response message is passed as an argument.
Method Descriptions¶
Returns the response message received from the service. Returns null if the request is not yet completed.
Returns true if the service response has been received.