1
0
Fork 0

Fix #1771, wrong groundspeed indication for UFO

This commit is contained in:
Torsten Dreyer 2015-07-10 11:07:34 +02:00
parent 36113bf69d
commit 14b97abd8f
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ void FGMagicCarpet::update( double dt ) {
double kts = speed * SG_METER_TO_NM * 3600.0;
_set_V_equiv_kts( kts );
_set_V_calibrated_kts( kts );
_set_V_ground_speed( kts );
set_V_ground_speed_kt( kts );
// angle of turn
double turn_rate = globals->get_controls()->get_aileron() * SGD_PI_4; // radians/sec

View file

@ -146,7 +146,7 @@ void FGUFO::update( double dt ) {
double kts = velocity * SG_METER_TO_NM * 3600.0;
_set_V_equiv_kts( kts );
_set_V_calibrated_kts( kts );
_set_V_ground_speed( kts );
set_V_ground_speed_kt( kts );
// angle of turn
double turn_rate = sin(roll) * SGD_PI_4; // radians/sec