-
Notifications
You must be signed in to change notification settings - Fork 74
Aircraft profiles: Required datarefs
I'm happy to add new aircraft profiles for everyone to use for more 3rd party aircraft.
For that, I need to know some datarefs which are required for StableApproach to work properly.
The following lists shows datarefs which are required for an aircraft to work and some which are optional.
To looks for datarefs, I recommend the excellent free DataRefTool by Lee Baker.
Some 3rd party aircraft use X-Plane default datarefs, but some don't. In the following list I'll write down the default dataref, so you can look if it's working fine, or you need to look for another.
- ILS frequency. Default:
sim/cockpit/radios/nav1_freq_hz - LOC deviation in dots. Default:
sim/cockpit/radios/nav1_hdef_dot - GS deviation in dots. Default:
sim/cockpit/radios/nav1_vdef_dot
To test the above mention datarefs, place yourself in the approach of and tune in the ILS frequency for that approach. Do NOT use the "Tune NAV1/2" buttons in the X-Plane map/instructor station, but tune it manually using the controls in the cockpit.
Make sure all values are changing accordingly. - Gear handle position (only if gear is retractable, obviously). Default:
sim/cockpit2/controls/gear_handle_down - Gear unsafe light. Default
sim/cockpit2/annunciators/gear_unsafe
In case those are not working, there might be a dataref to check all gears down and locked.\ In the end, I just need a way to check if the gear is down and locked. - Speedbrakes (if equipped). Default:
sim/cockpit2/controls/speedbrake_ratio
I also need the value of this dataref when the speedbrakes are armed. (Normally-0.5) - Autopilot engaged. Default:
sim/cockpit/autopilot/autopilot_mode
There might be multiple datarefs for this, one for each autopilot (e.g. AP1 and AP2) - Actual flap position. Default:
sim/cockpit2/controls/flap_handle_deploy_ratio
I need the values of this dataref when flaps are in a valid position for a normal landing.
Note: There have been issues reported when using an axis on your joystick as a flap input. Make sure to set the flap position using buttons or via the 3D cockpit
- Vapp, Vref or VLS.
This can be used to check if the approach speed is within range.
Otherwise: Current selected speed in the MCP/FCU
If you have checked those dataref, please send me a message via Discord with your results.
Also, please send me the default profile generated by StableApproach for this aircraft.
It's located here: X-Plane 11\Output\preferences\StableApproach\aircraftConfigs\
Thanks for your help!
StableApproach by Axel Reinemuth
Join our Discord for support