Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Vincent committed Sep 4, 2020
1 parent faf6fcd commit f1ae56d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion instrument-data-link/simvarDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ const char* SimVarDefs[][2] = {
{ "Zulu Time", "seconds" },
{ "Local Time", "seconds" },
{ "Absolute Time", "seconds" },
{ "Electrical Battery Voltage", "volts" },
{ "Electrical Battery Bus Voltage", "volts" },
{ "Ambient Temperature", "celsius" },
{ "General Eng Rpm:1", "rpm" },
{ "General Eng Elapsed Time:1", "hours" },
{ "Fuel Tank Left Main Level", "percent" },
{ "Fuel Tank Right Main Level", "percent" },
{ "Nav Obs:1", "degrees" },
{ "Nav Radial Error:1", "degrees" },
{ "Nav Glide Slope Error:1", "degrees" },
{ "Nav ToFrom:1", "enum" },
{ "Nav Gs Flag:1", "bool" },
{ "Adi Cal", "todo" },
{ "Heading Bug", "todo" },
{ NULL, NULL }
Expand Down
5 changes: 5 additions & 0 deletions instrument-data-link/simvarDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ struct SimVars
double rpmElapsedTime = 0;
double fuelLeft = 0;
double fuelRight = 0;
double vor1Obs = 0;
double vor1RadialError = 0;
double vor1GlideSlopeError = 0;
double vor1ToFrom = 0;
double vor1GlideSlopeFlag = 0;
double adiCal = 0;
double hiHeadingBug = 0;
};
Expand Down

0 comments on commit f1ae56d

Please sign in to comment.