Ask Your Question
2

Failed to load plugin libgazebo_ros_control.so

asked 2014-04-25 14:19:39 -0500

lucasw gravatar image

updated 2014-04-28 05:12:13 -0500

I've built gazebo 1.9 from source followed by hydro desktop full from source in Ubuntu 13.10 following the instructions but I'm getting these errors when trying to use my xacro/urdf files

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

A few months ago I was able to do the same source install process and despite getting an error about apt: command [sudo apt-get install -y gazebo2] failed at the rosdep stage, the gazebo dependent packages built because I had correctly installed gazebo and pointed the right environmental variables at it. And all that .so was there (or was it?), everything worked fine (even without it?).

I git cloned ros_control, realtime_tools, and control_toolbox but still no success at generating the so. I'm not sure if those are actually needed here, but it some cursory research suggested they were, though on the earlier installs I never had to manually clone them (maybe rosdep did?).

Is there some other manual steps I need to do to get libgazebo_ros_control.so?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2015-01-07 12:49:28 -0500

130s gravatar image

This answer worked for me on Hydro.

edit flag offensive delete link more
1

answered 2014-04-28 21:27:37 -0500

Adolfo Rodriguez T gravatar image

It might very well be the case that gazebo_ros_control is not available. If installed from binaries, you can check its presence with dpkg -l ros-hydro-ros-control. If building from source, try rospack find gazebo_ros_control.

Note that gazebo_ros_control lives in the gazebo_ros_pkgs repository, and not part of gazebo, ros_control or control_toolbox. The latter are some of its dependencies.

edit flag offensive delete link more
0

answered 2016-03-21 07:23:06 -0500

I had the same problem, the installation of this packages cleared out all errors for me (tested under indigo) :

  • ros-indigo-youbot-gazebo-robot
  • ros-indigo-youbot-gazebo-control
  • ros-indigo-youbot-description
  • ros-indigo-youbot-driver
  • ros-indigo-youbot-driver-ros-interface
  • ros-indigo-youbot-gazebo-worlds
  • ros-indigo-youbot-simulation
  • ros-indigo-gazebo-ros-control
  • ros-indigo-effort-controllers
  • ros-indigo-joint-state-controller
  • ros-indigo-joint-trajectory-controller

copy/paste command:

sudo apt-get install ros-indigo-youbot-gazebo-robot ros-indigo-youbot-gazebo-control ros-indigo-youbot-description ros-indigo-youbot-driver ros-indigo-youbot-driver-ros-interface ros-indigo-youbot-gazebo-worlds ros-indigo-youbot-simulation ros-indigo-gazebo-ros-control ros-indigo-effort-controllers ros-indigo-joint-state-controller ros-indigo-joint-trajectory-controller

hope it helps! cheers

edit flag offensive delete link more

Comments

I had the same problem and to install the above packages helps for me.

Thanks

Erik4 gravatar imageErik4 ( 2017-02-03 13:57:11 -0500 )edit
2

Just installing one of these packages (ros-indigo-gazebo-ros-control) helped me.

Shantnu gravatar imageShantnu ( 2017-04-22 19:39:38 -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

2 followers

Stats

Asked: 2014-04-25 14:19:39 -0500

Seen: 7,019 times

Last updated: Mar 21 '16