SonarGetDistance Method
Gets the distance calculated from the sonar echo after calling Ping().
A value of -1 indicates no echo was received in time. Note that a call to this method
will reset the distance to -1. Therefore, the caller should store the
value returned in a variable.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
Public Function GetDistance As Integer
member GetDistance : unit -> int
Return Value
Int32Distance calculated as a result of an echo received after a sonar ping.