-
Notifications
You must be signed in to change notification settings - Fork 271
Expand file tree
/
Copy pathsimple_ddbot.urdf
More file actions
71 lines (61 loc) · 1.52 KB
/
simple_ddbot.urdf
File metadata and controls
71 lines (61 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0"?>
<robot name="your_robot">
<!-- Reusable green material -->
<material name="green">
<color rgba="0.2 1 0.2 1"/>
</material>
<!-- Base link -->
<link name="base_link">
<visual>
<origin xyz="0 0 0.25"/>
<geometry>
<box size="1.5 1 0.25"/>
</geometry>
<material name="green"/>
</visual>
</link>
<!-- Right wheel link -->
<link name="right_wheel_link">
<visual>
<origin xyz="0 0 0"/>
<geometry>
<cylinder length="0.2" radius="0.2"/>
</geometry>
<material name="green"/>
</visual>
</link>
<!-- Right wheel joint -->
<joint name="right_wheel_joint" type="continuous">
<origin xyz="-0.5 -0.6 0.2" rpy="1.57 0 0"/>
<parent link="base_link"/>
<child link="right_wheel_link"/>
</joint>
<!-- Left wheel link -->
<link name="left_wheel_link">
<visual>
<origin xyz="0 0 0"/>
<geometry>
<cylinder length="0.2" radius="0.2"/>
</geometry>
<material name="green"/>
</visual>
</link>
<!-- Left wheel joint -->
<joint name="left_wheel_joint" type="continuous">
<origin xyz="-0.5 0.6 0.2" rpy="1.57 0 0"/>
<parent link="base_link"/>
<child link="left_wheel_link"/>
</joint>
<link name="caster_link">
<visual>
<geometry>
<sphere radius="0.08"/>
</geometry>
</visual>
</link>
<joint name="caster_joint" type='fixed'>
<origin xyz="0.6 0 0.075"/>
<parent link="base_link"/>
<child link="caster_link"/>
</joint>
</robot>