Skip to content

Commit

Permalink
mc airframes: reduce I gains a bit
Browse files Browse the repository at this point in the history
A side-effect of the previous commit is that the integral is loaded up
during a flip, which leads to visible bounce-backs after a flip.
Reducing the I helps, but there's a trade-off and we'll need a better
solution.
  • Loading branch information
bkueng committed Mar 1, 2019
1 parent 2f72e93 commit 6c3e79f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ROMFS/px4fmu_common/init.d/airframes/4041_beta75x
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ then

param set MC_AIRMODE 2
param set MC_PITCHRATE_D 0.0010
param set MC_PITCHRATE_I 0.5
param set MC_PITCHRATE_I 0.4
param set MC_PITCHRATE_MAX 600
param set MC_PITCHRATE_P 0.0750
param set MC_PITCH_P 6
Expand Down
2 changes: 1 addition & 1 deletion ROMFS/px4fmu_common/init.d/airframes/4050_generic_250
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ $AUTOCNF = yes ]
then
param set MC_ROLL_P 8
param set MC_ROLLRATE_P 0.08
param set MC_ROLLRATE_I 0.25
param set MC_ROLLRATE_I 0.2
param set MC_ROLLRATE_D 0.001
param set MC_PITCH_P 8
param set MC_PITCHRATE_P 0.08
Expand Down
8 changes: 4 additions & 4 deletions ROMFS/px4fmu_common/init.d/airframes/4052_holybro_qav250
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ then

param set MC_AIRMODE 1
param set MC_PITCHRATE_D 0.0012
param set MC_PITCHRATE_I 0.45
param set MC_PITCHRATE_I 0.25
param set MC_PITCHRATE_MAX 1200
param set MC_PITCHRATE_P 0.084
param set MC_PITCHRATE_P 0.082
param set MC_PITCH_P 8
param set MC_ROLLRATE_D 0.0012
param set MC_ROLLRATE_I 0.45
param set MC_ROLLRATE_I 0.2
param set MC_ROLLRATE_MAX 1200
param set MC_ROLLRATE_P 0.078
param set MC_ROLLRATE_P 0.076
param set MC_ROLL_P 8
param set MC_YAWRATE_I 0.3
param set MC_YAWRATE_MAX 600
Expand Down

0 comments on commit 6c3e79f

Please sign in to comment.