-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
PX4 PID tuning support #6295
PX4 PID tuning support #6295
Conversation
Nice! |
So true, this will make tuning so much more convenient! I have the suggestion to allow tuning roll and pitch at the same time because in practise that's what you need most of the time even if your vehicle is not perfectly symmetric. It's
I assume the increments are 5% of what was the old value. e.g. if you start out with the default |
I presume that this will change the way we do tuning, and hence some of the docs like https://docs.px4.io/en/advanced_config/pid_tuning_guide_multicopter.html ? If so, what should be the trigger for updates (now, next QGC release?) and who should update the process/docs? |
FYI: Daily builds are still spitting the new tuning page out correctly: #6296. Until then you have to build yourself to get it.
Not sure how you tune two axes at the same time? You move the vehicle in both roll and pitch at the same time. Or are you talking about copying the same values if you tune roll to pitch.
Correct. Something like that although they are rounded to the decimal places specified in the parameter meta data. Don't see why numbers need to be even. |
I believe the PX4 docs just say to use install a QGC daily build if I remember. |
Yes, the user should heve the option to lock them to the same value first because roll and pitch are most of the time not completely different. Subsequent fine tuning is still possible.
Technically you are completely right. The only reason I'd prefer rounded values is human readability/siplicity to copy the value over. No strong feelings there... @hamishwillee I think we should document as soon as it's tested and established... probably before the next QGC release. |
What I would look to see if instructions for how to tune while flying. The concept of holding a pile of swinging Ginsu knives in my hand just seems crazy as the only way to do it. Not something I ever plan to do. For my usage pattern, I choose and airframe which gives me a flyable vehicle. Then I just want to make it better from there. I'm not starting from scratch. |
This is a pretty major working in progress from a user model standpoint. Mostly trying thing out at this point. Here are the possibly non-obvious things:
The above currently is only supported for PX4 Pro firmware and multi-rotors. But that said the whole thing is implemented in a generic fashion such that it just works off of generic lists of parameters. So all I need to do is figure out what all the other param sets are to implemenent other vehicle types and ArduPilot support.
In order to implement all of this I added a bunch of generic support as well:
Related to #2878