On this page

diagnosticStatus QML Value Type

This message holds the status of an individual component of the robot. More...

Import Statement: import QtRos2.DiagnosticMsgs
Status: Experimental Extension

Properties

Detailed Description

diagnosticStatus is a structured value type usable in QML. It maps directly to the diagnostic_msgs::msg::DiagnosticStatus ROS 2 message type.

Construct a diagnosticStatus in QML by assigning a JavaScript object whose keys are its component properties, or by setting those properties individually.

See also DiagnosticStatusPublisher and DiagnosticStatusSubscriber.

Property Documentation

hardwareId : string

A hardware unique string.

level : uint8_t

Level of operation enumerated above.

message : string

A description of the status.

name : string

A description of the test/component reporting.

values : list<keyValue>

An array of values associated with the status.

© 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.