PilotEdge CSL Authoring

Non Array-Based Datarefs

Warning: do not attempt to read these with an array index in your OBJ

Datarefs Range of Values Description
libxplanemp/controls/gear_ratio 0-1.0 Ratio of actual gear deployment for all gear. Source for data is first landing gear
libxplanemp/controls/flap_ratio 0-1.0 Ratio of actual flap deployment for all flaps. Source for data is the first flap
libxplanemp/controls/spoiler_ratio 0-1.0 Ratio of actual spoiler deployment for all spoilers. Source for data is the first spoiler
libxplanemp/controls/speed_brake_ratio 0-1.0 same as above
libxplanemp/controls/slat_ratio 0-1.0 Ratio of derived slat deployment. This is derived from the flap setting. It increases with flaps at a 4:1 ratio until flaps reach 25%
libxplanemp/controls/wing_sweep_ratio 0-1.0 Ratio of derived wing sweep. Ratio is 0 for 0-250kts, then increases to 1.0 between 250-350kts. 1.0 beyond 350kts
libxplanemp/engines/thrust_ratio 0-1.1 Commanded power setting for the first engine. 1.1 for afterbuner
libxplanemp/engines/afterburner_ratio 0-1.0 Derived from dataref above. Value is 1 only when thrust_ratio is >= 1.0
libxplanemp/controls/yoke_pitch_ratio -1.0-1.0 Commanded elevator deflection, -1 is down, +1 is up
libxplanemp/controls/yoke_heading_ratio -1.0-1.0 Commanded rudder deflection, -1 is left, +1 is right
libxplanemp/controls/yoke_roll_ratio -1.0-1.0 Commanded aileron deflection, -1 is left, +1 is right
libxplanemp/controls/nws_ratio -1.0-1.0 Derived nosewheel steering deflection, -1 is left, +1 is right. Source data is based on rudder, dampened with speed
libxplanemp/misc/gforce_normal -inf to inf actual g-force (in y-axis) as reported by the client, useful for vapor/cloud animations
libxplanemp/wing/wing_tip_deflection_deg -inf to inf actual wing tip deflection in degrees as reported by the client
libxplanemp/controls/landing_lites_on 0-1.0 landing lights switched on/off?
libxplanemp/controls/beacon_lites_on 0-1.0 beacon switched on/off?
libxplanemp/lights/beacon_brightness_ratio 0-1.0 beacon brightness ratio, flashes at interval
libxplanemp/controls/strobe_lites_on 0-1.0 strobe lights switched on/off?
libxplanemp/controls/nav_lites_on 0-1.0 nav lights switched on/off?
libxplanemp/controls/taxi_lites_on 0-1.0 taxi lights switched on/off?
libxplanemp/controls/logo_lites_on 0-1.0 logo lights switched on/off? Source data is nav light
libxplanemp/misc/canopy_open_ratio 0-1.0 degree to which the canopy is open, 0 = closed, 1 = fully open

Array-Based Datarefs

Datarefs Array size Range of Values Description
libxplanemp/gear/tire_vertical_deflection_mtr 3 0-inf Strut compression for the front (0), left (1) and right (2) tires
libxplanemp/gear/tire_rotation_speed_rad_sec 3 -inf to inf Rate of rotation (radians/sec) for the front (0), left (1) and right (2) tires
libxplanemp/gear/tire_rotation_angle_deg 3 0-359 Specific rotation angle of the front (0), left (1) and right (2) tires
libxplanemp/engines/engine_rotation_speed_rad_sec 4 -inf to inf Rotation speed of the first 4 engines/props. Works for helicopters, jets and piston aircraft
libxplanemp/engines/prop_rotation_speed_rad_sec 4 -inf to inf Same as above
libxplanemp/engines/engine_rotation_angle_deg 4 0-359 Rotation angle of the first 4 engines/props. works for helicopters, jets and piston aircraft
libxplanemp/engines/prop_rotation_angle_deg 4 0-359 Same as above
libxplanemp/engines/thrust_reverser_deploy_ratio 4 0 – 1.0 Reverser deploy ratio for the first 4 engines
libxplanemp/engines/prop_is_disc 4 0 or 1 Should this prop be drawn as a disc? True if > 22 radians/sec

Version History

v1.0 4/16/15 initial release