At last,I tried a sample program to send external fdm data to Flightgear
0.9.10.I now could see Flightgear responding to packets.However problem came
that as soon as the packets are arrived the time of day automatically
changes to night and I need to readjust the settings.
I would also like to know that at what sample time should I send the
external fdm data and at what rate should the Flightgear receive the
packets.I suppose this depends on hz option in following command:
--native-fdm=socket,in,30,,5500,udp (in this case 30).
I tried to send packets from my host computer every 1ms and used the
following option for Flightgear command.however,i couldn't get smooth
movement of aircraft.
I suppose this is related to packet sending rate at the source computer and
receiving rate at the destination computer.....
using log-level option I could see that packets are correctly being
identified by Flightgear!!!!!!!
On 12/14/06, Martin Spott <[EMAIL PROTECTED]> wrote:
"Curtis Olson" wrote:
> Endianess is definitely handled. And even for 32 vs. 64 bit systems,
they
> all still use a similar convention where integers and floats are 4 bytes
and
> doubles are 8 bytes. As long as we confine ourselves to ints, floats,
and
> doubles (and use an int for boolean values, etc.) then we should have an
> extremely high probability of getting any two machines to talk to each
other
> successfully.
We should probably write the current state down, define it as "The
NetFDM Protocol" and shoot everybody who breaks it .... Yet another
task on the TODO ....
Thanks, Curt, for taking the time to make things clear,
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel