-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
61 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.4"> | ||
<model name="bumper_sensor"> | ||
<!-- Only difference to regular iris is this sensor and a MAVLink stream --> | ||
<link name="bumper_link"> | ||
<inertial> | ||
<pose>0.01 0.025 0.025 0 0 0</pose> | ||
<mass>0.01</mass> | ||
<inertia> | ||
<ixx>4.15e-6</ixx> | ||
<ixy>0</ixy> | ||
<ixz>0</ixz> | ||
<iyy>2.407e-6</iyy> | ||
<iyz>0</iyz> | ||
<izz>2.407e-6</izz> | ||
</inertia> | ||
</inertial> | ||
|
||
<collision name='bumper_collision'> | ||
<pose>0 0 0 0 -0 0</pose> | ||
<geometry> | ||
<box> | ||
<size>0.47 0.47 0.11</size> | ||
</box> | ||
</geometry> | ||
</collision> | ||
|
||
<sensor name="bumper_sensor" type="contact"> | ||
<always_on>true</always_on> | ||
<update_rate>30.0</update_rate> | ||
<contact> | ||
<collision>bumper_collision</collision> | ||
</contact> | ||
<plugin name="benchmarking_bumper" filename="libgazebo_ros_bumper.so"> | ||
<bumperTopicName>benchmarker/collision</bumperTopicName> | ||
</plugin> | ||
</sensor> | ||
|
||
</link> | ||
</model> | ||
</sdf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<model> | ||
<name>Bumper Sensor</name> | ||
<version>1.0</version> | ||
<sdf version='1.4'>bumper_sensor.sdf</sdf> | ||
|
||
<author> | ||
<name>Nico van Duijn</name> | ||
<email>nico@auterion.com</email> | ||
</author> | ||
|
||
<description> | ||
This is a model of a simple bumper sensor. | ||
It uses the gazebo-ros plugin to publish collisions on a ROS topic | ||
</description> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters