ParameterValuePublisher QML Type
Publishes rcl_interfaces::msg::ParameterValue messages — Used to determine which of the next *_value fields are set. More...
| Import Statement: | import QtRos2.RclInterfaces |
| Inherits: | |
| Status: | Experimental Extension |
Properties
- boolArrayValue : list<bool>
- boolValue : bool
- byteArrayValue : ArrayBuffer
- doubleArrayValue : list<double>
- doubleValue : double
- integerArrayValue : list<int64_t>
- integerValue : int64_t
- stringArrayValue : list<string>
- stringValue : string
- type : uint8_t
Methods
- void publish(parameterValue msg)
Detailed Description
ParameterType.PARAMETER_NOT_SET indicates that the parameter was not set (if gotten) or is uninitialized. Values are enumerated in `ParameterType.msg`.
ParameterValuePublisher publishes parameterValue values to a ROS 2 topic. Set the topic and node properties, then call publish() to send messages.
See also ParameterValueSubscriber and parameterValue.
Property Documentation
boolArrayValue : list<bool>
The boolArrayValue field value included in the next publish. Setting this property emits boolArrayValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
boolValue : bool
The boolValue field value included in the next publish. Setting this property emits boolValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
byteArrayValue : ArrayBuffer
The byteArrayValue field value included in the next publish. Setting this property emits byteArrayValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
doubleArrayValue : list<double>
The doubleArrayValue field value included in the next publish. Setting this property emits doubleArrayValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
doubleValue : double
The doubleValue field value included in the next publish. Setting this property emits doubleValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
integerArrayValue : list<int64_t>
The integerArrayValue field value included in the next publish. Setting this property emits integerArrayValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
integerValue : int64_t
The integerValue field value included in the next publish. Setting this property emits integerValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
stringArrayValue : list<string>
The stringArrayValue field value included in the next publish. Setting this property emits stringArrayValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
stringValue : string
The stringValue field value included in the next publish. Setting this property emits stringValueChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
type : uint8_t
The type field value included in the next publish. Setting this property emits typeChanged and, when autoPublish is true, requests a publish at the end of the current event-loop iteration.
Method Documentation
void publish(parameterValue msg)
Publishes parameterValue msg to the ROS 2 topic set by the topic property. Does nothing if the publisher is not connected.
© 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.