On this page

channelFloat32 QML Value Type

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
Status: Experimental Extension

Properties

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"

channelFloat32 is a structured value type usable in QML. It maps directly to the sensor_msgs::msg::ChannelFloat32 ROS 2 message type.

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

See also ChannelFloat32Publisher and ChannelFloat32Subscriber.

Property Documentation

name : string

The channel name should give semantics of the channel (e.g.

"intensity" instead of "value").

values : list<real>

The values array should be 1-1 with the elements of the associated

PointCloud.

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