Ask Your Question
1

Launching gazebo server

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

Haz88 gravatar image

BH

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

Error [RTShaderSystem.cc:409] Unable to find shader lib. Shader generating will fail.Error [Server.cc:285] Could not open file[worlds/empty.world]

When I go to the directory where empty.world 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
0

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

mattc_vec gravatar image

I encountered 'Error [Server.cc:285] Could not open file' when I tried launching gazebo with roslaunch gazebo_ros. I specified world_name:=<worldname.world> (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

Comments

Where do I add the full path?

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 1,201 times

Last updated: Jun 12 '15