On Wed, 16 Jul 2003 08:09:07 -0500 "Curtis L. Olson" <[EMAIL PROTECTED]> wrote:
> Christophe DONTAINE writes: > > Hi, > > > > I'm writing a little application to link Aerowinx PS1 simulator to > > FlightGear to have a better world visualization. > > > > (to C. Olson: the project discussed by mail the 18 April) > > > > I use the FG 0.9.1 from CVS where I found a java library to drive FG > > from the network. (I'm updating my CVS to 0.9.2 right now) > > > > For now, the flightgear aircraft is only at the good altitude. :D > > > > > > 1� I read into the java library some variables like > > "/position/altitude-ft" and I would like know if there is a > > document listing all the variables. > > > > 2� I sent updates from the network and the aircraft is > > moving... fine. But it seems that updates are too slow. Is there a > > theorical update frequency to avoid some step in the aircraft flight > > ? or the faster update is the better update ? > > Hi, > > Unfortunately the interface mechanism you are using is not designed to > be high bandwidth. I believe it runs at 5hz? and only processes one > line/command per iteration. You could try upping the frequency via the command line, "--props=socket,bi,20,,5500,tcp". There was a bug where the frequency was always 5Hz regardless of the command line. Hopefully this was fixed. > It would work better to send over an FGNetFDM structure > (src/Network/net_fdm.hxx) via UDP. Agreed, although it might be tricky from a java app. Bernie _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
