Dataref Search
sim/
sim/cockpit2/
sim/cockpit2/tcas/
sim/cockpit2/tcas/indicators/
sim/cockpit2/tcas/indicators/relative_bearing_degs[64]
float
in degrees
Relative bearing of each other plane in degrees for TCAS - relative to sim/flightmodel/position/true_psi not ground track or anything else
sim/flightmodel/
sim/flightmodel/position/
sim/flightmodel/position/alpha
float
in degrees
The pitch relative to the flown path (angle of attack)
sim/flightmodel/position/beta
float
in degrees
The heading relative to the flown path (yaw)
sim/flightmodel/position/elevation
double
in meters
The elevation above MSL of the aircraft
sim/flightmodel/position/equivalent_airspeed
float
in keas
Air speed - equivalent airspeed - this takes compressibility into account
sim/flightmodel/position/groundspeed
float
in m/s
The ground speed of the aircraft
sim/flightmodel/position/hpath
float
in degrees
The heading the aircraft actually flies. (hpath+beta=psi)
sim/flightmodel/position/indicated_airspeed
float
in kias
Air speed indicated - this takes into account air density and wind direction
sim/flightmodel/position/indicated_airspeed2
float
in kias
Air speed indicated - this takes into account air density and wind direction
sim/flightmodel/position/L
float
in newton_meters
The angular momentum of the aircraft (relative to flight axis)
sim/flightmodel/position/latitude
double
in degrees
The latitude of the aircraft
sim/flightmodel/position/lat_ref
float
in degrees
The latitude of the point 0,0,0 in OpenGL coordinates (Writing NOT recommended!!)
sim/flightmodel/position/local_ax
float
in mtr/sec2
The acceleration in local OGL coordinates
sim/flightmodel/position/local_ay
float
in mtr/sec2
The acceleration in local OGL coordinates
sim/flightmodel/position/local_az
float
in mtr/sec2
The acceleration in local OGL coordinates
sim/flightmodel/position/local_vx
float
in m/s
The velocity in local OGL coordinates
sim/flightmodel/position/local_vy
float
in m/s
The velocity in local OGL coordinates
sim/flightmodel/position/local_vz
float
in m/s
The velocity in local OGL coordinates
sim/flightmodel/position/local_x
double
in meters
The location of the plane in OpenGL coordinates
- Camera - X-Plane Developer (2021-01-04)
- DrawAircraft - X-Plane Developer (2021-01-04)
- Drawing 2-D That Matches the 3-D world - X-Plane Developer (2020-05-07)
- Draw Terrain Object - X-Plane Developer (2018-02-21)
- Moving the Plane - X-Plane Developer (2018-07-12)
- Overriding TCAS and providing traffic information - X-Plane Developer (2022-01-04)
- Position - X-Plane Developer (2021-01-04)
- SDK200Tests - X-Plane Developer (2018-01-11)
- SDK210Tests - X-Plane Developer (2018-01-11)
- X-Plane 11 Instanced Drawing Sample - X-Plane Developer (2020-05-07)
sim/flightmodel/position/local_y
double
in meters
The location of the plane in OpenGL coordinates
- Camera - X-Plane Developer (2021-01-04)
- DrawAircraft - X-Plane Developer (2021-01-04)
- Drawing 2-D That Matches the 3-D world - X-Plane Developer (2020-05-07)
- Draw Terrain Object - X-Plane Developer (2018-02-21)
- Moving the Plane - X-Plane Developer (2018-07-12)
- Position - X-Plane Developer (2021-01-04)
- SDK200Tests - X-Plane Developer (2018-01-11)
- SDK210Tests - X-Plane Developer (2018-01-11)
- X-Plane 11 Instanced Drawing Sample - X-Plane Developer (2020-05-07)
sim/flightmodel/position/local_z
double
in meters
The location of the plane in OpenGL coordinates
- Camera - X-Plane Developer (2021-01-04)
- DrawAircraft - X-Plane Developer (2021-01-04)
- Drawing 2-D That Matches the 3-D world - X-Plane Developer (2020-05-07)
- Draw Terrain Object - X-Plane Developer (2018-02-21)
- Moving the Plane - X-Plane Developer (2018-07-12)
- Position - X-Plane Developer (2021-01-04)
- SDK200Tests - X-Plane Developer (2018-01-11)
- SDK210Tests - X-Plane Developer (2018-01-11)
- X-Plane 11 Instanced Drawing Sample - X-Plane Developer (2020-05-07)
sim/flightmodel/position/longitude
double
in degrees
The longitude of the aircraft
sim/flightmodel/position/lon_ref
float
in degrees
The longitude of the point 0,0,0 in OpenGL coordinates.
sim/flightmodel/position/M
float
in newton_meters
The angular momentum of the aircraft (relative to flight axis).
sim/flightmodel/position/magnetic_variation
float
in degrees
The local magnetic variation
sim/flightmodel/position/mag_psi
float
in degrees
The real magnetic heading of the aircraft - the old magpsi dataref was FUBAR
sim/flightmodel/position/magpsi
float
in degrees
DO NOT USE THIS
sim/flightmodel/position/N
float
in newton_meters
The angular momentum of the aircraft (relative to flight axis)
sim/flightmodel/position/P
float
in deg/sec
The roll rotation rates (relative to the flight)
sim/flightmodel/position/P_dot
float
in deg/sec2
The roll angular acceleration (relative to the flight)
sim/flightmodel/position/phi
float
in degrees
The roll of the aircraft in degrees - OpenGL coordinates
- DrawAircraft - X-Plane Developer (2021-01-04)
- Draw Terrain Object - X-Plane Developer (2018-02-21)
- MotionPlatformData - X-Plane Developer (2021-01-04)
- Moving the Plane - X-Plane Developer (2018-07-12)
- Position - X-Plane Developer (2021-01-04)
- X-Plane 11 Instanced Drawing Sample - X-Plane Developer (2020-05-07)
sim/flightmodel/position/Prad
float
in rad/sec
The roll rotation rates (relative to the flight)
sim/flightmodel/position/psi
float
in degrees
The true heading of the aircraft in degrees from the Z axis - OpenGL coordinates
- DrawAircraft - X-Plane Developer (2021-01-04)
- Draw Terrain Object - X-Plane Developer (2018-02-21)
- MotionPlatformData - X-Plane Developer (2021-01-04)
- Moving the Plane - X-Plane Developer (2018-07-12)
- Position - X-Plane Developer (2021-01-04)
- X-Plane 11 Instanced Drawing Sample - X-Plane Developer (2020-05-07)
sim/flightmodel/position/q[4]
float
in quaternion
A quaternion representing the rotation from local OpenGL coordinates to the aircraft's coordinates.
sim/flightmodel/position/Q
float
in deg/sec
The pitch rotation rates (relative to the flight)
sim/flightmodel/position/Q_dot
float
in deg/sec2
The pitch angular acceleration (relative to the flight)
sim/flightmodel/position/Qrad
float
in rad/sec
The pitch rotation rates (relative to the flight)
sim/flightmodel/position/R
float
in deg/sec
The yaw rotation rates (relative to the flight)
sim/flightmodel/position/R_dot
float
in deg/sec2
The yaw angular acceleration rates (relative to the flight)
sim/flightmodel/position/Rrad
float
in rad/sec
The yaw rotation rates (relative to the flight)
sim/flightmodel/position/theta
float
in degrees
The pitch relative to the plane normal to the Y axis in degrees - OpenGL coordinates
- DrawAircraft - X-Plane Developer (2021-01-04)
- Draw Terrain Object - X-Plane Developer (2018-02-21)
- MotionPlatformData - X-Plane Developer (2021-01-04)
- Moving the Plane - X-Plane Developer (2018-07-12)
- Position - X-Plane Developer (2021-01-04)
- X-Plane 11 Instanced Drawing Sample - X-Plane Developer (2020-05-07)
sim/flightmodel/position/true_airspeed
float
in m/s
Air speed true - this does not take into account air density at altitude!
sim/flightmodel/position/true_phi
float
in degrees
The roll of the aircraft relative to the earth precisely below the aircraft
sim/flightmodel/position/true_psi
float
in degrees
The heading of the aircraft relative to the earth precisely below the aircraft - true degrees north, always
sim/flightmodel/position/true_theta
float
in degrees
The pitch of the aircraft relative to the earth precisely below the aircraft
sim/flightmodel/position/vh_ind
float
in meters/second
VVI (vertical velocity in meters per second)
sim/flightmodel/position/vh_ind_fpm
float
in fpm
VVI (vertical velocity in feet per minute)
sim/flightmodel/position/vh_ind_fpm2
float
in fpm
VVI (vertical velocity in feet per minute)
sim/flightmodel/position/vpath
float
in degrees
The pitch the aircraft actually flies. (vpath+alpha=theta)
sim/flightmodel/position/y_agl
float
in meters
AGL