Gazebo | Ignition | Community
Ask Your Question

Failed to load gz-sim-diff-drive-system

asked 2023-07-31 10:18:02 -0500

PButov gravatar image

I'm trying to use gz-sim-diff-drive-system plugin like this:

    <left_joint>Revolute 10</left_joint>
    <right_joint>Revolute 9</right_joint>

but receiving the following error when starting gazebo:

[ruby $(which ign) gazebo-2] [Err] [] Failed to load system plugin [gz-sim-diff-drive-system] : couldn't find shared library.

ROS2 version: Iron Gazebo version: Garden

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2023-08-04 14:07:01 -0500

azeey gravatar image

You shouldn't have to set any environmental variables to use the plugins that come with Gazebo. You might have a bad installation. Can you try running gz sim -v4 diff_drive.sdf? That will run the diff_drive.sdf example that should be installed in your system.

BTW, GAZEBO_SYSTEM_PLUGIN_PATH is relevant for Gazebo classic. For the new Gazebo, you'd use GZ_SIM_SYSTEM_PLUGIN_PATH.

edit flag offensive delete link more

answered 2023-07-31 11:01:31 -0500

PButov gravatar image

updated 2023-07-31 14:34:11 -0500

I suppose that it's a problem with GAZEBO_SYSTEM_PLUGIN_PATH. What is the default value of this variable?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2023-07-31 10:18:02 -0500

Seen: 355 times

Last updated: Aug 04 '23