Camera plugin failed to Load on Crystal
Hi All,
I followed this tutorial "http://gazebosim.org/tutorials?tut=ros2_installing&cat=connect_ros"
When I am trying any camera related world file,
> gazebo --verbose /opt/ros/crystal/share/gazebo_plugins/worlds/gazebo_ros_camera_triggered_demo.world
it throws error as
[Err] [Plugin.hh:180] Failed to load plugin libgazebo_ros_camera.so: libCameraPlugin.so: cannot open shared object file: No such file or directory.
libgazeboroscamera.so is present in the /opt/ros/crystal/lib. I am trying it on Ubuntu 18.04 crystal.
Thanks in advance.
Asked by poonam1120 on 2019-01-25 04:51:41 UTC
Comments
I solved this by following below steps:- Created new workspace and copied only gazebo_plugin project in that. Locate libCameraPlugin.so
Copy it manually to the install locatio
Asked by poonam1120 on 2019-02-07 03:13:23 UTC
Thanks -- this fixed it for me, too. But why is this failing in the first place? I'm still stumped.
Asked by clyde on 2019-02-10 14:49:08 UTC
I faced the same issue on ROS Dashing today. A less intrusive way to solve it is to source the gazebo setup file before running gazebo:
Asked by marguedas on 2019-06-05 07:24:21 UTC