Open stephane-caron opened 9 months ago
If it's only in Pinocchio 2 we may actually skip this, as it will be fixed in future releases. I'll check if the issue happens with any other visualizer.
OK, well I hate to be the bearer of bad news, but the same happens in PyBullet :sweat_smile:
Reproduction steps: same as above, with:
python ./show_in_pybullet.py jvrc_description
I tried the pinocchio 2 + meshcat version locally and it fails indeed. If you look at the javascript console, it fails to fetch the texture files from the server. So I'm guessing this has more to do with the meshcat version or the meshcat/pinocchio integration. I stumbled upon this: https://github.com/meshcat-dev/meshcat-python/pull/112 which has some version of it integrated in https://github.com/duburcqa/jiminy/pull/533 so maybe this somehow also made its way into pinocchio 3?
I'm less familiar with bullet but the collada importer might be a little limited?
Yes, no worries about Pinocchio 2, the texture loading fix is on its way. I don't know more about Bullet's collada importer.
Feel free to close this issue if you are OK with both outcomes (one of them being only temporary).
This issue is now fixed in Pinocchio. I've updated the issue title accordingly.
Textures don't render properly when loading the JVRC model with:
Expected behavior
Either textures or (if not present) colors should appear. I'm not sure if we can realize this if-then-else behavior in URDF though :thinking:
Reproduction steps
Steps to reproduce the behavior:
robot_descriptions.py
python ./show_in_meshcat.py jvrc_description
Additional context
For Pinocchio: this is likely due to Pinocchio 2 not loading textures properly. I tried in Pinocchio 3 and textures are loaded fine there:
System