RangeFinders (Sonar/Lidar) for Object Avoidance

RangeFinders (Sonar or Lidar) can be used for Object Avoidance in Copter-3.5 (and higher) in Loiter and AltHold modes.

Warning

This feature is new for Copter-3.5 and should be used with caution. Only up to two rangefinders can be used at the same time although a minor code change can allow up to 4 to be used.

Connecting and Configuring the Lidar

References