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

Failed to load plugin libgazebo_ros_control.so

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

lucasw gravatar image

updated 2020-11-21 11:22:53 -0600

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 -0600

130s gravatar image

This answer worked for me on Hydro.

edit flag offensive delete link more
1

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

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 -0600

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 image Erik4  ( 2017-02-03 13:57:11 -0600 )edit
2

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

Shantnu gravatar image Shantnu  ( 2017-04-22 19:39:38 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 13,321 times

Last updated: Mar 21 '16