]> git.mxchange.org Git - flightgear.git/commitdiff
minor tweaks.
authorcurt <curt>
Thu, 4 May 2000 05:21:50 +0000 (05:21 +0000)
committercurt <curt>
Thu, 4 May 2000 05:21:50 +0000 (05:21 +0000)
src/Autopilot/newauto.cxx
src/Cockpit/radiostack.cxx
src/Main/fg_init.cxx

index c5a83ec985e45d963aa22389b68495778db27a52..c07f5a6776059b6f6e146ec346e1fbcec6979377 100644 (file)
@@ -295,7 +295,7 @@ int FGAutopilot::run() {
     }
 #endif
        
-    // heading hold enabled?
+    // heading hold
     if ( heading_hold == true ) {
 
        if ( heading_mode == FG_HEADING_LOCK ) {
@@ -444,7 +444,7 @@ int FGAutopilot::run() {
        // controls.set_rudder( 0.0 );
     }
 
-    // altitude hold?
+    // altitude hold
     if ( altitude_hold ) {
        double speed, max_climb, error;
        double prop_error, int_error;
@@ -537,7 +537,7 @@ int FGAutopilot::run() {
        controls.set_elevator( total_adj );
     }
 
-    // auto throttle enabled?
+    // auto throttle
     if ( auto_throttle ) {
        double error;
        double prop_error, int_error;
index fe5e3f35dc2154e5addaed24b194c54d7b48cd40..456ef8427aa5b3c903c8ed1471262e251f938f6c 100644 (file)
@@ -33,6 +33,7 @@ FGRadioStack *current_radiostack;
 
 // Constructor
 FGRadioStack::FGRadioStack() {
+    nav1_dist = 0.0;
     need_update = true;
 }
 
index 14cc5978f93e89a2ec0f51efc5958b6cfaeb83d2..d0953e7f3b0f4bfbec01aa13601499b31b04e022 100644 (file)
@@ -483,11 +483,11 @@ bool fgInitSubsystems( void ) {
 
     current_radiostack->set_nav1_freq( 117.30 );
     current_radiostack->set_nav1_alt_freq( 110.30 );
-    current_radiostack->set_nav1_sel_radial( 299.0 );
+    current_radiostack->set_nav1_sel_radial( 119.0 );
 
-    current_radiostack->set_nav2_freq( 115.70 );
+    current_radiostack->set_nav2_freq( 111.80 );
     current_radiostack->set_nav2_alt_freq( 115.70 );
-    current_radiostack->set_nav2_sel_radial( 45.0 );
+    current_radiostack->set_nav2_sel_radial( 029.0 );
 
     current_radiostack->set_adf_freq( 266.0 );