X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=include%2Fx_plane_data.hrl;fp=include%2Fx_plane_data.hrl;h=e922992f839af3da1f4ec2a111c9a93f27d5ca41;hb=cfe4f77b7b6746c9cae311b37e92f8f0ce378680;hp=0000000000000000000000000000000000000000;hpb=3549a33ac1d2d49c8cef0b6cf679e90f9cc3c89a;p=erlang-x-plane-data.git diff --git a/include/x_plane_data.hrl b/include/x_plane_data.hrl new file mode 100644 index 0000000..e922992 --- /dev/null +++ b/include/x_plane_data.hrl @@ -0,0 +1,32 @@ +-record(x_plane_datum_speeds, + { vind_kias :: float() % 1 + , vind_keas :: float() % 2 + , vtrue_ktas :: float() % 3 + , vtrue_ktgs :: float() % 4 + % 5 + , vind_mph :: float() % 6 + , vtrue_mphas :: float() % 7 + , vtrue_mphgs :: float() % 8 + }). + +-record(x_plane_datum_pitch_roll_heading, + { pitch_deg :: float() % 1 + , roll_deg :: float() % 2 + , hding_true :: float() % 3 + , hding_mag :: float() % 4 + % 5 + % 6 + % 7 + % 8 + }). + +-record(x_plane_datum_lat_lon_alt, + { lat_deg :: float() % 1 + , lon_deg :: float() % 2 + , alt_ftmsl :: float() % 3 + , alt_ftagl :: float() % 4 + , on_runwy :: float() % 5 + , alt_ind :: float() % 6 + , lat_south :: float() % 7 + , lat_west :: float() % 8 + }).