plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

MtnFly avatar image
MtnFly asked MrTommymxr commented

Maximum Bank is Exceeded

I have configured all of the max bank settings in the autopilot section of systems.cfg so that bank ID 1 is 30 degrees and ID 2 is 15 degrees. In the sim, I can verify that both the bank ID is switching between 1 and 2, and the max bank angle an is also switching between 30 and 15 (Verified via Simvar Watcher). Although, the settings are working as expected, the autopilot still banks to 30 degrees if I set it to 15. This happens in HDG, NAV and back course modes. What am I missing?


Thanks.

aircraft
1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image FlyingRaccoon ♦♦ commented ·
Hello @MtnFly

What instrumentation are you using?
If you can provide me with your package, I'll debug it and see if your configuration is correct.

Regards,
Sylvain

0 Likes 0 ·
MtnFly avatar image
MtnFly answered

I found my issue. I give the users the option to switch out the weather radar for a GNS-530 and thus, I have the AS530 option listed in the Panel.cfg file. Once I remove that block, the max bank option works as expected. It looks like I may have to create 2 separate aircraft instead of giving the user the option to switch it on the fly. Thank you for your responses.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Flysimware avatar image
Flysimware answered Flysimware edited

Make sure auto_max_bank under the [AUTOPILOT] from the systems.cfg file is set to a 1.

More info here. Aircraft Autopilot/Flight Assist Events (flightsimulator.com)

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

MrTommymxr avatar image
MrTommymxr answered MrTommymxr commented

Hi guys im having the same issue but im using the default WT G1000.

im using AUTO MAX BANK and the AP seems to ignore it


1678736397587.png

default_bank_mode = 2
max_bank = 0
max_bank_acceleration = 3
max_bank_velocity = 10
auto_max_bank = 1
auto_max_bank_table =80:15,  180:25
auto_max_bank_velocity_table = 80:5, 180:10
auto_max_bank_min_alt_angle = -1000
auto_max_bank_min_alt = 15
use_no_default_bank = 1


Am i missing something?

Thanks


1678736397587.png (17.5 KiB)
3 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

MrTommymxr avatar image MrTommymxr commented ·

It works with the AS1000, but not the WTG1000 :/
1678815070658.png

1678815214937.png

1678815320394.png

0 Likes 0 ·
1678815070658.png (1.4 MiB)
1678815214937.png (1.2 MiB)
1678815320394.png (1.6 MiB)
FlyingRaccoon avatar image FlyingRaccoon ♦♦ commented ·

Hello @MrTommymxr

The WT G1000 does not use the autopilot section of systems.cfg.
It has its own implementation of the autopilot.
You probably want to have a look at the APRollDirector class in msfssdk.js for maximum bank handling.

Regards,
Sylvain

0 Likes 0 ·
MrTommymxr avatar image MrTommymxr FlyingRaccoon ♦♦ commented ·
Even if i were able to understand and edit and use the this AP code, how am i supposed add this to my plane?

why doesnt the AP use the flightdirrector? its simvar just be read and used.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.