get_distance_value()

Function Definition: get_distance_value( )

Parameters

NameTypeDescriptionExpected ValuesDefault Value
intThis function returns the distance measured by the selected Time-of-Flight sensor region. It is useful for obstacle detection and distance-based navigation.

Description

This function returns the distance measured by the selected Time-of-Flight sensor region.

It is useful for obstacle detection and distance-based navigation.

Example

There are no examples documented for this article.