NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
long SensorDIGPSDistanceToWaypoint ( byte  port)
inline

SensorDIGPSDistanceToWaypoint function.

Read the distance remaining to reach the current waypoint in meters.

Parameters
portThe port to which the Dexter Industries GPS sensor is attached. See the Input port constants group. You may use a constant or a variable.
Returns
The distance to the waypoint in meters
Examples:
ex_digps.nxc.