On this page

parameterDescriptor QML Value Type

This is the message to communicate a parameter's descriptor. More...

Import Statement: import QtRos2.RclInterfaces
Status: Experimental Extension

Properties

Detailed Description

parameterDescriptor is a structured value type usable in QML. It maps directly to the rcl_interfaces::msg::ParameterDescriptor ROS 2 message type.

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

See also ParameterDescriptorPublisher and ParameterDescriptorSubscriber.

Property Documentation

additionalConstraints : string

Plain English description of additional constraints which cannot be expressed

with the available constraints, e.g. "only prime numbers".

By convention, this should only be used to clarify constraints which cannot be completely expressed with the parameter constraints below.

description : string

Description of the parameter, visible from introspection tools.

dynamicTyping : bool

If true, the parameter is allowed to change type.

floatingPointRange : list<floatingPointRange>

FloatingPointRange consists of a from_value, a to_value, and a step.

integerRange : list<integerRange>

IntegerRange consists of a from_value, a to_value, and a step.

name : string

The name of the parameter.

readOnly : bool

If 'true' then the value cannot change after it has been initialized.

type : uint8_t

Enum values are defined in the `ParameterType.msg` message.

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