Setting control surface positions with XML

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

Re: Setting control surface positions with XML

Postby zachary77 » Fri May 24, 2019 6:41 pm

I just thought of something else. Would it be possible to make the trim deflection proportional to the difference between current bank and target bank? I think it would be much smoother and more responsive, basically a simple proportional controller.
zachary77
Ground hog
Ground hog
 
Posts: 47
Joined: Fri Mar 21, 2014 1:13 am

Re: Setting control surface positions with XML

Postby Andiroto » Sat May 25, 2019 7:48 am

Surprisingly the AILERON_TRIM_SET command works and it looks like the values are in percent!

-20 (>K:AILERON_TRIM_SET) Trim to the left with 20 % aileron deflection (left aileron up, right down)
20 (>K:AILERON_TRIM_SET) Other way round, trim to the right with 20 % aileron deflection (left aileron down, right up)

This is also the command we need to make your suggested controller and the Yoke positions we get with the (A:YOKE X POSITION,position) and (A:YOKE Y POSITION,position) variables!
The next posts from me comes with PM and D/L links when i am ready from my side!
Nice weekend!
Andiroto
Ground hog
Ground hog
 
Posts: 30
Joined: Wed Nov 18, 2015 6:56 pm
Location: Only on visit

Previous

Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 271 guests