|
From: Ron J. <wi...@je...> - 2012-10-28 21:13:52
|
On Wednesday 24 October 2012 23:05:39 Jon S. Berndt wrote: > I finally got around to adding James Goppert's trim and state space classes > and routines to JSBSim CVS. > > Jon Ah hah! I see a problem. In src/FGFDMExec.cpp you initialize all the simplex defaults into trim/guess/*, but src/initialization/FGSimplexTrim.cpp is trying to load the defaults from trim/solver/*. Going on from there, I'm seeing the defaults are bad. The fcs needs to be in a 0-1 range instead of a 0-100 range, the alpha and beta angles are being interpreted as radians (at least in some places) and are entered in degrees. Changing that gives me a solver that doesn't move the controls, though. :( I never looked at James Goppert's original code, though. Not sure what else needs to be adjusted. Ron |