Trim issues

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
BillEvans
Posts: 2
Joined: Wed Jan 25, 2023 2:24 pm

Trim issues

Post by BillEvans »

Apologize if this has been asked before but I did try searching prior and came up with nothing.

Issue: Using trim (Elevator and Aileron) on a joystick button. Aircraft continues to pitch/roll after trimming has stopped (not reset).
Values sent via SimConnect to set Elevator/Aileron is not changing at time vehicle is pitching/rolling, hence I am expecting the vehicle to hold
the angle of pitch/roll while moving forward.

Application is Prepar3d V5
Aircraft is F35
SimConnect call to set: SimConnect_SetDataOnSimObject
SimConnect variable definitions used for trim: ELEVATOR TRIM POSITION, AILERON TRIM PCT

Has anyone encountered this situation before? Would appreciate any insight.
Thanks
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: Trim issues

Post by Clifton Crane »

Hi BillEvans,

Are you seeing this behavior with our default F-35?

It looks like our default includes XML gauges that also manipulate the aileron and elevator trim values (mainly in FCS_Main.xml and Pitch_Auto_Trim.xml). Its possible these scripts are conflicting with the SimConnect calls.

Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
BillEvans
Posts: 2
Joined: Wed Jan 25, 2023 2:24 pm

Re: Trim issues

Post by BillEvans »

Thanks for your response.

I've tried 2 other aircraft and trim behaves the same way (Mooney Bravo, Acclaim G1000), aircraft continues to pitch when I just tap the trim button.
Unless this is the expected behavior.
Post Reply