-
Notifications
You must be signed in to change notification settings - Fork 35
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
Unable to visualize the iCub model with pinocchio and meshcat #97
Comments
Thanks @GiulioRomualdi for the detailed report. Two comments:
|
I tried, but the output for me is:
|
For reference, my packages are:
|
Hi @traversaro, I was running the application in an environment where |
After iterating with @GiulioRomualdi and fixing on the fly some Windows problems, I was able to reproduce with this environment:
Both Talos and iCub 2.5 show the same problem as saw by @GiulioRomualdi : If the issue was only happening on iCub models, I would have suspected some corner case/obscure point in URDF spec (note that iCub models are correctly loaded in Gazebo, iDynTree, RViz and PyBullet) that was handled different by Pinocchio's URDF parser, but the fact that also the Talos models has some problem seems to indicate some Pinocchio problem. @GiulioRomualdi could it make sense to report this issue (only for what regard the issue related to Talos) on Pinocchio issue tracker? |
At least for my Windows-based tests, the locale should not be a problem:
|
Shall we open an issue in pinocchio? |
Yes, I think it make sense, reporting only the Talos part of the problem, as the Talos model is shipped by Pinocchio itself. |
ok! I open it |
Related issue in pinocchio: stack-of-tasks/pinocchio#1471 |
Following what @jcarpent. suggested, I switched to pinocchio 2.5.6. Now the Talos problem is solved. However it is not possible to spawn icub since the meshes are not scaled |
Probabiling the scaling was a bug that was fixed in Pinocchio 2.6.0 ? |
Could you provide the link to the icub model in use? |
You can also check on your side by just replacing the content of the Python file in 2.6.2 with the content of stack-of-tasks/pinocchio#1471 |
Here I'm. Sorry I was jumping from this issue to stack-of-tasks/pinocchio#1471 Here the recap:
|
I think we can close this issue |
For people in the future: the issue was fixed on the pinocchio side by stack-of-tasks/pinocchio#1472, that is going to be released some time in the future (I guess). So the problem is still present for currently existing releases of pinocchio, including the binary packages available via conda, robotpkg or the ROS build farm. |
Hi all, I'm trying to visualize icub (both iCubGazeboV2_5 and iCubGazeboV3) with the Pinocchio wrapper to the meshcat visualizer.
Following the tutorial provided by Pinocchio I was able to spawn Talos
However, when I tried with icub, the model is not well-rendered. Indeed for iCubGazeboV2_5 the root link and the chest are squashed together, while for iCubGazeboV3, the head is tilted.
If you want to replicate the experiment, you can follow the instructions contained in this repository. In particular, you can refer to the latest commit in the main branch (https://github.com/GiulioRomualdi/study-icub-meshcat/tree/7de391589267b78d4390874c213a09800c21cdfe)
Since I'm not an expert user of meshcat/Pinocchio, do you have any idea what should be the problem here?
@traversaro
The text was updated successfully, but these errors were encountered: