EmptyServiceServer QML Type
Answers std_srvs::srv::Empty ROS 2 service requests. More...
| Import Statement: | import QtRos2.StdSrvs |
| Inherits: | |
| Status: | Experimental Extension |
Signals
Detailed Description
Set the topic and node properties and provide a handler function to answer requests. The handler is invoked as (request, reply) => response; it may return the response value directly, or return undefined and call reply.send(response) later for work that takes time.
Signal Documentation
requestReceived()
Emitted when a request arrives, before the handler is invoked.
Note: The corresponding handler is onRequestReceived.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.