Home | Tutorials | Wiki | Issues
Ask Your Question
0

Error [Plugin.hh:127]

asked 2013-09-29 13:03:59 -0500

updated 2013-09-29 13:48:04 -0500

Hello Everyone

I was working with this Tutorial and get the same error:

http://gazebosim.org/wiki/Tutorials/1.3/controlrobot/mobilebase

Or

http://gazebosim.org/wiki/Tutorials/1.3/controlrobot/mobilebase_laser

Get a similar error:

Error [Plugin.hh:127] Failed to load plugin libmypluginwithsensor.so: mypluginwithsensor.so: cannot open shared object file: No such file or directory

Or

Error [Plugin.hh:127] Failed to load plugin libmyplugin.so: libmyplugin.so: cannot open shared object file: No such file or directory

And

libmypluginwithsensor.so

libmy_plugin.so

It's in ~/gazebo/my_plugin/build:

A lot of Thanks!!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-10-01 07:56:13 -0500

updated 2013-10-08 18:44:49 -0500

The solve for this problem is because it's must export plugins and load the model from the package

Example:

My path is libmyplugin.so and this's In ~/gazebo/my_plugin/build

Before to get this path I used:

 cmake ..;make  //in the folder /build

I used: cd ~/gazebo/my_plugin/build //here is libmyplugin.so

 export GAZEBO_PLUGIN_PATH=`pwd`:$GAZEBO_PLUGIN_PATH  //with this instruction I load libmyplugin.so and it's prepared it for load the simulation
 gazebo

In my case I insert the robot from Gazebo

A lot of Thanks!!

edit flag offensive delete link more
0

answered 2013-09-29 13:47:20 -0500

Arn-O gravatar image

Why don't you start with the last version of Gazebo and ROS?

http://gazebosim.org/wiki/Tutorials/1.9/Overview_of_new_ROS_integration

Mind the version number in the URL.

edit flag offensive delete link more

Comments

I'm working in this:

http://gazebosim.org/wiki/Tutorials/1.9/UsingAURDFInGazebo

But have problems with:

cd ~/catkin_ws/src/

git clone <a href="https://github.com/ros-simulation/gazebo_ros_demos.git">https://github.com/ros-simulation/gazebo_ros_demos.git</a>

cd ..

catkin_make
vncntmh gravatar imagevncntmh ( 2013-09-29 19:15:45 -0500 )edit

When Used: cd .. catkin_make Get this problem: Traceback (most recent call last): File "/opt/ros/groovy/bin/catkin_make", line 14, in <module> from catkin.terminal_color import disable_ANSI_colors, fmt ImportError: No module named terminal_color

vncntmh gravatar imagevncntmh ( 2013-09-29 19:19:43 -0500 )edit

Arn-O Do you know another tutorial with Ros Fuerte?

Because I have problems with this for this reason

vncntmh gravatar imagevncntmh ( 2013-10-03 22:10:29 -0500 )edit

No other tutorial, but this one when applied carefully steps by steps is excellent.

Arn-O gravatar imageArn-O ( 2013-10-06 08:12:30 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-09-29 13:03:59 -0500

Seen: 6,059 times

Last updated: Oct 08 '13