hi . i cant load my robot urdf in RViz. i run launch file : roslaunch wrist display.launch
my display.launch is :
<launch>
<param name="robot_description" textfile="$(find wrist)/urdf/wrist.urdf" />
</launch>
then i run :
rosrun rviz rviz
when i add robotstate in RViz i have this error : how can i fix that ??? please help me .
[ERROR] [1480582359.533241630]: Could not load model 'file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl' for link 'm2_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ WARN] [1480582359.533368375]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp
it is my urdf file :
<?xml version="1.0"?>
<robot name="wrist">
<link name="base_link">
<inertial>
<origin xyz="-0.0155222222222222 0.0506514619883041 -0.0711837607475986" rpy="0 0 0" />
<mass value="0.161357633901786" />
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0" />
</inertial>
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/base_link.stl" />
</geometry>
<material name="">
<color rgba="0.941176470588235 0.674509803921569 0.117647058823529 1" />
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/base_link.stl" />
</geometry>
</collision>
</link>
<link name="m2_1">
<inertial>
<origin xyz="1.73472347597681E-18 3.46944695195361E-18 -0.0748894348894349" rpy="0 0 0" />
<mass value="0.0767176926006627" />
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0" />
</inertial>
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl" />
</geometry>
<material name="">
<color rgba="0.941176470588235 0.674509803921569 0.117647058823529 1" />
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl" />
</geometry>
</collision>
</link>
<joint name="m2_1" type="continuous">
<origin xyz="-0.0155222222222222 0.0225000000000004 0.0416514619883041" rpy="3.14159265358979 0 0" />
<parent link="base_link" />
<child link="m2_1" />
<axis xyz="0 0 -1" />
</joint>
</robot>
Originally posted by zakizadeh on ROS Answers with karma: 217 on 2016-12-01
Post score: 0
Original comments
Comment by gvdhoorn on 2016-12-01:
I've changed the title of your question to better reflect what the actual problem is.