mirror of https://github.com/ArduPilot/ardupilot
Added Sonar throttle PID
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1471 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
cfcc88d405
commit
e902e8cd19
|
@ -131,7 +131,8 @@ void read_EEPROM_PID(void)
|
||||||
pid_yaw.load_gains();
|
pid_yaw.load_gains();
|
||||||
|
|
||||||
pid_nav.load_gains();
|
pid_nav.load_gains();
|
||||||
pid_throttle.load_gains();
|
pid_baro_throttle.load_gains();
|
||||||
|
pid_sonar_throttle.load_gains();
|
||||||
|
|
||||||
// roll pitch
|
// roll pitch
|
||||||
stabilize_dampener = read_EE_compressed_float(EE_STAB_DAMPENER, 4);
|
stabilize_dampener = read_EE_compressed_float(EE_STAB_DAMPENER, 4);
|
||||||
|
@ -152,7 +153,8 @@ void save_EEPROM_PID(void)
|
||||||
pid_yaw.save_gains();
|
pid_yaw.save_gains();
|
||||||
|
|
||||||
pid_nav.save_gains();
|
pid_nav.save_gains();
|
||||||
pid_throttle.save_gains();
|
pid_baro_throttle.save_gains();
|
||||||
|
pid_sonar_throttle.save_gains();
|
||||||
|
|
||||||
// roll pitch
|
// roll pitch
|
||||||
write_EE_compressed_float(stabilize_dampener, EE_STAB_DAMPENER, 4);
|
write_EE_compressed_float(stabilize_dampener, EE_STAB_DAMPENER, 4);
|
||||||
|
|
Loading…
Reference in New Issue