mirror of https://github.com/ArduPilot/ardupilot
removed debug statements
This commit is contained in:
parent
7512e686b9
commit
e4f87d7442
|
@ -1119,7 +1119,6 @@ void update_throttle_mode(void)
|
||||||
|
|
||||||
// clear the new data flag
|
// clear the new data flag
|
||||||
invalid_throttle = false;
|
invalid_throttle = false;
|
||||||
Serial.printf("nt %d\n",nav_throttle);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// apply throttle control at 200 hz
|
// apply throttle control at 200 hz
|
||||||
|
|
|
@ -104,8 +104,6 @@ get_nav_throttle(long z_error, int target_speed)
|
||||||
float delta_throttle = (float)(timer - throttle_timer)/1000.0;
|
float delta_throttle = (float)(timer - throttle_timer)/1000.0;
|
||||||
throttle_timer = timer;
|
throttle_timer = timer;
|
||||||
|
|
||||||
Serial.printf("tt %ld, dt %1.4f ", throttle_timer, delta_throttle);
|
|
||||||
|
|
||||||
return g.pi_throttle.get_pi(rate_error, delta_throttle);
|
return g.pi_throttle.get_pi(rate_error, delta_throttle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue