-
Notifications
You must be signed in to change notification settings - Fork 219
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
using multiple visual-tags in URDF, but the material-tag of the first one is used for both #1293
Comments
I am seeing the same or similar issue with Rviz 12.4.8 (ROS 2 Iron). Specifically, I have a URDF with multiple visual tags for a single link tags, and when the robot is visualized by a MoveIt2's P.S. As far as I can tell, an Rviz1 patch for this was created about 10 years ago in ros-visualization/rviz#812 and then a few years later was merged - for Kinetic in ros-visualization/rviz#1079 and for Indigo in ros-visualization/rviz#1080, and as far as I can tell, these changes are all in there in Rviz2 |
I had a similar issue lately : using See if there is a material specified in your |
I do not have |
Obviously I was commenting the initial post by @M-Schroeder and I only suggest a lead in material specification conflict. @M-Schroeder if you take a look at the original wheel.dae file you can see that there is material specified in that file, that causes conflict with this adding <material name="half_transparent">
<color rgba="0 0 0 0.5"/>
</material> |
@ahcorde Do you have any ideas what might be happening here? 🧇 |
OK, I think I traced the code, for at least the MoveIt plugin case - I believe the issue is happening in
IMHO what needs to happen is that |
I am creating an urdf and want to show 2 meshes for one link. One of them should be transparent and the other one not. My idea was to put both meshes inside their own visual tag and one of them has a material-tag, that defines the transparency. To test it, I modified the following section of this xacro:
Not only the first mesh (here wheel.dae) is transparent, but both. If I switch the order, none of them is transparent. Even if I explicitly define a material with <color rgba="0 0 0 1"/> for the second mesh, it stays transparent.
It was tested with ROS2 humble.
The text was updated successfully, but these errors were encountered: