Skip to content
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

MultiRotor: Unstable manual flight #9150

Closed
santiago3dr opened this issue Mar 23, 2018 · 6 comments · Fixed by #9162
Closed

MultiRotor: Unstable manual flight #9150

santiago3dr opened this issue Mar 23, 2018 · 6 comments · Fixed by #9162

Comments

@santiago3dr
Copy link

santiago3dr commented Mar 23, 2018

Flash current master d2712dc and took off in stabilized; very jumpy/jittery; slow oscillations in heading
Running Pixracer (V4)
https://logs.px4.io/plot_app?log=6ca0b878-b8a4-4700-8040-e09083db4c04

re-calibrated and tried again; same result:
https://logs.px4.io/plot_app?log=64eac19d-2e42-4450-85e3-39dd31930393

compared to stable flight with 1.7.4 beta:
https://logs.px4.io/plot_app?log=12136a55-46ff-449a-bff3-38c58b832542

@dagar this might be related to recent changes to motor saturation handling?

@santiago3dr
Copy link
Author

Flew with last version of master prior to Multicopter Mixer changes ( 01f5f88 )
Copter flew very stable:
https://logs.px4.io/plot_app?log=a89662aa-4609-4a91-b623-60ee1cc696bb

@dagar
Copy link
Member

dagar commented Mar 24, 2018

MC_AIRMODE was set 0.

@dagar
Copy link
Member

dagar commented Mar 24, 2018

Link to PR for reference. #9062

@bresch
Copy link
Member

bresch commented Mar 26, 2018

@santiago3dr Hi, I see that in the jittery flight, the parameter MC_DTERM_CUTOFF is set to 0 while in the good flight, it is set to 30Hz. This could be the cause of the bad tracking/ noise propagation.

@RomanBapst
Copy link
Contributor

I agree with @bresch - IMU_GYRO_CUTOFF was set to 80 Hz but MC_DTERM_CUTOFF is set to 0, this will inject too much noise into the D path of the PID controller.

@MaEtUgR
Copy link
Member

MaEtUgR commented Mar 26, 2018

@bresch @RomanBapst I agree with both of you, why was the default D term cutoff changed in the airmode pr?
bresch@9332881#diff-683f0a3184d233b6b7f6e84a05d98f31R545
It looks like a rebase error to me because #9070 was merged first and the D term cutoff was reverted...
Pr with a hot-fix: #9162
@santiago3dr good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants