FORUM Forums Software CLS2SIM Software Yoke won't move when autopilot is engaged in the Zibo mod in XP11 Reply To: Yoke won't move when autopilot is engaged in the Zibo mod in XP11

#1067
Diego Bürgin
Keymaster

Thank you.

I need to clarify something here for future endeavors regarding third-party aircraft.
– We take suggestions for API improvements, that allow other developers to better implement support for our hardware. (What happened here)
– We do not support third-party aircraft ourselves. (The list would grow infinitely in short order)

So the thanks really has to go to Lubos, the Zibo mod developer, because he invested time to make his product work with ours.

What happened:
Webmaximus did talk and network on both sides and brought a suggestion from Lubos to me. Thanks Webmaximus for taking the time.
Lubos from Zibo mod suggested an addition to the way the AP can be controlled externally via X-Plane Datarefs.
As it is not an aircraft specific change, but can be used by any X-Plane model developer developing his own plugins for X-Plane,
we have implemented that change for him and any future model builder wishing to make use of the Brunner AP feature.

The Technical stuff:
Applies to CLS2Sim 4.19.0 and later.
Applies to X-Plane plugin 6.3.2 and later.
Applies to any Brunner Joystick, Yoke or Pedal.

The changes allow controlling the Brunner AP on/off state and AP position for Pitch, Roll and Yaw axes by using X-Plane Datarefs.

beh/autopilot_external_control = 0 (Default)
Brunner AP is controlled by CLS2Sim which reads the normal X-Plane AP data.

beh/autopilot_external_control = 1
Deactivate Brunner AP, regardless of X-Plane AP state.

beh/autopilot_external_control = 2
Activate Brunner AP for Pitch & Roll.
Write the following Datarefs to set position:
sim/cockpit2/controls/aileron_trim
sim/cockpit2/controls/elevator_trim

beh/autopilot_external_control = 3
Activate Brunner AP for Pitch & Roll & Yaw.
Write the following Datarefs to set position:
sim/cockpit2/controls/elevator_trim
sim/cockpit2/controls/aileron_trim
sim/cockpit2/controls/rudder_trim

beh/autopilot_external_control = 4
Activate Brunner AP for Pitch & Roll.
Write the following Datarefs to set position:
sim/joystick/yoke_pitch_ratio
sim/joystick/yoke_roll_ratio

beh/autopilot_external_control = 5
Activate Brunner AP for Pitch & Roll & Yaw.
Write the following Datarefs to set position:
sim/joystick/yoke_pitch_ratio
sim/joystick/yoke_roll_ratio
sim/joystick/yoke_heading_ratio

Regards
Diego

BRUNNER Forum​

In the BRUNNER forum you will find various discussions on different topics, such as setup, software use or general questions and concerns. 

Discuss with forum mebers, share your knowledge and experience or find answers to frequently asked questions that are answered directly by our Brunner team.

Go to BRUNNER Forum.

BRUNNER Helpdesk​

Do you have questions about a product you have already purchased or are you facing technical issues? 

Check our FAQs for quick help. The most common questions or problems are described there, including instructions.

If you are still stuck, please contact our BRUNNER Helpdesk. Open a ticket here.

BRUNNER Simulation​

BRUNNER is a leading manufacturer of flight simulation devices for the professional as well as the enthusiast sector.

Unlike other manufacturers, Brunner offers a realistic flight experience with the help of Force Feedback Technology and Control Loading System.

Discover the BRUNNER Shop.

BRUNNER Simulation

Industriestrasse 27
8335 Hittnau


+41 (0)44 953 10 10
info@brunner-innovation.swiss

© 2023 BRUNNER Elektronik AG | Privacy Policy |  Legal notice

🌴 Summer holiday 🌴

Please note: The BRUNNER team is out of office due to company holidays until August 5th.