LaserScanSubscriber QML Type
Subscribes to sensor_msgs::msg::LaserScan messages — Single scan from a planar laser range-finder. More...
| Import Statement: | import QtRos2.SensorMsgs |
| Inherits: | |
| Status: | Experimental Extension |
Properties
- angleIncrement : real
- angleMax : real
- angleMin : real
- header : header
- intensities : list<real>
- message : laserScan
- rangeMax : real
- rangeMin : real
- ranges : list<real>
- scanTime : real
- timeIncrement : real
Signals
- messageReceived(laserScan msg)
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
LaserScanSubscriber receives laserScan values from a ROS 2 topic. Set the topic and node properties, then connect to the messageReceived() signal.
See also LaserScanPublisher and laserScan.
Property Documentation
angleIncrement : real
The angleIncrement field of the last received message. Updated whenever a new message arrives. angleIncrementChanged is emitted on every update.
angleMax : real
The angleMax field of the last received message. Updated whenever a new message arrives. angleMaxChanged is emitted on every update.
angleMin : real
The angleMin field of the last received message. Updated whenever a new message arrives. angleMinChanged is emitted on every update.
header : header
The header field of the last received message. Updated whenever a new message arrives. headerChanged is emitted on every update.
intensities : list<real>
The intensities field of the last received message. Updated whenever a new message arrives. intensitiesChanged is emitted on every update.
message : laserScan
The last message received on topic. Updated whenever a new message arrives.
rangeMax : real
The rangeMax field of the last received message. Updated whenever a new message arrives. rangeMaxChanged is emitted on every update.
rangeMin : real
The rangeMin field of the last received message. Updated whenever a new message arrives. rangeMinChanged is emitted on every update.
ranges : list<real>
The ranges field of the last received message. Updated whenever a new message arrives. rangesChanged is emitted on every update.
scanTime : real
The scanTime field of the last received message. Updated whenever a new message arrives. scanTimeChanged is emitted on every update.
timeIncrement : real
The timeIncrement field of the last received message. Updated whenever a new message arrives. timeIncrementChanged is emitted on every update.
Signal Documentation
messageReceived(laserScan msg)
Emitted when a new laserScan 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.