invisible links in rviz [closed]
Hello to all,
when I start Rviz with following .udfr - file:
<?xml version="1.0"?>
<robot name="test_robot">
<link name="base_link">
<visual>
<geometry>
<mesh filename="package://learning_urdf/meshes/tx60l_arm.stl"/>
</geometry>
<material name="white">
<color rgba="1 1 1 1"/>
</material>
</visual>
</link>
<link name="link2" >
<visual>
<geometry>
<mesh filename="package://learning_urdf/meshes/tx60l_shoulder.stl"/>
</geometry>
<material name="whatever">
<color rgba="1 0 1 0"/>
</material>
</visual>
</link>
<joint name="joint1" type="continuous">
<parent link="base_link"/>
<child link="link2"/>
<origin xyz="0 0 0" rpy="0 0 0" />
<axis xyz="1 0 0" />
</joint>
</robot>
Nothing is shown in the camera-view but the grid. The STL-Files were exported in Binary. There are none failure-messages while starting rviz or inside of it.
First i suggested the .stl - files are invisible, so I added the material-tag.
Any Suggestions why my camera-view is blank?
Many Thanks in advance Dominik
edit:
@Lorenz I tried to open my urdf file seperately in rviz und gazebo. For rviz I followed the rviz-tutorial. It was possible to load the urdf-file which you are suposed to build in this tutorial. I only exchanged the simple geometry with the meshes. At the end of the tutorial also a mesh is used (though a dae-file).
update to gazebo: I was able to load the urdf file in gazebo, but it is invisible like in rviz. Also the links of the urdf file are not shown in the tree.