Hi -- I have extensively reworked the location-in-air.xml popup.
It is now much more pilot-friendly. ----> I would appreciated if other folks would play with it and provide feedback. The latest & greatest version is at http://www.av8n.com/fly/fgfs/location-in-air.xml there is also a diff against the CVS version: http://www.av8n.com/fly/fgfs/location-in-air.diff but the diff is bigger than the file itself, which means the diff doesn't serve much purpose. Here are some of the comments from the .xml file: ## In the top section of the dialog: ## *) There is a new radio button, "Here". ## This is useful if you want to relocate vertically, ## keeping other things the same. You could also apply ## a distance-and-radial offset to "Here" (but this ## is broken at the moment). ## *) If you push one radio button and then "OK", it ## doesn't clear out the fields associated with the ## other buttons. This is useful if you want to come ## back to one of the other reference points later. ## In the bottom section of the dialog: ## *) If you leave the altitude blank, ## it defaults to your present altitude. ## *) If you leave the airspeed blank, ## it defaults to your present airspeed. ## *) If you leave the heading blank, ## it defaults to your present heading. ## *) If you leave the radial blank, ## it defaults to your present heading. ## This is particular useful when relocating ## some distance /ahead/ i.e. relative to ## present position. ## *) If you leave the distance blank, ## it defaults to zero. ## *) The radial and the heading are now specified ## in degrees /magnetic/ (not degrees true). ## Behind the scenes, we protect the magneto settings ## as well as the aileron-trim, elevator-trim, and ## rudder-trim ... to keep them from being ravaged by ## the reset (relocation) routine we have to call. ## I finally discovered that it is possible to turn off ## the "trim" feature of the reset function. It's off now, ## leading to far fewer bizarre error messages on the console. ## Still, though, the "reset" function trashes the trim and ## the engine settings. ## Kludges and workarounds (to be removed when circumstances permit): ## *) I installed a kludge to restore the trim and magneto ## settings after the "reset" function tries to trash them. ## Known bugs: ## *) Apparently the reset routine refuses to ## apply an offset if the reference point is a lat/lon. ## Maybe we could work around this ... or we could just ## beseech the FDM authors to fix it on their end. ## This is broken both in jsbsim and larcsim. ## *) The previous item also breaks offsets relative to "Here". ## *) We should calculate the magnetic variation at the ## /reference point/ (not at the current position, as ## we do now, which is quick and dirty). ## *) The "trim" function that goes on inside the "reset" ## function is a disaster in JSBSim. For details on this, ## see below. ## *) Among many disasters, "trim" trashes the throttle settings. ## My workaround for this works under LaRCsim but fails ## under JSBSim ## *) The "glideslope" variable appears in the dialog, but ## I doubt it does anything useful. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel