On this page

ParameterValueSubscriber QML Type

Subscribes to rcl_interfaces::msg::ParameterValue messages — Used to determine which of the next *_value fields are set. More...

Import Statement: import QtRos2.RclInterfaces
Inherits:

SubscriberBase

Status: Experimental Extension

Properties

Signals

Detailed Description

ParameterType.PARAMETER_NOT_SET indicates that the parameter was not set (if gotten) or is uninitialized. Values are enumerated in `ParameterType.msg`.

ParameterValueSubscriber receives parameterValue values from a ROS 2 topic. Set the topic and node properties, then connect to the messageReceived() signal.

See also ParameterValuePublisher and parameterValue.

Property Documentation

boolArrayValue : list<bool>

The boolArrayValue field of the last received message. Updated whenever a new message arrives. boolArrayValueChanged is emitted on every update.

boolValue : bool

The boolValue field of the last received message. Updated whenever a new message arrives. boolValueChanged is emitted on every update.

byteArrayValue : ArrayBuffer

The byteArrayValue field of the last received message. Updated whenever a new message arrives. byteArrayValueChanged is emitted on every update.

doubleArrayValue : list<double>

The doubleArrayValue field of the last received message. Updated whenever a new message arrives. doubleArrayValueChanged is emitted on every update.

doubleValue : double

The doubleValue field of the last received message. Updated whenever a new message arrives. doubleValueChanged is emitted on every update.

integerArrayValue : list<int64_t>

The integerArrayValue field of the last received message. Updated whenever a new message arrives. integerArrayValueChanged is emitted on every update.

integerValue : int64_t

The integerValue field of the last received message. Updated whenever a new message arrives. integerValueChanged is emitted on every update.

message : parameterValue

The last message received on topic. Updated whenever a new message arrives.

stringArrayValue : list<string>

The stringArrayValue field of the last received message. Updated whenever a new message arrives. stringArrayValueChanged is emitted on every update.

stringValue : string

The stringValue field of the last received message. Updated whenever a new message arrives. stringValueChanged is emitted on every update.

type : uint8_t

The type field of the last received message. Updated whenever a new message arrives. typeChanged is emitted on every update.

Signal Documentation

messageReceived(parameterValue msg)

Emitted when a new parameterValue 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.