Robotics StackExchange | Archived questions

Failed to spawn URDF in gazebo

Hi, I'm new to gazebo, I installed the gazemo citadel from binary, and went through the tutorial Spawn URDFhttps://gazebosim.org/docs/citadel/spawn_urdf When I ran ign gazebo empty.sdf in terminal, the gazebo interface pop up, but the main window kept blinking, I'm not able to see a world. Then I ran

ign service -s /world/empty/create --reqtype ignition.msgs.EntityFactory --reptype ignition.msgs.Boolean --timeout 1000 --req 'sdf_filename: "07-physics.urdf", name: "urdf_model"'

in another terminal, it returned data:true, but error occured in gazebo:

[Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger.dae] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger.dae] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger.dae] [Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger_tip.dae] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger_tip.dae] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger_tip.dae] [Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger.dae] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger.dae] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger.dae] [Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger_tip.dae] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger_tip.dae] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [MeshDescriptor.cc:56] Mesh manager can't find mesh named [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [Ogre2MeshFactory.cc:431] Cannot load null mesh [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [Ogre2MeshFactory.cc:72] Failed to get Ogre item for [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [SceneManager.cc:351] Failed to load geometry for visual: left_gripper_visual [GUI] [Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [MeshDescriptor.cc:56] Mesh manager can't find mesh named [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [Ogre2MeshFactory.cc:431] Cannot load null mesh [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [Ogre2MeshFactory.cc:72] Failed to get Ogre item for [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [SceneManager.cc:351] Failed to load geometry for visual: left_gripper_fixed_joint_lump__left_tip_visual_1 [GUI] [Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [MeshDescriptor.cc:56] Mesh manager can't find mesh named [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [Ogre2MeshFactory.cc:431] Cannot load null mesh [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [Ogre2MeshFactory.cc:72] Failed to get Ogre item for [model://urdf_tutorial/meshes/l_finger.dae] [GUI] [Err] [SceneManager.cc:351] Failed to load geometry for visual: right_gripper_visual [GUI] [Err] [SystemPaths.cc:363] Unable to find file with URI [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [SystemPaths.cc:450] Could not resolve file [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [MeshManager.cc:172] Unable to find file[model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [MeshDescriptor.cc:56] Mesh manager can't find mesh named [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [Ogre2MeshFactory.cc:431] Cannot load null mesh [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [Ogre2MeshFactory.cc:72] Failed to get Ogre item for [model://urdf_tutorial/meshes/l_finger_tip.dae] [GUI] [Err] [SceneManager.cc:351] Failed to load geometry for visual: right_gripper_fixed_joint_lump__right_tip_visual_1

I ran

echo $GAZEBO_MODEL_PATH

echo $GAZEBO_PLUGIN_PATH

echo $GAZEBO_RESOURCE_PATH

but returned nothing. I tried to remove gazebo and built from source, the same thing happened.

Asked by Hanada on 2023-01-30 06:58:21 UTC

Comments

Answers