On this page

qoSProfile QML Value Type

Message-based representation of ROS 2 Quality of Service settings Default values are kept in sync with RMW by integration test Note that SYSTEM_DEFAULT and BEST_AVAILABLE values cannot be an observed value, because they resolve concretely at runtime. More...

Import Statement: import QtRos2.RosgraphMsgs
Status: Experimental Extension

Properties

Detailed Description

They are included here for completeness to match the data structures in RMW

qoSProfile is a structured value type usable in QML. It maps directly to the rosgraph_msgs::msg::QoSProfile ROS 2 message type.

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

See also QoSProfilePublisher and QoSProfileSubscriber.

Property Documentation

deadline : duration

Deadline between messages (0 for no deadline)

depth : uint32_t

Depth of the message queue (only meaningful when history==KEEP_LAST)

durability : uint8_t

history : uint8_t

lifespan : duration

Lifespan of each message (0 for infinite)

liveliness : uint8_t

livelinessLeaseDuration : duration

Lease duration for liveliness (0 for infinite)

reliability : uint8_t

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