Home | Tutorials | Wiki | Issues
Ask Your Question

How to add RaySensor plugin to the world file?

asked 2018-08-08 07:55:04 -0500

tommy gravatar image

updated 2018-08-08 07:56:54 -0500

According to modification of this tutorial I managed to create a plugin for a ray sensor. I also added the line

<plugin name="RayPlugin" filename="build/libRayPlugin.so"/>

to the .world file directly bellow

<sensor name='my_sensor' type='ray'>

just like in the tutorial. However, when I open the world in Gazebo, the plugin doesn't appear there. The path to the plugin is correct, as I am able to use model plugins. I'm using Gazebo 9 on Ubuntu 18.4.1.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-09 02:11:18 -0500

tommy gravatar image

Turned out the plugin is not displayed in the Gazebo GUI, but it is loaded and works.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-08-08 07:55:04 -0500

Seen: 20 times

Last updated: Aug 09