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

Save the date ! On February the 9th, at 10:30am, we will be happy to meet you again for a live SDK Q&A ! You can already ask all your questions here on the forum.

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

chuckv avatar image
chuckv asked chuckv answered

Setting Autopilot Pitch

This simvar - AP_PITCH_REF_SET - seems to indicate that the autopilot can be commanded to a specific pitch. I have tried using it with no success. Am I wrong about its purpose? If not, how is it used?

aircrafthelp
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 answered

Hello @chuckv @MartynJF

This event expects a value going from -16383 to 16383 and is then interpolated using the autopilot max_pitch parameter to get degrees.

@Nocturne FYI

Regards,
Sylvain

10 |10000

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

MartynJF avatar image
MartynJF answered

I've been able to set the pitch reference with that eventID but the input values are strange. Inputting a value of 15000 resulted in a pitch of approx. 10 degrees. That is from a WASM gauge.

10 |10000

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

chuckv avatar image
chuckv answered

Ok, thanks to both of you for an answer.

10 |10000

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

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.