mirror of https://github.com/ArduPilot/ardupilot
added reset I functions for new pids
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1484 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
5d728c0530
commit
5d1df69f13
|
@ -150,7 +150,8 @@ void output_rate_control()
|
|||
// Keeps outdated data out of our calculations
|
||||
void reset_I(void)
|
||||
{
|
||||
pid_nav.reset_I();
|
||||
pid_nav_lat.reset_I();
|
||||
pid_nav_lon.reset_I();
|
||||
pid_baro_throttle.reset_I();
|
||||
pid_sonar_throttle.reset_I();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue