I wrote the following two R functions to parse the $GPRMC sentences. I've attached a copy of an unofficial description of the NMEA0183 protocol. This sentence includes UTC time and date, latitude, longitude, heading, ground speed and others. The particular NMEA0183 sentence I want begins with $GPRMC, the recommended minimum navigation information. I hooked up the device and used the serial connection to collect some data using some R commands similar to the following > con testdata close(con) This GPS device is able to output NMEA0183 sentences to a standard serial port (4800,8,1,N). ![]() I recently wrote a serial connection for R-2.11.0 so that I can communicate with serial devices, for example an old Garmin eTrex Legend.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |