code:emulator
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
code:emulator [2010/02/11 16:20] – newacct | code:emulator [2021/03/04 14:52] (current) – [C code to simulate NMEA output from a GPS in real time - with live Google Earth Display] rocketboy | ||
---|---|---|---|
Line 2: | Line 2: | ||
The code here performs the following: | The code here performs the following: | ||
- | **GPSgen.c** - converts source balloon track KML files into a GPS NEMA logs (i.e. files containing $GPGGA messages etc.) | + | **GPSgen.c** - converts source balloon track KML files into GPS NEMA logs (i.e. files containing $GPGGA messages etc.) |
**emulate.c** - outputs a GPS log to the PC serial port - pacing the output to simulate real time gps output - at the same time //emulate// creates a real-time KML file so you can see where the payload is currently flying using Google Earth. | **emulate.c** - outputs a GPS log to the PC serial port - pacing the output to simulate real time gps output - at the same time //emulate// creates a real-time KML file so you can see where the payload is currently flying using Google Earth. | ||
**outer.kml** is a kml shell that is configured to initiate the real-time display of the kml file generated by emulate (open // | **outer.kml** is a kml shell that is configured to initiate the real-time display of the kml file generated by emulate (open // | ||
Together these programs allow real time testing of payloads with a GPS simulation - as if the payload was flying through the coordinates in the source KML. This allows cut-down algorithms etc. to be checked. | Together these programs allow real time testing of payloads with a GPS simulation - as if the payload was flying through the coordinates in the source KML. This allows cut-down algorithms etc. to be checked. | ||
+ | |||
+ | Some test NMEA files can be found [[code: | ||
The screenshot below shows the emulation of the Pegasus 1 flight running in the top left DOS window, the generated NMEA in the bottom left DOS window against a background of a Google Earth real-time display of the flight. | The screenshot below shows the emulation of the Pegasus 1 flight running in the top left DOS window, the generated NMEA in the bottom left DOS window against a background of a Google Earth real-time display of the flight. |
code/emulator.1265905204.txt.gz · Last modified: 2010/02/11 16:20 by newacct