Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Attitude hold again

Featured Replies

Hi all Building an autopilot for a light twin in FSX coded in XML. Got attitude sync. and up and down working Ok but it seems in FSX with AP_ATT_HOLD_ON you can't disconnect wing leveler or use any lateral commands.Is this hard coded or is there a way?

Paul EGLD

  • Moderator

Paul, the "wing leveler" is turned on automatically when darn near any AP mode is selected. You have to send a command to "turn it off" each time if you really don't want it on.For example:

		<Area Left="372" Top="59" Width="30" Height="16">			<Visible>(L:VS_Hold,bool) 1 ==</Visible>			<Tooltip> Increase Vertical Speed </Tooltip>			<Cursor Type="UpArrow"/>			<Click Repeat="Yes">				(L:dvspeed,enum) 100 + (>L:dvspeed,enum)				(L:dvspeed,enum) (>K:AP_VS_VAR_SET_ENGLISH)				(>K:AP_WING_LEVELER_OFF)			</Click>		</Area>

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Can't this be avoided by including default_bank_mode = 0 in the .cfg file? According to the SDK wing-levelling is on by default if no value is set for this

Gerry Howard

  • Moderator
Can't this be avoided by including default_bank_mode = 0 in the .cfg file? According to the SDK wing-levelling is on by default if no value is set for this
Of course, Gerry. But, this is simply a way to programmatically handle the issue without having to edit any given aircraft.cfg file.The reality is however, that most dual-axis autopilots DO enforce a "wing leveler mode" whenever any navigation mode is enabled. Some even have a button on the yoke to override this default mode, with various names such as "Control Wheel Steering" or similar. :(

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author
Of course, Gerry. But, this is simply a way to programmatically handle the issue without having to edit any given aircraft.cfg file.The reality is however, that most dual-axis autopilots DO enforce a "wing leveler mode" whenever any navigation mode is enabled. Some even have a button on the yoke to override this default mode, with various names such as "Control Wheel Steering" or similar. :(
Thanks for the help on this, I have default_pitch_mode=0 and default_bank_mode=0 in the autopilot cfg. Wing leveler works independantly so I will have write code for pitch control.

Paul EGLD

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.