-
Notifications
You must be signed in to change notification settings - Fork 70
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
Wrong coefficients coupling the eyes' vergence? #228
Comments
Discussed this with @randaz81 today, who agrees with what said above. Given that it's more correct to have |
Apparently, also matrixE2J should contain coupling terms! |
/remind September 03 let's address this once for good. |
⏰ Reminder
|
|
Link in the OP fixed. |
To sum up, here's the list of things that we need to do:
|
Hi @pattacini, as you suggested, I booked iCubGenova11 to do the tests with the new values of eyes' vergence. I took a video of the eyes' movement after the upload: IMG_1507.mp4I have little experience with it, but the movement seems smooth, also compared to the previous version with the wrong vergence values: IMG_1505.mp4Do you agree? If yes, I'll proceed with the update of all the maintained robots. |
Just to clarify, I only update this line with |
Great, @martinaxgloria 👍🏻 That's all correct! The videos are nice. However, given the control context, I would expand on the validation phase by including some data acquisitions of the commands and joint feedback. These traces would help us appreciate small details that are not visible in the videos, like overshoots, rising times... |
You're right @pattacini! I'll do the acquisitions and I'll report here the results. |
You can talk to @davidetome and/or @mfussi66, who do have some code snippets for logging both commands and feedback you may consider reusing. |
Today I plotted the data I've acquired on iCubGenova11 after the change in the vergence coupling matrix and here they are: I hope that these quantities are the ones that @pattacini referred to. In particular, I plotted the The only particular thing that stands out is the peak of current and duty cycle percentage around the second 45 that corresponds to the |
Great that you managed to plot these results 👍🏻
We could also plot the profiles before and after the change. |
Yesterday I repeated the tests acquiring the joint references and the other quantities with much faster movements (0.3 sec per movement). To make a comparison, I also do the tests and the acquisitions before the change:
After the changes, instead: @mfussi66 noticed that the sampling time it's high (when I did again the acquisitions maybe I accidentally change this parameter and I didn't notice it). So far, I decided to post here the results, but I'll do again the acquisitions and the plots with more samplings to have a more accurate analysis. cc @pattacini |
Overall, I'm happy with the results and for me it's green light 🟢
It seems so, yeah. However, what was the sample time you used? |
I computed it from the acquired samples and it is 0.1s |
Ok, it's fairly low, but the graphs above demonstrate that the reference is well-tracked anyhow. For the record, a good sample time when dealing with control issues is 10 ms at the YARP layer. |
Yes, thanks for the clarification @pattacini! |
Let's proceed with robots-configuration 👍🏻 |
Given that the vergence
Vg
amounts to the difference between the single eyes' jointsL-R
(see the wiki), I think that the values contained in the eyes' coupling matrices should be-1.0 1.0
instead of-0.5 0.5
.Differently, as
Vs = (L + R) / 2
it turns out that the line immediately above reporting0.5 0.5
is spot on.Can this reasoning be assumed correct?
This is somehow linked to robotology/icub-firmware#71.
cc @davidetome @randaz81 @ale-git @traversaro @plinioMoreno
The text was updated successfully, but these errors were encountered: