> Hi
>
> While trying to correctly tweak the FDM and PID controllers for the L1011-500,
> i though it would be really nice to have some sort of standalone app running
> on a remote machine, plotting selected property(es) "oscilloscope style" (in
> my case, i'd like to make it run in my old P133).

There is a facility in both JSBSim and FlightGear for piping data through a socket. I 
am
not familiar with the method used by FlightGear. For JSBSim, you can specify a PORT, IP
address, as well as select a set of terms to send (for instance, flight control 
component
input/outputs from the control laws as specified using JSBSim FCS components). You can
also specify a property to send. Here is the format:

<OUTPUT NAME="192.168.0.2" TYPE="SOCKET" PORT="5156">
  RATE_IN_HZ       20
  SIMULATION       ON
  ATMOSPHERE       OFF
  MASSPROPS        OFF
  AEROSURFACES     ON
  RATES            ON
  VELOCITIES       ON
  FORCES           ON
  MOMENTS          ON
  POSITION         ON
  COEFFICIENTS     OFF
  GROUND_REACTIONS ON
  FCS              ON
  PROPULSION       ON
</OUTPUT>

Actually, the data sent across a socket is now not configurable, as is writing data to 
a
data file, at this time. It's not that hard to change.

You can use the netcat (nc) application under unix/linux/cygwin to test out the socket.

> I saw that this is not a new idea, is there anything usable at the moment?
> If not, i wouldn't mind to work on it, just point me in the right direction :)
>
> a little OT:
> What other tools might be useful in "debugging" aircrafts?

I use another tool I wrote called SimPlot. It's in JSBSIm CVS. It does require you to
download the DISLIN plotting library, but it is the quickest dirtiest plotting tool 
I've
seen and perfect for doing fast analysis. You can also set up a plotting "directives" 
file
(XML format) and have SimPlot automatically create a set of plots from a data file 
created
by a previous JSBSim run, and SimPlot will also create an HTML file that interfaces 
with
the auto-generated plots. It makes for a very quick turnaround cycle in debugging, 
making
changes, and seeing the results.

This might be a good topic for an article in the upcoming "Back of the Envelope" JSBSim
newsletter, which is now about half done.

Jon


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to