July 16, 201114 yr 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
July 16, 201114 yr 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
July 16, 201114 yr 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
July 16, 201114 yr 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 thisOf 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
July 17, 201114 yr 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