-
Notifications
You must be signed in to change notification settings - Fork 194
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
Improved Custom positions support for yarpmotorgui #1160
Conversation
dfd945a
to
27555f5
Compare
It seems a great improvement in the usability of the feature. |
Wait a second before merging. |
Done. Shortcuts added |
@randaz81 do you think we can merge this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice feature!
The branch needs just a quick rebase and it's fine! Awesome work! |
Changed the ini syntax on how to specify custom positions. Now the number of custom positions is no more hardcoded. If no custom positions are defined in the ini file, no custom positions options are created in the Menu. Instead, a submenu option is created and populated with the correct number of custom positions. Added also menu option for the custom positons in the single part menubar. Additionally, now the custom positions are named, so it is easier in the GUI to find and launch the correct custom positions when more than one is specified in the ini
Only the first 9 custom positions have associated shortcuts (numbered from 1 to 9) To command a global (all joints) position the shortcut is CTRL + META + [num] For a single part the ALT modified must be added
6b0a946
to
7b84461
Compare
@randaz81 rebase done |
Changed custom positions support in the motorgui.
To implement this change I needed to change the .ini syntax regarding the custom positions (which was anyway new and never pushed to master).
The proposed changes have the following impact on the use of the motorgui:
For @robotology/codyco-developers this means that it is now possible to have a single ini file with the most often used configurations.
See this screenshots for an example:
Updated also release notes and changed the
yarpmotorgui
doxygen documentation section regarding the home position to document the new .ini syntaxcc @randaz81
cc @DanielePucci @gabrielenava @traversaro