range QML Value Type
Single range reading from an active ranger that emits energy and reports one range reading that is valid along an arc at the distance measured. More...
| Import Statement: | import QtRos2.SensorMsgs |
| Status: | Experimental Extension |
Properties
- fieldOfView : real
- header : header
- maxRange : real
- minRange : real
- radiationType : uint8_t
- range : real
- variance : real
Detailed Description
This message is not appropriate for laser scanners. See the LaserScan message if you are working with a laser scanner.
This message also can represent a fixed-distance (binary) ranger. This sensor will have min_range===max_range===distance of detection. These sensors follow REP 117 and will output -Inf if the object is detected and +Inf if the object is outside of the detection range.
range is a structured value type usable in QML. It maps directly to the sensor_msgs::msg::Range ROS 2 message type.
Construct a range in QML by assigning a JavaScript object whose keys are its component properties, or by setting those properties individually.
See also RangePublisher and RangeSubscriber.
Property Documentation
fieldOfView : real
header : header
maxRange : real
minRange : real
radiationType : uint8_t
range : real
variance : 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.