Gazebo | Ignition | Community
Ask Your Question
0

How can I open DRC simulator 2.6 without Errors?

asked 2013-05-30 19:32:02 -0500

Jey_316 gravatar image

Hello,

I have installed ROS groovy on Ubuntu 12.10, 64 bits.

I have also installed drcsim 2.6 with "Compiling from source" tutorial.

The problem is:

-WHen I tried to open the ATLAS robot model with:

. /usr/local/share/drcsim/setup.sh

roslaunch atlas_utils atlas.launch

-I get the following errors:

Setting /run_id to e1eda8dc-c984-11e2-8837-003067bb0d9a

process[rosout-1]: started with pid [4369]

started core service [/rosout]

gazebo: error while loading shared libraries: libgazebo_common.so.1: cannot open shared object

file: No such file or directory

failed to start local process: /usr/local/share/drcsim-2.6/ros/atlasutils/scripts/rungazebo atlas.world -q _name:=gazebo _log:=/home/john/.ros/log/e1eda8dc-c984-11e2-8837-003067bb0d9a/gazebo-2.log local launch of atlasutils/rungazebo failed [gazebo-2] process has died [pid -1, exit code 127, cmd /usr/local/share/drcsim-2.6/ros/atlasutils/scripts/rungazebo atlas.world -q _name:=gazebo _log:=/home/john/.ros/log/e1eda8dc-c984-11e2-8837-003067bb0d9a/gazebo-2.log]. log file: /home/john/.ros/log/e1eda8dc-c984-11e2-8837-003067bb0d9a/gazebo-2*.log

How can I solve this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-30 21:22:43 -0500

gerkey gravatar image

Looks like your loader is not looking for libraries /usr/local/lib. Two options:

  1. Set LD_LIBRARY_PATH:

    export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
    
  2. Configure your system to always look in /usr/local/lib. Start by looking in /etc/ld.so.conf.

You'll know that it works when this command gives no output:

ldd `which gazebo` | grep "not found"
edit flag offensive delete link more

Comments

I chose the option number 1. And now I get a different error:

Error [Param.hh:249] Unable to set value [1,0471975511965976] for key[horizontal_fov]

Error [Param.hh:249] Unable to set value [0,100000001] for key[near]

[gazebo-2] process has finished cleanly

log file: /home/john/.ros/log/c0b21dfa-cc73-11e2-8bc9-003067bb0d9a/gazebo-2*.log

Jey_316 gravatar imageJey_316 ( 2013-06-03 12:31:49 -0500 )edit

That looks like a locale issue (error interpreting commas as decimal separators). Try setting `LANG="C"` or `LANG="en_US"`.

gerkey gravatar imagegerkey ( 2013-06-03 14:37:36 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-05-30 19:32:02 -0500

Seen: 272 times

Last updated: May 30 '13