-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stable v1.9.1 fixes #12317
Stable v1.9.1 fixes #12317
Conversation
) Please see reference: #12171
* rcS: Set SYS_USE_IO for Nano
Reduce the I gain for high rate errors to reduce bounce-back effects after flips. Up to 200 degrees the gain is almost not reduced (<25%), so this will only take noticeable effects for large errors (setpoint changes), where we actually want to have an effect. This allows to increase the MC_*RATE_I parameters w/o negative effects when doing flips (i.e. bounce-back after flips). The 400 degrees limit and the x^2 are empirical. The better the rate tracking in general (high P gain), the less this is required (because of the lower tracking error). At the same time it also does not harm, as the i_factor will always be close to 1.
@bkueang and me realized that on every frame we tune the integral gain for the roll and pitch rate controller is much too low. Usually it needs to be increased to 0.3 or even 0.4 to have better "locked in" flight performance and 0.2 seems like a good compromise for a safe default.
Tested on Pixhawk 2 Cube V3:Modes Tested Position Mode: Good. Procedure Notes: **Log:**PR12317 https://review.px4.io/plot_app?log=6d24e8e9-09c7-45c2-835f-a64a4dfaa968 https://review.px4.io/plot_app?log=415dbc8f-7145-4c7a-a688-f4ac3e47dac4 Logs: Comparison to master V1.9.0 https://review.px4.io/plot_app?log=0895c306-2525-4ed5-acf6-293ab9b5f559 https://review.px4.io/plot_app?log=19cd1a26-40fe-4c39-854b-9df431494cfe |
tested on Pixhawk4 v5 f-450 mission Mode: no issue 1.9.1 log: 1.9.0 log: tested on Pixhawk1 V3 fixed wing mission Mode: no issue 1.9.1 log: 1.9.0 log: |
Tested on Pixhawk 4 mini v5:Modes Tested
Procedure Notes: PR12317 v1.9.1
Comparison v1.9.0 Tested on Pixhawk Pro v4Pro:Modes Tested
Procedure Notes: PR12317 v1.9.1
Comparison v1.9.0 |
TODO: #12315