Hi,

Am 2013-06-23 22:27, schrieb D-NXKT:
> I noticed that positioning an aircraft at FG startup with --lon= and 
> lat= has only a limited accuracy. It seems that only the first 7
> digits are read. This leads to an uncertainty of several
> meters/feet! For example lon=11.379070 --lat=47.306263 is needed to
> place our hang glider directly in front of the ramp (LOWI-Scenery).
> Unfortunately the hang glider pops up several meters right of the
> ramp. I found out that FG internally uses this (rounded) values:
> --lon=11.3791 --lat=47.3063.

How have you checked these values? I've just tried it myself and in the
property browser exactly the same values appear.

> Same issue with input via the Menu "Location/Position Aircraft In
> Air".

Here by default values are shown with four decimal places, but also
values with higher precision are accepted.

> Only positioning via the property browser leads to exact results.

Maybe you are using an operating system with a low precision atof? In
the property browser strtod is used to convert the number whereas for
the dialog and arguments atof is used.

Tom

-- 
Thomas Geymayer  www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
------------------------------------------------------------------------
      Student of Computer Science @ Graz University of Technology
------------------------------- Austria --------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to