Turn on gravity for sensors and give them collision shapes.

This commit is contained in:
Steve Peters 2013-02-14 11:38:59 -08:00
parent 762da88b7b
commit 01b00bce3a
3 changed files with 9 additions and 4 deletions

View File

@ -2,11 +2,17 @@
<sdf version="1.3">
<model name="camera">
<link name="link">
<gravity>false</gravity>
<pose>0.05 0.05 0.05 0 0 0</pose>
<inertial>
<mass>0.1</mass>
</inertial>
<collision name="collision">
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
</collision>
<visual name="visual">
<geometry>
<box>

View File

@ -3,7 +3,6 @@
<model name="hokuyo">
<pose>0 0 0.035 0 0 0</pose>
<link name="link">
<gravity>false</gravity>
<inertial>
<mass>0.1</mass>
</inertial>

View File

@ -7,13 +7,13 @@
<mass>0.1</mass>
</inertial>
<visual name="collision">
<collision name="collision">
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
</visual>
</collision>
<visual name="visual">
<geometry>