Caleb N. Bonilla writes: > I am trying to log what the FDM is doing, but I am unsure if it is > working...I was using the c172 (JSBsim) and used the keystorke Shift-F10, > and I would assume a CSV file should appear in the same bin folder as > fgfs, no? Any advice?
Have a look at the "File->Logging" menu in the main menu bar. That will bring up a dialog box where you can enter the properties you want to log and the data collection rate. Notice that you have to enable logging with the big circular button at the top center of the dialog box *AND* you have to enable each field individually that you want to log. My impression is that the logging dialog box is really not meant for serious use, and is there more as a proof of concept or place holder. It shows you want you can do, but if you really want to do logging, you probably want to set up different fields, and perhaps log more than 9 fields. In that case you can a) edit your preferences.xml to setup different defaults, or b) use the "telnet" interface with a remote script to set up the fields exactly like you want and enable logging. The core logging code is *really* nice, *really* flexible, and works *really* great. It's just the default interface that is a little clunky. For a side project, I've written an external perl-tk script that presents a gui with all the possible fields I want to log (about 25 fields). You can turn any field on/off individually, select the file name, etc. Then you can click start logging and stop logging, and it all works great. The perl-tk script talks to FlightGear via the "telnet" interface and takes care of all the details of setting up the logging configuration inside of FlightGear. This works well for me, because in my case there is a limited set of fields I know in advance that I want to log. I also did a quick hack and wrote a little front end to gnuplot where I can select a data file, then be presented with a drop down box of all the fields logged in that file, and can pick any one of them individually and graph it against time. I know Jon has done something similar for JSBsim, but I needed this all wrapped up in the context of a larger gui application. Regards, Curt. -- Curtis Olson HumanFIRST Program FlightGear Project Twin Cities curt 'at' me.umn.edu curt 'at' flightgear.org Minnesota http://www.flightgear.org/~curt http://www.flightgear.org _______________________________________________ Flightgear-users mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-users
