Browse Source

APM_Control: set a small D value by default

0.02 may help with some planes that have slow response

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
master
Andrew Tridgell 12 years ago
parent
commit
57752df68e
  1. 2
      libraries/APM_Control/AP_PitchController.cpp
  2. 2
      libraries/APM_Control/AP_RollController.cpp

2
libraries/APM_Control/AP_PitchController.cpp

@ -39,7 +39,7 @@ const AP_Param::GroupInfo AP_PitchController::var_info[] PROGMEM = { @@ -39,7 +39,7 @@ const AP_Param::GroupInfo AP_PitchController::var_info[] PROGMEM = {
// @Range: 0 0.1
// @Increment: 0.01
// @User: User
AP_GROUPINFO("D", 2, AP_PitchController, _K_D, 0.0f),
AP_GROUPINFO("D", 2, AP_PitchController, _K_D, 0.02f),
// @Param: I
// @DisplayName: Integrator Gain

2
libraries/APM_Control/AP_RollController.cpp

@ -38,7 +38,7 @@ const AP_Param::GroupInfo AP_RollController::var_info[] PROGMEM = { @@ -38,7 +38,7 @@ const AP_Param::GroupInfo AP_RollController::var_info[] PROGMEM = {
// @Range: 0 0.1
// @Increment: 0.01
// @User: User
AP_GROUPINFO("D", 2, AP_RollController, _K_D, 0.0f),
AP_GROUPINFO("D", 2, AP_RollController, _K_D, 0.02f),
// @Param: I
// @DisplayName: Integrator Gain

Loading…
Cancel
Save