PX4 controller-parameter changelog (demo)
· c7ef125 · 1 watched files, +2/−2

Gains changed: MC_PITCH_P 6.5f→4.0f and MC_ROLL_P 6.5f→4.0f.

gains
  • Gain defaults changed: MC_PITCH_P: 6.5f → 4.0f (−38.5%) (in src/modules/mc_att_control/mc_att_control_params.c) and MC_ROLL_P: 6.5f → 4.0f (−38.5%) (in src/modules/mc_att_control/mc_att_control_params.c).
  • Most activity in src/ (+2/−2).

Full analysis → Summary: automatic analysis

Changed values

NameOldNewChangeFileExtractor
MC_PITCH_P6.5f4.0f−38.5%src/modules/mc_att_control/mc_att_control_params.cpx4_param_define
MC_ROLL_P6.5f4.0f−38.5%src/modules/mc_att_control/mc_att_control_params.cpx4_param_define

Post text (X-ready, not posted)

PX4 update (Jun 5): MC_PITCH_P gain 6.5f → 4.0f (38% lower) - MC_ROLL_P gain 6.5f → 4.0f (38% lower) Details: https://fitzyracing1.github.io/knoblog/demo/px4/entries/c7ef125.html Commit: https://github.com/PX4/PX4-Autopilot/commit/c7ef12545cde8226d57f2462cc4a3ba93424b650 Values are PX4 firmware defaults in the repo.

214/280 weighted chars

Modules touched

ModuleAddedModifiedRemovedLines +Lines −
src010+2−2

Watched files (1)

Show file list

Commit message

mc_att_control_params: lower default roll and pitch attitude gains from 6.5 to 4

6.5 is a relatively high value that was used mostly on smaller, low inertia vehicles ~250-500mm diagonal. There it works great but on larger, higher intertia vehicles this leads to problems.