Quote:
Originally Posted by grantboxer
Maybe we should suggest it to the Stellarium people to get a GPS plug-in.
|
It should be simple enough. Most GPS provide a serial output that's easy to decode. Any one of these would do for lat/lon and time, but $GPGGA provides height and $GPRMC the date:
$GPRMC,hhmmss.sss,A,lat,[NS],lon,[EW],0.00,,ddmmyy,,,A*6C
$GPGGA,hhmmss.sss,lat,[NS],lon,[EW],1,06,1.3,hhh.h,M,22.2,M,,0000*49
$GPGLL,lat,[NS],lon,[EW],hhmmss.sss,A,A*49
lat/lon in dmm.mmmm, height (hhh.h) in metres, and date/time in UTC.