Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load system plugin [gz_ros2_control-system] #98

Closed
Luczia opened this issue Nov 22, 2022 · 2 comments
Closed

Failed to load system plugin [gz_ros2_control-system] #98

Luczia opened this issue Nov 22, 2022 · 2 comments

Comments

@Luczia
Copy link

Luczia commented Nov 22, 2022

Hi,

I have the following error when launching ros2 launch gz_ros2_control_demos diff_drive_example.launch.py :

[ign gazebo-1] Library [/colcon_ws/install/gz_ros2_control/lib/libgz_ros2_control-system.so] does not export any plugins. The symbol [IgnitionPluginHook] is missing, or it is not externally visible.
[ign gazebo-1] [Err] [SystemLoader.cc:87] Failed to load system plugin [gz_ros2_control-system] : couldn't load library on path [/colcon_ws/install/gz_ros2_control/lib/libgz_ros2_control-system.so].

OS Version: WSL with Ubuntu 22.4
Using Docker image : Ubuntu 22.04 + ROS2 Humble + Gazebo Garden (installed from debs)

Behavior :

Gazebo (ex Ignition) launches successfully but with that error message. As such, many controllers and topics are missing and I can't control the robot.

I am also suprised that in the roslaunch console, the node is still called "ign gazebo".

image

Steps to reproduce :

I've tried to change different plugin_names and file_names in the urdf but without success. Any idea ? I see that the branch ign_to_gz has been updated a few hours ago but with the same behavior.

Thanks !

I attach the Dockerfile for reproduction
Dockerfile.humble-full-gz.txt

@ahcorde
Copy link
Collaborator

ahcorde commented Nov 22, 2022

Please check these two answer #67 (comment) and #67 (comment)

For following issues or PR, please don't use images, these are not searchable.

If this solve your problem please close this issue.

@Luczia
Copy link
Author

Luczia commented Nov 23, 2022

Ok, I've rebuilt my humble image and recompiled ros_gz on the humble branch and it now works.

Thanks !

@Luczia Luczia closed this as completed Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants