Skip to content

Commit

Permalink
AP_TECS: Fix Regression of TKOFF_IGAIN
Browse files Browse the repository at this point in the history
The referenced commit below did remove an is_zero() check which in my case made a belly landing out of an  auto takeoff because the parameter TECS_TKOFF_IGAIN is 0 (default) and pitch error is not corrected.

fixes: b163e13 (AP_TECS: Fixes to reset state )
  • Loading branch information
menschel committed Oct 9, 2024
1 parent 4352129 commit a0aa7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_TECS/AP_TECS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ const AP_Param::GroupInfo AP_TECS::var_info[] = {
// @Range: 0.0 0.5
// @Increment: 0.02
// @User: Advanced
AP_GROUPINFO("TKOFF_IGAIN", 25, AP_TECS, _integGain_takeoff, 0),
AP_GROUPINFO("TKOFF_IGAIN", 25, AP_TECS, _integGain_takeoff, 0.3f),

// @Param: LAND_PDAMP
// @DisplayName: Pitch damping gain when landing
Expand Down

0 comments on commit a0aa7f2

Please sign in to comment.