So in order to sanely write to the autopilot, you need to understand the “operational” meaning of each change, not just what lights you want to light up. So for example, engaging heading mode will clear out any of: wing leveler, HNAV. In particular, the sim must maintain exactly one lateral and vertical mode. Some modes will cancel other modes automatically.Otherwise, when setting both, there is a chance that the implementation could arm the localizer first, then set heading mode, which would clear the localizer arm. So to set up for an approach, you want to first set only heading mode, then set only localizer arm. For example, engaging heading mode normally clears localizer arm. If you write a combined set of bits, the order that the commands are “executed” may not be predictable. If you want to change modes in a certain sequence, write to the dataref multiple times.Write ONLY the bit you want to toggle! If you want to toggle altitude hold arm, write only “32” to the dataref.To change a dataref value, follow these rules: Starting in X-Plane 740, this dataref can be written. Note that back-course is not an axis – use the dataref sim/cockpit/autopilot2/backcourse_on or the command sim/autopilot/back_course. No real-world airplane works like this, but X-Plane has had this ability as a poor-man’s way to fly a flight plan since X-Plane 6. FMS – the FMS mode is a hack: basically the FMS mode tells whether the FMS will copy current FMS target altitudes into the autopilot windows.– For more modes, see sim/cockpit2/autopilot/autothrottle_enabled Autothrottle – this mode controls how the AP interacts with throttles – currently it is effectively boolean (autothrottle is “on” and will try to maintain target airspeed via thrust, or it is “off”).Note that speed-via pitch is a vertical mode, because the plane’s vertical path will change as necessary to hit a target airspeed. Vertical – this mode controls the pitch of the airplane.Lateral – this mode controls the heading of the airplane.Basically the internal autopilot can be in only one mode per axis. Holds magnetic ground track corrected for wind. Holds turn rate (as indicated by turn coordinator) instead of bank angle. Holds Heading at the time of engagement, ignores heading bug. Use this to fly in LNAV mode while being able to arm Nav mode for localizer interception. Tracks GPSS regardless of HSI selected nav source. Use in conjunction with G1000 providing descent cues. Holds pre-determined pitch in take-off or go-around phase. Holds wings level in take-off or go-around phase. Starting with X-Plane 9.40, you can directly engage the autopilot in this mode. Speed-by-pitch mode to achieve FMS-selected speed to climb or descend to VNAV altitude or MCP altitude, whichever is more restrictive. Tracks a vertical nav source (ILS glide slope or GPS glide path). Writable with overwrite – see below.Īrms vertical track of a nav source (ILS glide slope or GPS glide path). Speed-by-pitch in combination with altitude preselect armed.Īrms tracker/coupler to track a nav source (VOR radial, localizer or GPS course). Note that an aircraft might still specify “altitude is always armed” in Plane Maker. In 9.20 and 9.30, this was incorrectly mapped to “altitude engage” when written to. In X-Plane 9.0, altitude was always armed. For a true speed-by-pitch regardless of altitude, altitude hold must not be armed.īefore X-Plane 8.11, altitude was “always armed” – that is, setting this would engage altitude immediately. Note that when altitude is armed, this will be limited in pitch to the direction the pre-selected altitude is from the current altitude. Holds the selected airspeed or mach number by manipulating pitch. When the pitch axis is NOT speed-by-pitch, holds airspeed or mach number by manipulating the auto-throttle servos. The following table summarizes all bit-field values. The autopilot state dataref summarizes all state and mode information from the autopilot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |