Home | Tutorials | Wiki | Issues
Ask Your Question

plugin cannot be call and no error message

asked 2015-06-02 03:39:51 -0500

Zheng yo chen gravatar image

updated 2015-06-02 11:38:35 -0500

nkoenig gravatar image

I am running gaebo 5.0.1 on ubuntu 14.04.

I want to make a camera plugin,

so , I go to "gazebo / examples / plugins / camera " for example code (https://bitbucket.org/osrf/gazebo/src/430e66533f8810646b90d001fc9c83220ae503e9/examples/plugins/camera?at=gazebo5_5.0.1)

after compiling and execute "gazebo camera.world"

I found that libcamera_dump.so and libcamera_move.so were not be called (I 'cout' some string in constructor and update() function ,so I knew it)

and there were no error message neither.

I don't how to deal with this problem

Thanks for help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-02 11:43:23 -0500

nkoenig gravatar image

You should run out of the build directory. This will allow Gazebo to find the plugins. In gazebo/examples/plugins/camera/build run gazebo ../camera.world.

edit flag offensive delete link more


If you want Gazebo to find your custom plugins, add the paths to the .so files in the GAZEBO_PLUGIN_PATH environment variable.

PML gravatar imagePML ( 2015-06-04 20:38:27 -0500 )edit

Thank you, I have done with your suggestion, but it doesn't work.

Zheng yo chen gravatar imageZheng yo chen ( 2015-06-11 19:26:06 -0500 )edit

And,I don't think this problem is caused by PATH issue,Because if it were,when I enter 'gazebo test.world', it would come with some error message such as "cannot find plugin" Thank you~

Zheng yo chen gravatar imageZheng yo chen ( 2015-06-11 19:32:04 -0500 )edit

By the way. worldplugin works fine,but no matter my sensorplugin or sensorplugin of tutorial ,it doesn't work

Zheng yo chen gravatar imageZheng yo chen ( 2015-06-11 19:41:33 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2015-06-02 03:39:51 -0500

Seen: 148 times

Last updated: Jun 02 '15