Skip to content

Commit

Permalink
Fixed the target placement and made dynamic
Browse files Browse the repository at this point in the history
Fixed problems with target placement and the collision box in custom world files and the rqt_rover_gui.
Made the targets dynamic since fixing the placement issues increased simulation speed substantially so we don't need to use static targets anymore.
  • Loading branch information
gmfricke committed Oct 18, 2016
1 parent 5ab7019 commit 7bd1eed
Show file tree
Hide file tree
Showing 6 changed files with 54,683 additions and 616 deletions.
15 changes: 5 additions & 10 deletions simulation/models/at0/model.sdf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version='1.0'?>
<sdf version='1.4'>
<model name="at0">
<static>true</static>
<static>false</static>
<link name='link'>
<pose>0 0 0.025 0 0 0</pose>
<pose>0 0 0.0 0.0 0 0</pose>
<inertial>
<mass>0.1</mass>
<mass>0.01</mass> <!-- Set the mass of the target to 10 grams -->>
<inertia>
<ixx>0.00004</ixx>
<ixy>0.0</ixy>
Expand All @@ -16,7 +16,7 @@
</inertia>
</inertial>
<visual name='visual'>
<transparency>0.001</transparency>
<transparency>0.1</transparency>
<geometry>
<box>
<size>0.05 0.05 0.05</size>
Expand All @@ -27,16 +27,11 @@
<uri>model://at0/materials/scripts</uri>
<uri>model://at0/materials/textures</uri>
<name>at0/Diffuse</name>
<ambient>255 255 255 1</ambient>
<diffuse>255 255 255 1</diffuse>
<specular>0.1 0.1 0.1 1</specular>
<emissive>0 0 0 0</emissive>

</script>
</material>
</visual>
<collision name ='collision'>
<pose>0 0 -0.0125 0 0 0</pose>
<pose>0 0 0 0 0 0</pose>
<geometry>
<box>
<size>0.05 0.05 0.05</size>
Expand Down
Loading

0 comments on commit 7bd1eed

Please sign in to comment.