Failed to load plugin libgazebo_ros_openni_kinect.so while using Kinect with Gazebo and ROS

asked 2019-12-07 10:56:07 -0500

adi9905 gravatar image

updated 2022-06-05 11:35:22 -0500

lucasw gravatar image

I recently upgraded to Ubuntu 18.04. Earlier, I had ROS Kinetic but after porting to ROS Melodic, sensor plugins for both Hokuyo and Kinect are not working. This is the whole error:

adi99@adi99:~$ rosrun gazebo_ros gazebo --verbose Gazebo multi-robot simulator, version 9.11.0 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

[Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 192.168.0.105 [Wrn] [msgs.cc:1852] Conversion of sensor type[depth] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[depth] not supported. [Err] [Plugin.hh:187] Failed to load plugin libgazebo_ros_openni_kinect.so: libavdevice-ffmpeg.so.56: cannot open shared object file: No such file or directory [Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/pose/local/info, deleting message. This warning is printed only once. [Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/physics/contacts, deleting message. This warning is printed only once.

I followed the tutorial on this link to integrate Kinect with gazebo: http://gazebosim.org/tutorials/?tut=r...

When I try to install the missing library by sudo apt-get install, the output shows 'Unable to locate package'. Thank You. Any help would be appreciated.

edit retag flag offensive close merge delete

Comments

Have you looked at plugin installation here.

Choco93 gravatar image Choco93  ( 2019-12-09 02:09:47 -0500 )edit