fkie_mas_pylib.service.future module

class fkie_mas_pylib.service.future.WaitFuture(type: str, node_name: str, service_name: str, future: rclpy.task.Future, client: rclpy.client.Client)

Bases: object

client: rclpy.client.Client
done_callback(future: rclpy.task.Future)
finished: bool
future: rclpy.task.Future
node_name: str
service_name: str
type: str
fkie_mas_pylib.service.future.create_service_future(node: rclpy.node.Node, wait_futures: List[WaitFuture], type: str, node_name: str, service_name: str, srv_type: rclpy.client.SrvType, request: rclpy.client.SrvTypeRequest) bool
fkie_mas_pylib.service.future.wait_until_futures_done(futures: List[WaitFuture], timeout: float = 5.0)