View Single Post
Posts: 144 | Thanked: 45 times | Joined on Oct 2007 @ Detroit
#27
Originally Posted by djs_tx View Post
I've thought about this too. I've got my N800 mounted to the handlebars of my motorcycle with Maemo mapper running too.

I actually know the guys who provide the GPS systems they use in NASCAR over here in the USA. To get the accuracy they wanted, they combined a GPS system with an inertial measurement system. Seems that GPS suffered from occasional reflection off of other cars.

Is there simple snippets of code somewhere to show GPS logging? I'd like to play with it. I have a track day scheduled in about a month down here in Houston.

David
What kind of mounting do you have to keep the N800 on the handlebars?

if you have gpsd and python, here is the python code to get the gps data

import gps, os, time
session = gps.gps()
while 1:
os.system('clear')
session.query('admos')
# a = altitude, d = date/time, m=mode,
# o=postion/fix, s=status, y=satellites
print
print ' GPS reading'
print '----------------------------------------'
print 'latitude ' , session.fix.latitude
print 'longitude ' , session.fix.longitude
print 'time utc ' , session.utc, session.fix.time
print 'altitude ' , session.fix.altitude
print 'eph ' , session.fix.eph
print 'epv ' , session.fix.epv
print 'ept ' , session.fix.ept
print 'speed ' , session.fix.speed
print 'climb ' , session.fix.climb

time.sleep(1)
__________________
~m~
Varghese