-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
Sort parameters with numerics #29155
Comments
Thanks. Also SERVO10_xxx appears before SERVO2_xxx |
The issue is that parameters are sorted alphabetically and numbers do not maintain consistent width, we would have to rename all parameters where there are 10 or more instances to always use two digits numbers. IMHO it would be nicer if we could show instantiated parameters as for example SERVONN_*so we don't have to scroll or search through 32 instances of servo parameters. |
We discussed in dev call yesterday and the recommended approach is to use a regex to discover numerics. We need to sort by the numerically instead of lexographically, which should solve the less-than-10 more-than-10 issue that the code currently has. |
Please consider grouping them, this will make searching through parameters so much faster. |
I'll see what I can do! |
Feature request
Is your feature request related to a problem? Please describe.
Docs for params show up in a weird order.
Describe the solution you'd like
see https://github.com/ArduPilot/ardupilot/blob/master/Tools/autotest/logger_metadata/emit_xml.py#L54
Describe alternatives you've considered
Manual ordering
Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
The text was updated successfully, but these errors were encountered: