Skip to content

Commit 755c286

Browse files
Added Rock Barrier Model and associated config files
The Rock Barrier was modeled to replicate the physical Rock Barrier used with the Swarmies. It has been added to the model database for use with the simulated rovers.
1 parent 9c818f3 commit 755c286

File tree

5 files changed

+109
-0
lines changed

5 files changed

+109
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" ?>
2+
<model>
3+
<name>rock_barrier</name>
4+
<version>1.0</version>
5+
<sdf version="1.6">model.sdf</sdf>
6+
<author>
7+
<name></name>
8+
<email></email>
9+
</author>
10+
<description></description>
11+
</model>
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<?xml version='1.0'?>
2+
<sdf version='1.6'>
3+
<model name='rock_barrier'>
4+
<static>true</static>
5+
<link name='link'>
6+
<pose>0 0 0 0 0 0</pose>
7+
<inertial>
8+
<mass>1</mass>
9+
<inertia>
10+
<ixx>0.166667</ixx>
11+
<ixy>0</ixy>
12+
<ixz>0</ixz>
13+
<iyy>0.166667</iyy>
14+
<iyz>0</iyz>
15+
<izz>0.166667</izz>
16+
</inertia>
17+
</inertial>
18+
<visual name='visual'>
19+
<pose>0 0 0 0 0 0</pose>
20+
<geometry>
21+
<mesh>
22+
<uri>model://rock_barrier/rock_barrier.stl</uri>
23+
<scale>1 1 1</scale>
24+
</mesh>
25+
</geometry>
26+
<material>
27+
<lighting>1</lighting>
28+
<script>
29+
<uri>model://rock_barrier</uri>
30+
<name>rock_barrier/Diffuse</name>
31+
</script>
32+
</material>
33+
</visual>
34+
<collision name='collision'>
35+
<laser_retro>0</laser_retro>
36+
<max_contacts>10</max_contacts>
37+
<pose>0 0 0 0 0 0</pose>
38+
<geometry>
39+
<mesh>
40+
<uri>model://rock_barrier/rock_barrier.stl</uri>
41+
</mesh>
42+
</geometry>
43+
<surface>
44+
<friction>
45+
<ode>
46+
<mu>1</mu>
47+
<mu2>1</mu2>
48+
<fdir1>0 0 0</fdir1>
49+
<slip1>0</slip1>
50+
<slip2>0</slip2>
51+
</ode>
52+
<torsional>
53+
<coefficient>1</coefficient>
54+
<patch_radius>0</patch_radius>
55+
<surface_radius>0</surface_radius>
56+
<use_patch_radius>1</use_patch_radius>
57+
<ode>
58+
<slip>0</slip>
59+
</ode>
60+
</torsional>
61+
</friction>
62+
<bounce>
63+
<restitution_coefficient>0</restitution_coefficient>
64+
<threshold>1e+06</threshold>
65+
</bounce>
66+
<contact>
67+
<collide_without_contact>0</collide_without_contact>
68+
<collide_without_contact_bitmask>1</collide_without_contact_bitmask>
69+
<collide_bitmask>1</collide_bitmask>
70+
<ode>
71+
<soft_cfm>0</soft_cfm>
72+
<soft_erp>0.2</soft_erp>
73+
<kp>1e+13</kp>
74+
<kd>1</kd>
75+
<max_vel>0.01</max_vel>
76+
<min_depth>0</min_depth>
77+
</ode>
78+
</contact>
79+
</surface>
80+
</collision>
81+
</link>
82+
</model>
83+
</sdf>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
material rock_barrier/Diffuse
2+
{
3+
technique
4+
{
5+
pass
6+
{
7+
transparent_sorting on
8+
9+
texture_unit
10+
{
11+
texture rock_barrier.png
12+
}
13+
}
14+
}
15+
}
112 KB
Loading
44.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)