Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

How to set GAZEBO_PLUGIN_PATH correctly and add the plugin into Gazebo_ros ?

$
0
0
Hi, I am using gazebo to simulate a sonar. Thus I will use `hector_sonar_plugin`. While after I install the hector plugins from source and call it in my sdf, errors come. At first, an error appear asking me to add `libhector_sonar_plugin.so` to `gazebo_ros package`. I cannot understand it and thought it cannot find the plugin. Thus,I use export GAZEBO_PLUGIN_PATH=`pwd`:$GAZEBO_PLUGIN_PATH to add `hector_plugin` folder into path, then more error come: Error [Plugin.hh:156] Failed to load plugin libRayPlugin.so: libRayPlugin.so: cannot open shared object file: No such file or directory [FATAL] [1464103865.820981859]: A ROS node for Gazebo has not been initialized, unable to load plugin. Load the Gazebo system plugin 'libgazebo_ros_api_plugin.so' in the gazebo_ros package) Could someone tell me how to set the `GAZEBO_PLUGIN_PATH` correctly (or reset it correctly)? And if I want to use plug-Ins such as hector's, what should I do? (just copy .so to the model folder or ...?) I am using Indigo full desktop, and thus version should be gazebo2 Thank you.

Viewing all articles
Browse latest Browse all 7017

Trending Articles