1
0
Fork 0

Output target navaid radial to external gui so it can resolve potential

ambiguity in selected ILS approach.
This commit is contained in:
curt 2003-01-26 03:39:09 +00:00
parent 9adaa93b19
commit fe45f5b7a8
2 changed files with 3 additions and 0 deletions

View file

@ -150,6 +150,7 @@ void FGProps2NetGUI( FGNetGUI *net ) {
// Approach
net->tuned_freq = current_radiostack->get_navcom1()->get_nav_freq();
net->nav_radial = current_radiostack->get_navcom1()->get_nav_radial();
net->in_range = current_radiostack->get_navcom1()->get_nav_inrange();
if ( current_radiostack->get_navcom1()->get_nav_loc() ) {
@ -210,6 +211,7 @@ void FGProps2NetGUI( FGNetGUI *net ) {
net->warp = htonl( net->warp );
htonf(net->tuned_freq);
htonf(net->nav_radial);
net->in_range = htonl(net->in_range);
htonf(net->dist_nm);
htonf(net->course_deviation_deg);

View file

@ -76,6 +76,7 @@ public:
// Approach
float tuned_freq; // currently tuned frequency
float nav_radial; // target nav radial
bool in_range; // tuned navaid is in range?
float dist_nm; // distance to tuned navaid in nautical miles
float course_deviation_deg; // degrees off target course