Off the top of my head, I believe selecting reinit from the file menu
causes the instance of the FDM class to be deleted and re-created.
This means that it reloads the parameter file and recomputes a
solution.  That seems like a decent middle of the road solution.  You
make your fdm changes in a separate window/editor and then do "reset"
to reload them.  You have to start again from the ground, but at least
you skip the overhead of having to reload flightgear from scratch.

This appears to work right now.

Regards,

Curt.


Gene Buckle writes:
> (thanks for the quick response)
> 
> My thought is that a real-time "model wrench" might make it easier for
> people to develop or improve aircraft models.
> 
> I imagine it would save a _lot_ of time if the "edit parameter file, run
> fgfs, test, re-edit" cycle could be reduced to "run fgfs, tweak in-flight,
> dump new parameter file".
> 
> I've got _way_ too many irons in the fire to try to tackle this myself,
> but if YASim could listen on a TCP port for "model wrench" commands, an
> external tool could be written (gui or text) that would allow a user to
> tweak the currently running model in-flight and then have the tool dump
> the changed version of the parameter file to disk after the session was
> complete.
> 
> YASim itself wouldn't have to do much work other than update the requested
> parameter and "re-solve"(?) the model.  The 1 or 2 second pause wouldn't
> be any big deal (I wouldn't think) because it would be an expected part of
> the design phase.  If you wanted to add some kind of temporary solver, you
> could do a "test" solve and then send an error code to the model wrench
> and go back to the original (or prior) if the solver dies.
> 
> I don't know of any other simulator that could do this, but I don't know
> if it's practical either.  I think it would be fantastic if it was
> possible.
> 
> Is this too far afield?
> 
> g.
> 
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

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

Reply via email to