home
/
code
/
erlang-x-plane-data.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Co-locate record include with its usage in examples.
[erlang-x-plane-data.git]
/
README.md
diff --git
a/README.md
b/README.md
index
68dcf5c
..
5009252
100644
(file)
--- 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
##### 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").
-include_lib("x_plane_data/include/x_plane_data_group_speeds.hrl").
-
-...
-
{speeds, #x_plane_data_group_speeds
{ vind_kias = VindKias
, vind_keas = VindKeas
{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),
}
} = 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
{pitch_roll_heading, #x_plane_data_group_pitch_roll_heading
{ pitch_deg = PitchDeg
, roll_deg = RollDeg
This page took
0.025865 seconds
and
4
git commands to generate.