GPS Object

Purpose:

returns information from the onboard GPS.

Syntax:

 

gps.methodname

where methodname is one of the following

setInterval
setMinDis
stop
start
record
distance
altitude
speed
latitude
longitude
degrees
seconds
minutes
getGPSdata
setTrackid
setTablename
accuracy
bearing
recordflag

 

Comments:

Use the gps.start method to turn on the GPS monitoring

 

Example:

gps.start

p gps.latitude

When done, you can use

gps.stop

to stop monitoring