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: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+65026aec209dcdd4c8c41f5116aa473c5500e690
Public Function GetDistance As Integer
member GetDistance : unit -> int
Return Value
Int32Distance calculated as a result of an echo received after a sonar ping.