X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=README.md;h=480989a660dc6b8b2354eaed48c0ff1d69ea7c11;hb=3217de216cb791434fc377236b7e690bcb699215;hp=68dcf5c36aca35c7a9442dfe1967890cead1bc45;hpb=ca0b3fd44a4c3f9aa9a63f9be862909a29baed88;p=erlang-x-plane-data.git diff --git a/README.md b/README.md index 68dcf5c..480989a 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,7 @@ a filter), so you'll have to access their raw version, if needed. ##### Access ```erlang --include_lib("x_plane_data/include/x_plane_data_group_lat_lon_alt.hrl"). --include_lib("x_plane_data/include/x_plane_data_group_pitch_roll_heading.hrl"). -include_lib("x_plane_data/include/x_plane_data_group_speeds.hrl"). - -... - {speeds, #x_plane_data_group_speeds { vind_kias = VindKias , vind_keas = VindKeas @@ -94,6 +89,9 @@ a filter), so you'll have to access their raw version, if needed. } } = lists:keyfind(speeds, 1, GroupsNamed), +... + +-include_lib("x_plane_data/include/x_plane_data_group_pitch_roll_heading.hrl"). {pitch_roll_heading, #x_plane_data_group_pitch_roll_heading { pitch_deg = PitchDeg , roll_deg = RollDeg @@ -101,6 +99,21 @@ a filter), so you'll have to access their raw version, if needed. , hding_mag = HdingMag } } = lists:keyfind(pitch_roll_heading, 1, GroupsNamed), + +... + +-include_lib("x_plane_data/include/x_plane_data_group_lat_lon_alt.hrl"). +{lat_lon_alt, #x_plane_data_group_lat_lon_alt + { lat_deg = LatDeg + , lon_deg = LonDeg + , alt_ftmsl = AltFtmsl + , alt_ftagl = AltFtagl + , on_runwy = OnRunwy + , alt_ind = AltInd + , lat_south = LatSouth + , lon_west = LonWest + } +} = lists:keyfind(lat_lon_alt, 1, GroupsNamed), ``` Packet structure