NodeSubscriber QML Type
Subscribes to rosgraph_msgs::msg::Node messages — 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 |
| Inherits: | |
| Status: | Experimental Extension |
Properties
- actionClients : list<action>
- actionServers : list<action>
- message : node
- name : string
- parameterValues : list<parameterValue>
- parameters : list<parameterDescriptor>
- publishers : list<topic>
- serviceClients : list<service>
- serviceServers : list<service>
- subscriptions : list<topic>
Signals
- messageReceived(node msg)
Detailed Description
NodeSubscriber receives node values from a ROS 2 topic. Set the topic and node properties, then connect to the messageReceived() signal.
See also NodePublisher and node.
Property Documentation
actionClients : list<action>
The actionClients field of the last received message. Updated whenever a new message arrives. actionClientsChanged is emitted on every update.
actionServers : list<action>
The actionServers field of the last received message. Updated whenever a new message arrives. actionServersChanged is emitted on every update.
message : node
The last message received on topic. Updated whenever a new message arrives.
name : string
The name field of the last received message. Updated whenever a new message arrives. nameChanged is emitted on every update.
parameterValues : list<parameterValue>
The parameterValues field of the last received message. Updated whenever a new message arrives. parameterValuesChanged is emitted on every update.
parameters : list<parameterDescriptor>
The parameters field of the last received message. Updated whenever a new message arrives. parametersChanged is emitted on every update.
publishers : list<topic>
The publishers field of the last received message. Updated whenever a new message arrives. publishersChanged is emitted on every update.
serviceClients : list<service>
The serviceClients field of the last received message. Updated whenever a new message arrives. serviceClientsChanged is emitted on every update.
serviceServers : list<service>
The serviceServers field of the last received message. Updated whenever a new message arrives. serviceServersChanged is emitted on every update.
subscriptions : list<topic>
The subscriptions field of the last received message. Updated whenever a new message arrives. subscriptionsChanged is emitted on every update.
Signal Documentation
messageReceived(node msg)
Emitted when a new node 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.