Gazebo | Ignition | Community
Ask Your Question
0

Gazebo Static Map Plugin not loading.

asked 2019-09-13 13:37:38 -0600

BillThePlatypus gravatar image

updated 2019-09-16 11:11:06 -0600

I am trying to use the Gazebo static map plugin following the tutorial at http://gazebosim.org/tutorials?tut=st.... However, when I launch Gazebo, with the command gazebo --verbose static_map_plugin.world, the world appears white, and an error shows in the console.

[Err] [Plugin.hh:180] Failed to load plugin libStaticMapPlugin.so: libStaticMapPlugin.so: cannot open shared object file: No such file or directory

I've looked throughout my computer, but I can't find this file, and as far as I can tell, it should come with Gazebo. What do I need to do to fix this?

This is on Gazebo 9.0.0 with ROS Melodic on Ubuntu 18.04.

edit retag flag offensive close merge delete

Comments

the link appears to be broken. Can you fix it? I never heard of Static Map Plugin and was not able to find any reference on google search.

kumpakri gravatar imagekumpakri ( 2019-09-16 08:06:52 -0600 )edit

I've fixed the link. I made a mistake copying it over from ROS answers.

BillThePlatypus gravatar imageBillThePlatypus ( 2019-09-16 11:11:34 -0600 )edit

I found this plugin in folder /usr/lib/x86_64-linux-gnu/gazebo-7/plugins.

kumpakri gravatar imagekumpakri ( 2019-09-17 07:51:45 -0600 )edit

I looked in that location, and the libStaticMapPlugin.so file isn't there. I have installed Gazebo through the ros-melodic-desktop-full package. Did you install Gazebo another way, or with extra packages?

BillThePlatypus gravatar imageBillThePlatypus ( 2019-09-17 16:49:53 -0600 )edit

I have definitely used one of those approaches to install Gazebo.

kumpakri gravatar imagekumpakri ( 2019-09-19 05:01:30 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-23 13:48:46 -0600

BillThePlatypus gravatar image

After a lot of searching and building from source, I discovered that the static map plugin is for Gazebo 10, not Gazebo 9.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-09-13 13:37:38 -0600

Seen: 1,173 times

Last updated: Sep 23 '19