Rangefinders (landing page)ΒΆ

Copter/Plane/Rover support a number of different rangefinders including Lidars (which use lasers or infra-red beams for distance measurements) and Sonars (which use ultrasonic sound), and also includes Maxbotix Sonar and Pulsed Light LED range finders. These devices can be used for measuring distance near to the ground for precision landings and altitude control, water depth, or object distance as proximity sensors for avoiding objects.

360 degree Lidars are typically used in object avoidance as proximity sensors. While multiple 1D (single dimensional) sensors can be used for proximity detection.

Note

Downward facing rangefinders are automatically used in flight modes which have height control, such as Altitude Hold, Loiter and PosHold Mode. The data from the sensor will be used until you exceed RNGFND_MAX_CM, after that it switches to the barometer.

Copter-3.4 (and higher) includes support for Terrain Following in Auto mode.

Copter-3.5 (and higher) and Rover-3.5 (and higher) can use rangefinders for Object Avoidance.

Warning

RNGFND_MAX_CM must be set to a tested, appropriate value. If RNGFND_MAX_CM is set to a value greater than the range of the sensor, the autopilot will not respond correctly to the data provided.

Follow the links below (or in sidebar) for configuration information based upon your set-up.

../_images/RangeFinder_LandingPageImage_4.jpg