On this page

ChannelFloat32Subscriber QML Type

Subscribes to sensor_msgs::msg::ChannelFloat32 messages — This message is used by the PointCloud message to hold optional data associated with each point in the cloud. The length of the values array should be the same as the length of the points array in the PointCloud, and each value should be associated with the corresponding point. More...

Import Statement: import QtRos2.SensorMsgs
Inherits:

SubscriberBase

Status: Experimental Extension

Properties

Signals

Detailed Description

Channel names in existing practice include: "u", "v" - row and column (respectively) in the left stereo image. This is opposite to usual conventions but remains for historical reasons. The newer PointCloud2 message has no such problem. "rgb" - For point clouds produced by color stereo cameras. uint8 (R,G,B) values packed into the least significant 24 bits, in order. "intensity" - laser or pixel intensity. "distance"

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

See also ChannelFloat32Publisher and channelFloat32.

Property Documentation

message : channelFloat32

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.

values : list<real>

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

Signal Documentation

messageReceived(channelFloat32 msg)

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