If it helps, when building Flightgear, I get compile warnings saying
that there's a narrowing conversion from double to float in some YASim
methods:
|flightgear/src/FDM/YASim/YASim.cxx:261:30: warning: narrowing
conversion of
‘((YASim*)this)->YASim::<anonymous>.FGInterface::get_uBody()’ from
‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]||
||flightgear/src/FDM/YASim/YASim.cxx:261:43: warning: narrowing
conversion of
‘((YASim*)this)->YASim::<anonymous>.FGInterface::get_vBody()’ from
‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]||
||flightgear/src/FDM/YASim/YASim.cxx:261:56: warning: narrowing
conversion of
‘((YASim*)this)->YASim::<anonymous>.FGInterface::get_wBody()’ from
‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]|



On Sun 23 Jun 2013 06:09:32 PM CDT, Curtis Olson wrote:
>
> The hang glider is using the UIUC fdm, right? Perhaps that is using a
> float (6-7 digits of precision) to represent it's initial conditions
> ... or somewhere in the startup pipeline or the flightgear interface
> to the uiuc model, the initial lon/lat is stored as a float?
>
>
> On Sun, Jun 23, 2013 at 5:27 PM, D-NXKT <d_n...@yahoo.de
> <mailto:d_n...@yahoo.de>> wrote:
>
> Hmm, everything is fine if I use a different plane. Seems to be a hang
> glider specific problem.
> Monitoring the latitude and longitude variabel from the very beginning
> shows, that both variables have at first indeed the correct
> values. Then
> the latitude value suddenly jumps from 47.306263 to 47.306206.
>
> Sorry for the noise.
>
> Best regards
> D-NXKT
>
>
>
> ------------------------------------------------------------------------------
> 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
> <mailto:Flightgear-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>
>
>
> -- 
> Curtis Olson:
> http://www.atiak.com <http://www.atiak.com/> - http://aem.umn.edu/~uav/
> http://www.flightgear.org
> <http://www.flightgear.org/> - http://gallinazo.flightgear.org
> <http://gallinazo.flightgear.org/>
>
>
> ------------------------------------------------------------------------------
> 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
> -- 
> Saikrishna Arcot
------------------------------------------------------------------------------
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