getDistanceToObstacle

context(telemetry: Telemetry)
fun getDistanceToObstacle(): Double

Get distance to an obstacle from the distance sensor.

Return

distance to an obstacle

See also

DistanceSensor