Found this handy website
http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
Tuesday, November 9, 2010
Monday, November 8, 2010
NMEA Parser update
We have agreed on a protocol for the file that the microcontroller stores on the SD card. The file will contain normal NMEA data, mixed in with depth measurements. Since all NMEA data begins with a '$' sign, the depth measurements are easily singled out. Also, since the GPS only updates one time per second, and we are able to take several depth measurements during that time, the desktop application takes an average of all of the depth measurements taken during the GPS refresh time. The regex that I am using to pull the GPS coordinates is
self.gpgga = re.compile('^\$GPGGA,\d+,(?P\d+\.\d+),[NS],(?P\d+\.\d+),[EW],\d,(?P\d+),.*,(?P\d+\.\d+),M');
self.gpgga = re.compile('^\$GPGGA,\d+,(?P
Thursday, November 4, 2010
NMEA Parser
I wrote some nice code today to parse the NMEA input. We are able to gather latitude, longitude, altitude, and depth data. The code can be found in our svn repository.
Subscribe to:
Posts (Atom)