mirror of https://github.com/ArduPilot/ardupilot
fixed PID setting bug.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1755 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
dd51d0730a
commit
9e26bc814a
|
@ -327,7 +327,7 @@ setup_pid(uint8_t argc, const Menu::arg *argv)
|
||||||
g.pid_yaw.kP(argv[2].f);
|
g.pid_yaw.kP(argv[2].f);
|
||||||
save_EEPROM_PID();
|
save_EEPROM_PID();
|
||||||
|
|
||||||
}else if (!strcmp_P(argv[1].str, PSTR("s_kd"))) {
|
}else if (!strcmp_P(argv[1].str, PSTR("y_kd"))) {
|
||||||
g.pid_yaw.kD(argv[2].f);
|
g.pid_yaw.kD(argv[2].f);
|
||||||
save_EEPROM_PID();
|
save_EEPROM_PID();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue