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

Launching gazebo server

asked 2015-04-17 09:53:59 -0600

Haz88 gravatar image


I'm trying to launch a gazebo server with the help of gzserver but I get this error:

Error [] Unable to find shader lib. Shader generating will fail.Error [] Could not open file[worlds/]

When I go to the directory where xml file is placed I see it exists. This is its content:

<sdf version="1.4"><world name="default"> <include><uri>model://sun</uri></include> <include><uri>model://ground_plane</uri></include> <physics type="ode"><max_step_size>0.01</max_step_size><real_time_factor>1</real_time_factor><real_time_update_rate>100</real_time_update_rate><gravity>0 0 -9.8</gravity></physics></world></sdf>

Does someone have a clue what is wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-12 09:39:15 -0600

mattc_vec gravatar image

I encountered 'Error [] Could not open file' when I tried launching gazebo with roslaunch gazebo_ros. I specified world_name:=<> (from within the directory where the .world was located). When I added the full path to the file, the error went away.

edit flag offensive delete link more


Where do I add the full path?

DimitriosMalonas gravatar image DimitriosMalonas  ( 2016-10-05 13:53:08 -0600 )edit

Question Tools

1 follower


Asked: 2015-04-17 09:53:59 -0600

Seen: 1,770 times

Last updated: Jun 12 '15