Hi all,
I created a simple protocol file named fl.xml :
<?xml version="1.0"?>
<PropertyList>
<generic>
<output>
<binary_mode>false</binary_mode>
<chunk>
<name>Angle of Attack</name>
<type>double</type>
<node>/orientation/alpha-deg</node>
</chunk>
</output>
</generic>
</PropertyList>
And I am running flightgear with :
fgfs --generic=socket,out,100,0.0.0.0,5500,udp,fl --aircraft=787-ANA
Now the problem is the value I get is 11, but the field contains
11.543... value which I can see from telnet interface.
I tried to add <format>%f</format> but then it shows 0.0. So I wonder
if you have any ideas regarding this problem with double fields.
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users