Remove some left over debugging output.
This commit is contained in:
parent
880a43bdbf
commit
d4f56af242
1 changed files with 4 additions and 4 deletions
|
@ -572,10 +572,10 @@ FGNavRadio::update(double dt)
|
||||||
}
|
}
|
||||||
SGPropertyNode *true_hdg
|
SGPropertyNode *true_hdg
|
||||||
= fgGetNode("/orientation/heading-deg", true);
|
= fgGetNode("/orientation/heading-deg", true);
|
||||||
cout << "true heading = " << true_hdg->getDoubleValue()
|
// cout << "true heading = " << true_hdg->getDoubleValue()
|
||||||
<< " selrad = " << sel_radial_node->getDoubleValue()
|
// << " selrad = " << sel_radial_node->getDoubleValue()
|
||||||
<< " artr = " << a
|
// << " artr = " << a
|
||||||
<< endl;
|
// << endl;
|
||||||
double est_hdg = trtrue + a;
|
double est_hdg = trtrue + a;
|
||||||
if ( est_hdg < 0.0 ) { est_hdg += 360.0; }
|
if ( est_hdg < 0.0 ) { est_hdg += 360.0; }
|
||||||
if ( est_hdg >= 360.0 ) { est_hdg -= 360.0; }
|
if ( est_hdg >= 360.0 ) { est_hdg -= 360.0; }
|
||||||
|
|
Loading…
Reference in a new issue