DiagnosticStatusSubscriber QML Type
Subscribes to diagnostic_msgs::msg::DiagnosticStatus messages — This message holds the status of an individual component of the robot. More...
| Import Statement: | import QtRos2.DiagnosticMsgs |
| Inherits: | |
| Status: | Experimental Extension |
Properties
- hardwareId : string
- level : uint8_t
- message : diagnosticStatus
- name : string
- values : list<keyValue>
Signals
- messageReceived(diagnosticStatus msg)
Detailed Description
DiagnosticStatusSubscriber receives diagnosticStatus values from a ROS 2 topic. Set the topic and node properties, then connect to the messageReceived() signal.
See also DiagnosticStatusPublisher and diagnosticStatus.
Property Documentation
hardwareId : string
The hardwareId field of the last received message. Updated whenever a new message arrives. hardwareIdChanged is emitted on every update.
level : uint8_t
The level field of the last received message. Updated whenever a new message arrives. levelChanged is emitted on every update.
message : diagnosticStatus
The last message received on topic. Updated whenever a new message arrives.
name : string
The name field of the last received message. Updated whenever a new message arrives. nameChanged is emitted on every update.
values : list<keyValue>
The values field of the last received message. Updated whenever a new message arrives. valuesChanged is emitted on every update.
Signal Documentation
messageReceived(diagnosticStatus msg)
Emitted when a new diagnosticStatus arrives on topic. msg contains the received value.
Note: The corresponding handler is onMessageReceived.
© 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.