remove debug message
Signed-off-by: v meazza <vivian.meazza@lineone.net>
This commit is contained in:
parent
d59088dc1a
commit
e91b5a8804
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ bool FGAIGroundVehicle::getPitch() {
|
||||||
static double prev_alt;
|
static double prev_alt;
|
||||||
|
|
||||||
if (_new_waypoint){
|
if (_new_waypoint){
|
||||||
cout << "new waypoint, calculating pitch " << endl;
|
//cout << "new waypoint, calculating pitch " << endl;
|
||||||
curr_alt = curr->altitude * SG_METER_TO_FEET;
|
curr_alt = curr->altitude * SG_METER_TO_FEET;
|
||||||
prev_alt = prev->altitude * SG_METER_TO_FEET;
|
prev_alt = prev->altitude * SG_METER_TO_FEET;
|
||||||
d_alt = curr_alt - prev_alt;
|
d_alt = curr_alt - prev_alt;
|
||||||
|
|
Loading…
Reference in a new issue