srmainwaring / asv_wave_sim

This package contains plugins that support the simulation of waves and surface vessels in Gazebo.
GNU General Public License v3.0
124 stars 35 forks source link

Using the plugins in ignition Gazebo #154

Closed NarimanNiknejad closed 9 months ago

NarimanNiknejad commented 9 months ago

I am trying to use the plugins developed here in ignition gazebo but I had no luck. I know that I need to run them on Gazebo Garden in order for them to work but is there any way I can run the plugins on ignition Gazebo as well? The reason I am trying to do that is because we have developed all the codes for a differential drive robot for ignition Gazebo and I am not sure how to port them to Gazebo Garden. Whenever I have the plugins in my world file and I launch it I get the following error and it does not load the plugin.

[ruby $(which ign) gazebo-1] Library [~/gz_ws/install/lib/libgz-waves1-waves-visual-system.so] does not export any plugins. The symbol [IgnitionPluginHook] is missing, or it is not externally visible.

Thank you in advance!

srmainwaring commented 9 months ago

Hi @NarimanNiknejad, no I'm afraid the plugins will not run on versions of Gazebo before Gazebo Garden (gz-sim7). The reason is that there are major namespace changes between Ignition Fortress and Gazebo Garden which affect includes, namespaces and macros. It was too much work to support the previous version, and in any case the only support for macOS in Ignition Fortress was available in unreleased custom branches.

The migration guide may help you porting from Ignition Fortress to Gazebo Garden.

NarimanNiknejad commented 9 months ago

Hi, thank you so much! Just wanted to make sure! I appreciate it!