Differences

This shows you the differences between the selected revision and the current version of the page.

rawgps:start 2009/03/20 09:42 rawgps:start 2009/03/20 09:55 current
Line 5: Line 5:
rawgps is a small footprint program which allows platforms such as Macromedia Flash to directly access GPS data.  It is designed to be polled by the Flash application - though it could be used to feed XML data into a socket to generate events. rawgps is a small footprint program which allows platforms such as Macromedia Flash to directly access GPS data.  It is designed to be polled by the Flash application - though it could be used to feed XML data into a socket to generate events.
-Running Flash in conjunction with platforms like Mscape under Windows CE (particularly on low processor speed portable devices) can lead to "lagging" effects due to the build up of the events queue.  rawgps gives a way around this problem by allowing the position to be polled only when needed - so there is no queue buildup.  Under heavy load, it won't degrade by lagging behind the actual position; the worse case will be that it will jump to the new position.+Running Flash in conjunction with platforms like Mscape under Windows CE (particularly on low speed portable devices) can lead to "lagging" effects due to the build up of the events queue.  rawgps gives a way around this problem by allowing the position to be polled only when needed - so there is no queue buildup.  Under heavy load, it won't degrade by lagging behind the actual position; the worse case will be that it will jump to the new position.
===== Design ===== ===== Design =====
Line 11: Line 11:
rawgps runs a continuous loop: rawgps runs a continuous loop:
-- read data from the GPS device com port. +  - read data from the GPS device com port. 
-- filter on the GPGGA sentence. + - filter on the GPGGA sentence. 
-- convert lat/lon to decimal degrees + - convert lat/lon to decimal degrees 
-- write the data in XML or HTTP variable format to a file or stream+ - write the data in XML or HTTP variable format to a file or stream
Flash action script can poll, as and when it requires position data, with a LoadVars call from the data file. Flash action script can poll, as and when it requires position data, with a LoadVars call from the data file.
Line 24: Line 24:
* [[rawgps.c]] - The C source * [[rawgps.c]] - The C source
* [[Numerical]] - The Flash action script to display position numerically * [[Numerical]] - The Flash action script to display position numerically
-* [[Mapping]] - The Flash Action Script to display map position+* [[Mapping]] - The Flash action script to display map position
===== Testing ===== ===== Testing =====
 
rawgps/start.1237542170.txt.gz · Last modified: 2009/03/20 09:42 by tarim
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki