> data?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
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.
2. At the moment my program is a standalone program, because I do not know to to add my lines to FlightGear. How will I append the program to the main flight gear program???
3. How can I write characters or words using OpenGL. I need this to write names and numers at the curves and axes.
That's a bit difficult. You might want to take a look at FlightGear/src/Cockpit/hud_lbl.cxx and may even use that to draw the characters I guess.
Erik
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
