grid_map icon indicating copy to clipboard operation
grid_map copied to clipboard

Grid Maps in Gazebo Plugins

Open bach05 opened this issue 3 years ago • 1 comments

Hi, I'm working with the AutonomousActorPlugin and to improve obstacle avoidance I would like to use Grid Map library. When I try to add any reference to Grip Map (in this case I just add a variable of type grid_map::GridMap in the header file of the plugin), I get a runtime error from gzserver:

gzserver: symbol lookup error: /home/alberto/tiago_dual_public_ws/devel/lib/libAutonomousActorPluginDebug.so: undefined symbol: _ZN8grid_map7GridMapC1Ev

shell1 shell2

No errors in building. Demos work fine and I tried also to write a simple ROS node that create a Grip Map, it works. I'm using Gazebo 9 and ROS Melodic.

Can someone help me? Thank you in advance.

bach05 avatar Apr 08 '21 09:04 bach05

Hey, I think the CMake file of the AutonomousActorPlugin does not add grid_map as a dependency.

maximilianwulf avatar May 31 '21 14:05 maximilianwulf