I am trying to define a regular camera to be used in Gazebo Fortress from a robot description topic created from a URDF file. In my urdf.xacro I have included the camera plugin like so:

  <gazebo reference="zed_0_camera_link">
    <sensor type="camera" name="zed_0_camera_sensor">
      <pose>0 0 0 0 0 0</pose>
      <plugin name="camera_controller" filename="libgazebo_ros_camera.so">

But get the error: Could not find shared library libgazebo_ros_camera.so

If I set GZ_SIM_SYSTEM_PLUGIN_PATH to /opt/ros/humble/lib, then I get:

    Library [/opt/ros/humble/lib/libgazebo_ros_camera.so] does not export any plugins. The symbol [IgnitionPluginHook] is missing, or it is not externally visible.

I have also tried pointing GZ_SIM_SYSTEM_PLUGIN_PATH to /usr/lib/x86_64-linux-gnu/gazebo-11/plugins/ and change the plugin filename to libCameraPlugin.so but still same error.

I guess I am unsure of how to do this with Gazebo Fortress, as there is barely any documentation to address this. I have looked on various forums but can't really see anyone else having the same issue as me. I am pretty sure this would work with Gazebo classic (but haven't tried).



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.