laserScan QML Value Type
Single scan from a planar laser range-finder. More...
| Import Statement: | import QtRos2.SensorMsgs |
| Status: | Experimental Extension |
Properties
- angleIncrement : real
- angleMax : real
- angleMin : real
- header : header
- intensities : list<real>
- rangeMax : real
- rangeMin : real
- ranges : list<real>
- scanTime : real
- timeIncrement : real
Detailed Description
If you have another ranging device with different behavior (e.g. a sonar array), please find or create a different message, since applications will make fairly laser-specific assumptions about this data
laserScan is a structured value type usable in QML. It maps directly to the sensor_msgs::msg::LaserScan ROS 2 message type.
Construct a laserScan in QML by assigning a JavaScript object whose keys are its component properties, or by setting those properties individually.
See also LaserScanPublisher and LaserScanSubscriber.
Property Documentation
angleIncrement : real
angleMax : real
angleMin : real
header : header
intensities : list<real>
(Note: values < range_min or > range_max should be discarded)
rangeMax : real
rangeMin : real
ranges : list<real>
scanTime : real
is moving, this will be used in interpolating position
of 3d points
timeIncrement : real
© 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.