Skip to content

Instantly share code, notes, and snippets.

@leander-dsouza
Last active June 16, 2023 08:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Gazebo Bumper Plugin for Flappy Bird
<!-- Bumper Plugin to get collision information from Flappy Bird model -->
<gazebo reference="base_link">
<sensor name="collision_sensor" type="contact">
<update_rate>100.0</update_rate>
<always_on>true</always_on>
<contact>
<!-- retrieved from converting urdf to sdf -->
<collision>base_footprint_fixed_joint_lump__collision_collision</collision>
<topic>bumper_contact</topic>
</contact>
<plugin name="collision_plugin" filename="libgazebo_ros_bumper.so">
<update_rate>100.0</update_rate>
<always_on>true</always_on>
<bumperTopicName>/robot_bumper</bumperTopicName>
<frameName>base_link</frameName>
</plugin>
</sensor>
</gazebo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment