-
Notifications
You must be signed in to change notification settings - Fork 23
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
[iiwa_description] iiwa7 link colors should match the physical robot #65
Comments
\CC @siddancha FYI related to #36. |
Looking at #36, it seems to have improved the iiwa14 visuals and made the iiwa7 visuals worse (iiwa14 contains gray and orange files, while iiwa7 does not). The new iiwa14 visuals look amazing. It would be great to have the same for the iiwa7. |
Aha, I see now, I didn't read the post carefully enough the first time. This might be easy to fix if you want to give it a try. Inside the iiwa7 gltf files there is a |
To start with, I did not change the colors of iiwa7. Here's the result of
when run on Drake v1.27.0: So #36 did not introduce a regression. But the issue @nepfaff pointed is deeper. It is currently impossible to correctly match the colors of the current iiwa7 meshes with that of the real robot. That's because the current iiwa7 meshes are not sufficiently sub-divided. Here's "link_2" of iiwa7: This contains two pieces which are colored differently on the real IIWA. So we're forced to use the same color for both pieces: either both grey or both orange. Somebody made a choice to use "both orange" and I stuck with that. This is not an issue with iiwa14. The iiwa14 uses separate meshes for each piece. Here's iiwa14's "link_2_grey": and iiwa14s "link_2_orange": |
All good points, thanks! I guess for someone to fix this they'll need to either split up the meshes, or use a bi-color texture image instead of uniform materials. |
Thanks for showing that visualization! I did misremember then. Sorry for that! |
@nepfaff No worries! The color mismatch is still an outstanding issue. Another discrepancy is that the "KUKA" bands are missing on Drake's iiwa7. I found official URDFs/meshes here but they don't seem very helpful. Somebody (a Drake dev?) seems to have designed more visually accurate meshes for iiwa14 but not for iiwa7. |
I think the iiwa14 polishing was RobotLocomotion/drake#9300 by @SeanCurtis-TRI, way back in 2018. |
I noticed that the iiwa description GLTF files don't match the appearance of the real robots. I don't think this was the case for the old OBJ models (I might misremember).
I attached a meshcat screenshot of
iiwa_description/sdf/iiwa7_no_collision.sdf
and a real image. The real photo has bad lighting, but the obvious color differences are visible (some links are orange but should be gray). I can take a better photo if desirable.The text was updated successfully, but these errors were encountered: