[Bug] Robot models not showing up

course TF ROS2
unit BroadCast & Listen to TF data

Screenshot of the error

Error details

The command ros2 run tf2_ros tf2_monitor camera_bot_base_link rgb_camera_link_frame Gives a different output than suggested. [ERROR] [1677159905.646523857] [rviz2]: Could not load resource [package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae]: Unable to open file “package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae”. [ERROR] [1677159905.646730379] [rviz2]: FileNotFoundException: Cannot locate resource package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae in resource group OgreAutodetect. in ResourceGroupManager::openResource at /tmp/binarydeb/ros-galactic-rviz-ogre-vendor-8.5.0/obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/OgreMain/src/OgreResourceGroupManager.cpp (line 703) [ERROR] [1677159905.646964206] [rviz2]: could not load model ‘package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae’ for link ‘turtle_chassis’: FileNotFoundException: Cannot locate resource package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae in resource group OgreAutodetect. in ResourceGroupManager::openResource at /tmp/binarydeb/ros-galactic-rviz-ogre-vendor-8.5.0/obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/OgreMain/src/OgreResourceGroupManager.cpp (line 703) [ERROR] [1677159905.647320246] [rviz2]: Could not load resource [package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae]: Unable to open file “package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae”. [ERROR] [1677159905.647404822] [rviz2]: FileNotFoundException: Cannot locate resource package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae in resource group OgreAutodetect. in ResourceGroupManager::openResource at /tmp/binarydeb/ros-galactic-rviz-ogre-vendor-8.5.0/obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/OgreMain/src/OgreResourceGroupManager.cpp (line 703) [ERROR] [1677159905.647484663] [rviz2]: could not load model ‘package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae’ for link ‘turtle_chassis’: FileNotFoundException: Cannot locate resource package://turtle_tf_3d_ros2/meshes/turtle/turtle.dae in resource group OgreAutodetect. in ResourceGroupManager::openResource at /tmp/binarydeb/ros-galactic-rviz-ogre-vendor-8.5.0/obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/OgreMain/src/OgreResourceGroupManager.cpp (line 703)


Hi @atbecker ,

Try to run this line before starting/launching Rviz2:

cd ~
source ~/simulation_ws/install/setup.bash

Let me know if this solves your problem.

Regards,
Girish

EDIT (27/02/2023): I think what @rzegers said should be correct. What I suggested would most likely not work.

Hello @atbecker,

in addition to what @girishkumar.kannan suggested, please try this command here:

source /home/simulations/ros2_sims_ws/install/setup.bash

just before you run ros2 run tf2_ros tf2_monitor camera_bot_base_link rgb_camera_link_frame.

The ros2_sims_ws workspace is where those .dae meshes are located and it seems that it can’t find them.

Please let us know how it went.

Regards,

Roberto

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.