Gazebo | Ignition | Community
Ask Your Question

Can't load meshes correcly

asked 2013-11-26 14:23:18 -0600

AlphaOne gravatar image

So I am trying to import a robot into gazebo and it doesn't work, so I cut down my model to just the frame and the that doesn't even work. Here is the sdf file I am trying to load:

<?xml version='1.0'?>
<sdf version='1.4'>
<model name='rbe_500_model'>
<link name='base_link'>
  <pose>0 0 0 0 -0 0</pose>
    <pose>-0.264565 -0.0662113 0.0664452 0 -0 0</pose>
  <collision name='base_link_collision'>
    <pose>0 0 0 0 -0 0</pose>
        <scale>1 1 1</scale>
        <uri>model:$(find rbe_500_model)/meshes/base_link.STL</uri>
  <visual name='base_link_visual'>
    <pose>0 0 0 0 -0 0</pose>
        <scale>1 1 1</scale>
        <uri>model:$(find rbe_500_model)/meshes/base_link.STL</uri>

I get these errors when I try to spawn the model

Error [] No mesh specified
Error [] No mesh specified

any idea what I am doing wrong?

edit retag flag offensive close merge delete



maybe the 'find' command is not supported, (meaning "$(find rbe500model)"), or you are missing the STL files. You can try it by adding the rbe500model folder to the gazebo model path. Here is a tutorials that explains it in more detail: ''

AndreiHaidu gravatar imageAndreiHaidu ( 2013-11-27 03:23:13 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-12-22 18:38:01 -0600

matwilso gravatar image

You mesh imports are incorrect. To import meshes from ROS packages in Gazebo, you need to use the syntax:


For Gazebo to find your package, you also need to include the code block below in your package.xml. See this answer for more information.

<!-- gazebo_ros_paths_plugin automatically adds these to
    GAZEBO_PLUGIN_PATH and GAZEBO_MODEL_PATH when you do this export inside
    the package.xml file. You can than use URIs of type model://my_package/stuff. -->
        gazebo_model_path="${prefix}/.." /> 
edit flag offensive delete link more

answered 2020-07-29 10:06:05 -0600

Tomlogan gravatar image

updated 2020-07-29 10:06:44 -0600

Hi, I got the same issue for two interns, they can't load gzclient without an error about the 3D files not found with the path on the gzserver on a remote server. Both of them use roslaunch files to start . They use a custom version of husky robot and hector_quadcopter.

Very strange.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2013-11-26 14:23:18 -0600

Seen: 5,036 times

Last updated: Jul 29 '20