Skip to content

Commit

Permalink
AP_L1_Control: changed default L1 tuning to 20
Browse files Browse the repository at this point in the history
this is more appropriate for most aircraft
  • Loading branch information
tridge committed Feb 19, 2015
1 parent ec70042 commit b21c00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_L1_Control/AP_L1_Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ extern const AP_HAL::HAL& hal;
const AP_Param::GroupInfo AP_L1_Control::var_info[] PROGMEM = {
// @Param: PERIOD
// @DisplayName: L1 control period
// @Description: Period in seconds of L1 tracking loop. This parameter is the primary control for agressiveness of turns in auto mode. This needs to be larger for less responsive airframes. The default of 30 is very conservative, and for most RC aircraft will lead to slow and lazy turns. For smaller more agile aircraft a value closer to 20 is appropriate, or even as low as 10 for some very agile aircraft. When tuning, change this value in small increments, as a value that is much too small (say 5 or 10 below the right value) can lead to very radical turns, and a risk of stalling.
// @Description: Period in seconds of L1 tracking loop. This parameter is the primary control for agressiveness of turns in auto mode. This needs to be larger for less responsive airframes. The default of 20 is quite conservative, but for most RC aircraft will lead to reasonable flight. For smaller more agile aircraft a value closer to 15 is appropriate, or even as low as 10 for some very agile aircraft. When tuning, change this value in small increments, as a value that is much too small (say 5 or 10 below the right value) can lead to very radical turns, and a risk of stalling.
// @Units: seconds
// @Range: 1-60
// @Increment: 1
AP_GROUPINFO("PERIOD", 0, AP_L1_Control, _L1_period, 25),
AP_GROUPINFO("PERIOD", 0, AP_L1_Control, _L1_period, 20),

// @Param: DAMPING
// @DisplayName: L1 control damping ratio
Expand Down

0 comments on commit b21c00f

Please sign in to comment.