On Fri, 15 Dec 2006, umesh pandey wrote:

I am currently using FGFS 0.9.10 and trying to interface flightgear with
external fdm data from a program in C.I tested the interfacing using a
sample program.I found that Flightgear responds to the data generated by
external fdm program, however not smoothly i.e. there is no smooth movement
of aircraft.
When I send the packets every 1 ms, the log-level entry in the command
windows shows"Sucess reading data".However the FGFS graphical screen freezes
and the aircraft doesn't move.But when I disable the internet connection
temporarily,it responds momentarily.It means that FGFS is responding to
packets.

What happens if you use a lower rate? 1000 packets per second is quite a lot and in particular if you have FlightGear print something for each packet they most likely won't be processed in time, buffers will fill up and the network layer (in the OS) starts to toss packets and then other things might go wrong as well.

/Anders
--
---------------------------------------------------------------------------
Anders Gidenstam
Algorithms and Complexity Group     Phone: +49 (0) 681 9325 116
Max-Planck-Institut für Informatik  Fax:   +49 (0) 681 9325 199
Stuhlsatzenhausweg 85               Email: [EMAIL PROTECTED]
66123 Saarbrücken, Germany          WWW: http://www.mpi-inf.mpg.de/~andersg
---------------------------------------------------------------------------
-------------------------------------------------------------------------
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

Reply via email to