ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Rviz cannot find resource pack/ cannot load model

asked 2019-02-09 14:59:21 -0500

metobom gravatar image

Hello I am trying to visualize EvARobot on RViz but when I run RViz I get this and I can only see two parts of robot. How can I fix this? NOTE: evarobot_description and all other files exist.

metobom@metobom-TULPAR-T5-V17-1:~$ rosrun rviz rviz
[ INFO] [1549745352.700308037]: rviz version 1.12.16
[ INFO] [1549745352.700362956]: compiled against Qt version 5.5.1
[ INFO] [1549745352.700376228]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1549745352.861618679]: Stereo is NOT SUPPORTED
[ INFO] [1549745352.861736050]: OpenGl version: 3 (GLSL 1.3).
[rospack] Error: package 'evarobot_description' not found
[librospack]: error while executing command
[ERROR] [1549745352.990890627]: Error retrieving file [package://evarobot_description/meshes/base.stl]: Package [evarobot_description] does not exist
[ WARN] [1549745352.991040897]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes/base.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ERROR] [1549745352.991178442]: Could not load model 'package://evarobot_description/meshes/base.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes/base.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ WARN] [1549745352.991264554]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes/base.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ERROR] [1549745352.991336207]: Could not load model 'package://evarobot_description/meshes/base.stl' for link 'base_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes/base.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[rospack] Error: package 'evarobot_description' not found
[librospack]: error while executing command
[ERROR] [1549745353.013034291, 94.949000000]: Error retrieving file [package://evarobot_description/meshes/base_orange.stl]: Package [evarobot_description] does not exist
[ WARN] [1549745353.013137282, 94.949000000]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes/base_orange.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ERROR] [1549745353.013211398, 94.949000000]: Could not load model 'package://evarobot_description/meshes/base_orange.stl' for link 'basecolor_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes/base_orange.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ WARN] [1549745353.013272989, 94.949000000]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes/base_orange.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ERROR] [1549745353.013344071, 94.949000000]: Could not load model 'package://evarobot_description/meshes/base_orange.stl' for link 'basecolor_link': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource package://evarobot_description/meshes ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-02-09 15:10:05 -0500

lelongg gravatar image

updated 2019-02-09 15:11:23 -0500

It looks like evarobot_description is not in your workspace.

You need to source (as in source setup.bash) the workspace containing this package in the terminal running RViz for Rviz to be able to find it.

The command rospack find evarobot_description will tell you if the package is known on your system.

edit flag offensive delete link more

Comments

Thanks a lot it worked. That was quick :).

metobom gravatar image metobom  ( 2019-02-09 15:16:50 -0500 )edit

Question Tools

Stats

Asked: 2019-02-09 14:59:21 -0500

Seen: 3,372 times

Last updated: Feb 09 '19