mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
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
e8734783bb
commit
1ae7f54aef
@ -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
Block a user