Brian,
I committed the changes to CVS last night that include re-initializing the
FCS component states. You may want to subscribe to the CVS update list, too.
Jon
From: b mills [mailto:bri...@in...]
Sent: Sunday, March 22, 2009 10:29 PM
To: jsb...@li...
Subject: [Jsbsim-matlab] Updates
Hi all,
Just some brief (or not so brief) updates.
Thanks to Jon, one issue I have had is now (at least in some cases) fixed.
This was an issue with previous aircraft states being used in successive
simulation runs. If the AC model used has no FCS integrators (such as in
PIDs, and possibly actuators) then the problem seems to be fixed. However,
for the time being, if there are FCS system states, then the S-Function will
need to be cleared from the Matlab command line in order to have a fresh
start after each run.
At this point I want to make the project available to anyone that wants it
so I'm assuming that getting it on cvs would be logical. I'm also going to
look at uploading it to Mathworks.com.
Whats next:
My intention was to be able to use this S-Function for not only flight-model
and FCS system work, but also to construct systems models (apu, electrical
etc.) However, after looking at FG and JSBSim source code, it appears that
in order for this to happen, it may need to become a FlightGear S-Function.
How difficult would it be to incorporate some of the FG classes into the
project...kind of a FG_Lite....
A trim and linearization function. Agostino, I think you already have some
code for a trim function in your MexJSBSim project?
Brian
|