* Martin Spott -- Thursday 11 May 2006 12:24: > Melchior Franz wrote: > > Log Message: > > only activate heading & altitude lock when in air (and even then it should > > probably be configurable?).
> It probably makes much sense to couple this to the minimum safe altitude > as a default instead of simply '!on_ground', say at least 500 ft AGL in > unpopulated areas, 1000 ft AGL overhead small towns, 1500 ft AGL overhead > large cities. I thought about a minimum altitude, but I dropped the idea. The route-manager is really a tool for the aircraft's AP setup. It should be a servant, and not be overly smart by itself. Even the heading and altitude locking feature is already a questionable feature (but quite convenient, which is why I left it in for now :-). One could remove the AP locking from route_mgr.cxx and write a default handler in Nasal space that checks for altitudes/on-ground and operates the AP. This could then be disabled by aircraft engineers who only want the route management, but want to control the AP themselves. As the route-manager is more fun now than it used to be, and probably one of the less known fgfs subsystems, here is a short summary: Set waypoints - in the "Autopilot/Route Manager" dialog - via --wp=<waypoint-spec> command line argument - via --flight-plan=<filepath> command line argument The flight-plan is a simple file with a list of <waypoint-spec>s, each on a single line. <waypoint-spec>s are case-insensitive and follow this format: (icao-airport-id|fix-id|nav-id|lon,lat)[EMAIL PROTECTED] (Altitude is interpreted as ft or m, depending on the global setting, but the dialog always assumes ft for now. Will be fixed.) Examples: ksfo [EMAIL PROTECTED] [EMAIL PROTECTED] (FIX near KHWD, at 5000 ft/m) brijj (NDB near KSFO) [EMAIL PROTECTED] (VOR in KOAK) -122.45299,[EMAIL PROTECTED] (coords of Sutro tower) Try for example this: $ cat /tmp/route [EMAIL PROTECTED] [EMAIL PROTECTED] krhv [EMAIL PROTECTED] knuq [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] $ fgfs --aircraft=YF-23 --airport=ksfo --flight-plan=/tmp/route --altitude=1000 --vc=400 then open the "Route Manager" dialog, lean back & enjoy the show. :-) ... and later: report bugs :-} m. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel