Hello @staff,
Whenever I attempt to add the IMU plugin to my_gurdy Quiz, Gazebo crashes. Otherwise, everything is working fine including the controllers.
Here is the script that I used for the IMU Plugin:
<gazebo reference= "base_link">
<gravity>true</gravity>
<sensor name="imu_sensor1" type="imu">
<always_on>true</always_on>
<update_rate>50</update_rate>
<visualize>true</visualize>
<topic>__default_topic__</topic>
<plugin name="gazebo_ros_imu_controller" filename="libgazebo_ros_imu.so">
<robotNamespace>/gurdy</robotNamespace>
<topicName>imu/data</topicName>
<serviceName>imu/service</serviceName>
<bodyName>base_link</bodyName>
<gaussianNoise>0</gaussianNoise>
<rpyOffsets>0 0 0</rpyOffsets>
<updateRate>10.0</updateRate>
<alwaysOn>true</alwaysOn>
<gaussianNoise>0</gaussianNoise>
</plugin>
</sensor>
</gazebo>
Please let me know that what is wrong in these lines that makes Gazebo crash.
Also, I would like to add that when I use this plugin as is given in the quiz problem description (i.e. without ) , it doesn’t crash, however, I don’t see IMU topic publishing in rostopic list .
Regards,
Kashish Dhal