-
Notifications
You must be signed in to change notification settings - Fork 2
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
ControlBoardDriver: add iJointCoupling interface #221
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
It is still draft, a lot of things are missing
…ducting the coupling
4ffd1ad
to
27b52f9
Compare
Yesterday @traversaro @xela-95 and I had an alignment, and we decided to deeply refactor the plugin in order to make cleaner the introduction of the coupling. I managed to have a first version that compiles, it is already a success given how many things I changed :D I will now test it using the current configuration files of ergocub (no coupling involved), in case of positive outcome I will move to test it with the coupling of the hands mk5.x. |
If you want a more self-contained test with a smaller model w.r.t. to ergocub, it seems that also the single_pendulum tests is currently failing. |
Thanks for the heads up! I used that test for debugging it and I managed to find that specific error, one controlboard test is still failing I am not sure if it is due to my changes |
Are you sure that you do not have some stale or dirty file in your system, for example some old installation? The |
Great! Not blocking, but most of the (implicit) documentation for plugins is given in the |
I noticed that enabling the control of the hands make drop the RTF of a ~ 20%, this can be noticed also in the screenshots I posted:
I have also checked the RTF on |
Ok for me! But we need first to merge the coupling device PR in icub-main: |
Sure! We can also just add tutorial and then add the tests once robotology/icub-main#997 is merged. |
I would prefer to add the tutorial after merging robotology/icub-main#997 because I am not 100% about the configuration file for that coupling, I can add the tutorial but it is possible that the configuration files has to be revised after testing the coupling of the eyes. Our plan is to test the coupling devices of icub once this PR is merged (cc @martinaxgloria) |
Ok, no problem for me! |
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.
Minor comments, the one that I care more is to avoid to change the content of m_pluginParameters
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.
Thanks a lot @Nicogene for the great work! It looks good to me! 🚀
Maybe it could be useful to add the coupled pendulum tutorial as suggested by @traversaro both as an example for the user and as a smoke test for the coupling feature. But this can be done in another PR.
8caedce
to
84f634b
Compare
84f634b
to
90d2bd3
Compare
I should have addressed all your requested changes, and I re-tested the coupling after the changes |
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.
Great, thanks a lot!
@xela-95 the PR for me is ready to merge once CI is happy. I guess we can merge with squash as the history is not curated. |
This PR adds the
iJointCoupling
interface, that allows to handle coupled systems using YARP device driver such as: