The current GPS code is 'simple', in that the fundamental WGS84  
position is read directly from the /position properties. I want to add  
a realistic mode, where the GPS indicated position had some error /  
lack of precision. The previous code contained a commented-out block  
of logic that tried to achieve this, but which was apparently non- 
functional.

I am not looking to physically model GPS reception, of course: what I  
want is a filter I can apply to the raw /position values that gives  
plausibly imprecise values. Ideally, the filter would support a  
tuneable precision parameter, so I can model selective availability,  
WAAS and poor reception (crudely) by adjusting the precision input.

What do people suggest? The filter needs to be fairly stable (possibly  
with the help of low pass filtering), so adding random noise per frame  
will not work. I've considered using some periodic function (even sin  
or cos) on the fractional parts of the lat / lon, with the amplitude  
corresponding to the desired precision value.

Regards,
James


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to