• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Setting AutoPilot by SimConnect

Messages
2
Country
germany
Hi all together,

I want to set A/P and A/P settings by SimConnect i. e. altitude, vertical speed, heading, etc..

The SDK says that these items are only read only. I can't believe it - or is it really true?

Thanks for your infos!

Michael
 
Michael,

Have a look at the Event IDs, Aircraft Automatic Flight Systems / Autopilot

You can maniupulate the Autopilot, buit you can't directly set any variables.

Some you can set based on current flight data.
Code:
KEY_AUTOPILOT_AIRSPEED_HOLD_CURRENT        AP_PANEL_SPEED_HOLD_TOGGLE         Turns airspeed hold mode on with current airspeed
 
Last edited:
Hi all together,

I want to set A/P and A/P settings by SimConnect i. e. altitude, vertical speed, heading, etc..

The SDK says that these items are only read only. I can't believe it - or is it really true?

Thanks for your infos!

Michael

You are looking at the wrong list! You're looking a "read only" variables list...

You need to look at the Event IDs.htm for a list of key_events you can use:

Use the String Name entries for SimConnect clients and XML authored gauges.

Not all events apply to all aircraft and all situations.

Events that require an argument have ranges or suggestions listed in parenthesis in the Description column. For SimConnect clients to set this value, it is passed in the dwData parameter of SimConnect_TransmitClientEvent, when getting the value it is returned in the dwData parameter of the SIMCONNECT_RECV_EVENT structure.

AP_VS_VAR_SET_ENGLISH
HEADING_BUG_SET
VOR1_OBI_DEC
VOR1_OBI_INC
AP_ALT_VAR_SET_ENGLISH

et cetera...
 
Back
Top