Added Sonar throttle PID

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1471 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-01-10 02:13:57 +00:00
parent cfcc88d405
commit e902e8cd19
1 changed files with 4 additions and 2 deletions

View File

@ -131,7 +131,8 @@ void read_EEPROM_PID(void)
pid_yaw.load_gains();
pid_nav.load_gains();
pid_throttle.load_gains();
pid_baro_throttle.load_gains();
pid_sonar_throttle.load_gains();
// roll pitch
stabilize_dampener = read_EE_compressed_float(EE_STAB_DAMPENER, 4);
@ -152,7 +153,8 @@ void save_EEPROM_PID(void)
pid_yaw.save_gains();
pid_nav.save_gains();
pid_throttle.save_gains();
pid_baro_throttle.save_gains();
pid_sonar_throttle.save_gains();
// roll pitch
write_EE_compressed_float(stabilize_dampener, EE_STAB_DAMPENER, 4);