Michael Selig writes: > I speculate that the new problem running w/ the MagicCarpet FDM (buried > aircraft) is related to the same problem running w/ the LaRCsim/UIUC FDM > that I have reported. All the while, this has not been a problem running > w/ JSBSim FDM. The problem started around the time that work on the viewer > code began. > > Here's my Beech 99 buried: > http://amber.aae.uiuc.edu/~m-selig/tmp/beech.gif > > With this aircraft I used Dz_cg = 2.5 ft. This is a LaRCsim variable which > we can set from our code. When I set Dz_cg = 0 ft, then the aircraft is > above the ground. I don't like this solution because it means that I > cannot move the cg relative to the aero reference point anymore (unless I > want to watch the aircraft takeoff from underground). It also required me > to change some of my configuration files (most were using Dz_cg = 0 by > default). > > I have not tried to dig deeper. But it must relate to Dz_cg and w/ it > d_cg_rp_body_v (see flight.hxx and ls_generic.h). Getting closer to the > problem might involved this part of code in flight.hxx
Michael, I believe the correct solution is to specify the pilot view offset relative to the CG. We also need to specify the offset from the CG to the external model's origin (0,0,0) point so that it can be drawn correctly. Hopefully Jim can explain the proper way to do this in light of the recent view manager overhaul. Regards, Curt. -- 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
