Am Fre, 2003-08-15 um 16.13 schrieb Erik Hofman: > Carsten Hoefer wrote: > > Hi, > > I tried to write a small program to plot various flight information. For > > example height vs. time, speed vs. time, etc.... > > Unfortunately I am a programing novice. That's why I need your help now! > > > > The basic program works now (You will find the code at: > > http://home.t-online.de/home/carsten.hoefer). But for the next steps I > > got some questions: > > > > 1. My intention is, to read the nesseccary data from Curt's Replay > > function, because every information I need should be saved there > > already. I checked the code, but still do not know how I may access the > > data (flight time, height, speed, etc). At the moment I'm reading some > > test data from an ascii test file, but how do I read the 'real' replay > > data? > > The data is gathered in FlightGear/src/Network/native_ctrls.cxx (gather > the data is done in FGProps2NetCtrls and putting data back is done in > FGNetCtrls2Props). The replay system uses this exact data. > > If we can get a list of properties that are needed for replay > functionality it might be easier to update the generic protocol to not > just be able to output any data but also be able to read that data back. > > That would allow for a replay system that can sent data over the > network, serial port and use files to store a flight ... > > See FlightGear/src/Network/generic.cxx and generic.hxx and > FlightGear/data/Protocols. >
Thanks Erik. I will have a look at these files. At the moment I'm plotting agl, msl, speed, travelled distance versus time or travelled distance (if I would get the data;-)). With the difference between agl and msl it should also be possible to add a ground profile to the msl vs. time or distance. Carsten _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
