EEEManchester / gazebo_radiation_plugin

9 stars 5 forks source link

I want to use the radiation sensor plugin in an external simulation environment #8

Open romaster93 opened 4 months ago

romaster93 commented 4 months ago

hi.

I have already set up a Gazebo environment with drones and sensors for autonomous driving that I've been using. Recently, I've been researching a topic related to radiation data.

I found your package while searching for plugins. I referred to the following section in the provided custom.urdf file and added it to my URDF file.

<gazebo reference="radiation_sensor">
    <sensor name="radiation_sensor" type="radiation_sensor">
        <always_on> 1 </always_on>
        <update_rate> 10.0 </update_rate>
        <topic>sensor_0</topic>
        <plugin name="radiation_sensor_plugin" filename="libradiation_sensor_plugin.so" />
    </sensor>
</gazebo>

However, the specified 'sensor_0' topic is not being generated, and no sensor is being created. Only the added link and joint for attaching the sensor have been included.

Does simply adding the plugin file not create the sensor?