Gazebo | Ignition | Community
Ask Your Question
0

Failed to load plugin (gazebo-11)

asked 2020-10-10 16:29:26 -0600

faade gravatar image

updated 2020-10-14 13:36:26 -0600

Hello, I am using ROS2 Foxy (built from source) and gazebo11 (installed by command sudo apt install ros-foxy-gazebo-ros-pkgs) on Ubuntu 20.04.1. When I try to follow the test from installing tutorial (http://gazebosim.org/tutorials?tut=ro...) I get an error:

[Err] [Plugin.hh:178] Failed to load plugin libgazebo_ros_diff_drive.so: libgazebo_ros_diff_drive.so: cannot open shared object file: No such file or directory

on the step:

gazebo --verbose /opt/ros/eloquent/share/gazebo_plugins/worlds/gazebo_ros_diff_drive_demo.world

I already cheeked GAZEBO_PLUGIN_PATH, it point directly to the folder where the .so file is located.

Thanks for helping.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-10-16 03:02:37 -0600

ahcorde gravatar image

Hi @faade,

Did you source the ROS 2 workspace in the terminal that you are running Gazebo?

source /opt/ros/foxy/setup.bash

Regards

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-10-10 16:29:26 -0600

Seen: 4,560 times

Last updated: Oct 16 '20