Get Nearest Obstacle Distance

Description

Performs a 360-degree scan and returns the distance to the nearest detected obstacle in millimetres, regardless of its direction. Returns -1 if no valid scan data is received.

Example

There are no examples documented for this article.