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

GCSViews: ConfigurationView: Motor test: use JSON file to add more infromation #3043

Merged
merged 3 commits into from
Oct 3, 2023

Conversation

IamPete1
Copy link
Member

Firstly this grabs the frame type and class from param meta data. Secondly it disaplays the motor number and rotation direction by looking it up in a json file (which I have not worked out how to include correctly).

image

With more motors:

image

Ultimately I would like to programmatically generate the diagram, but that is a bit too much for me. I would like to end up with a interface that will re-odder your motors correctly, you would test motor A and then click on the diagram which motor actually spun and it would switch them round until your ordering is correct.

The json file is generated by a modified AP motors example, it only has all the matrix types. We could update it to include tricopters and other unusual frame types by hand.

@IamPete1 IamPete1 marked this pull request as ready for review September 24, 2023 14:48
@IamPete1
Copy link
Member Author

Rebased and now includes the json file correctly, I might have gone overboard and included it in more places than needed, but it seems to work.

@meee1 meee1 merged commit dedc9ef into ArduPilot:master Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants