On this page

node QML Value Type

Represents the observable runtime state of a ROS Node Therefore, does not perfectly align with the abstract specification which created it. More...

Import Statement: import QtRos2.RosgraphMsgs
Status: Experimental Extension

Properties

Detailed Description

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

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

See also NodePublisher and NodeSubscriber.

Property Documentation

actionClients : list<action>

actionServers : list<action>

name : string

Fully qualified node name (FQN)

parameterValues : list<parameterValue>

Current values of the node's parameters

NOTE: parameter_values[] must be empty, or the same size as parameters[] When set, parameter_values[] match 1:1 with the same index in parameters[]

parameters : list<parameterDescriptor>

Parameter specifications for the node

publishers : list<topic>

Communications endpoints - Topics, Services, and Actions

serviceClients : list<service>

serviceServers : list<service>

subscriptions : list<topic>

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