-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsimplecar.urdf
More file actions
179 lines (175 loc) · 5.68 KB
/
simplecar.urdf
File metadata and controls
179 lines (175 loc) · 5.68 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0"?>
<robot name="simplecar">
<!-- Colors -->
<material name="black">
<color rgba="0 0 0 1"/>
</material>
<material name="blue">
<color rgba="0.6 0.7 0.8 1"/>
</material>
<!-- Base Frame of Car -->
<link name="base_link">
<visual>
<geometry>
<box size="0.5 0.3 0.1"/>
</geometry>
<material name="blue"/>
</visual>
<inertial>
<mass value="6"/>
<inertia ixx="0.2" ixy="0" ixz="0" iyy="0.2" iyz="0.0" izz="0.2"/>
</inertial>
</link>
<!-- Left Front Wheel -->
<link name="left_front_wheel">
<visual>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="1.57075 1.57075 0"/>
<material name="black"/>
</visual>
<collision>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="1.57075 1.57075 0"/>
</collision>
<inertial>
<origin rpy="1.57075 1.57075 0"/>
<mass value="0.3"/>
<inertia ixx="0.4" ixy="0" ixz="0" iyy="0.4" iyz="0.0" izz="0.2"/>
</inertial>
</link>
<joint name="left_hinge_to_left_front_wheel" type="continuous">
<parent link="left_hinge"/>
<child link="left_front_wheel"/>
<axis xyz="0 1 0"/>
<origin xyz="0 0.2 0"/>
</joint>
<!-- Left Front Wheel - Hinge -->
<link name="left_hinge">
<visual>
<geometry>
<box size="0.20 0.02 0.02"/>
</geometry>
<origin xyz="0 0.1 0 " rpy="0 0 1.57075"/>
<material name="black"/>
</visual>
<inertial>
<origin rpy="0 0 1.57075"/>
<mass value="0.01"/>
<inertia ixx="5E-6" ixy="0" ixz="0" iyy="5E-6" iyz="0" izz="5E-6"/>
</inertial>
</link>
<joint name="base_to_left_hinge" type="revolute">
<parent link="base_link"/>
<child link="left_hinge"/>
<axis xyz="0 0 1"/>
<origin xyz="0.2 0.0 0"/>
<limit effort="100" lower="-0.5" upper="0.5" velocity="100"/>
</joint>
<!-- Right Front Wheel -->
<link name="right_front_wheel">
<visual>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="-1.57075 -1.57075 0"/>
<material name="black"/>
</visual>
<collision>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="-1.57075 -1.57075 0"/>
</collision>
<inertial>
<origin rpy="-1.57075 -1.57075 0"/>
<mass value="0.3"/>
<inertia ixx="0.4" ixy="0" ixz="0" iyy="0.4" iyz="0.0" izz="0.2"/>
</inertial>
</link>
<joint name="right_hinge_to_right_front_wheel" type="continuous">
<parent link="right_hinge"/>
<child link="right_front_wheel"/>
<axis xyz="0 1 0"/>
<origin xyz="0 -0.2 0"/>
</joint>
<!-- Right Front Wheel - Hinge -->
<link name="right_hinge">
<visual>
<geometry>
<box size="0.20 0.02 0.02"/>
</geometry>
<origin xyz="0 -0.1 0 " rpy="0 0 -1.57075"/>
<material name="black"/>
</visual>
<inertial>
<origin rpy="0 0 -1.57075"/>
<mass value="0.01"/>
<inertia ixx="5E-6" ixy="0" ixz="0" iyy="5E-6" iyz="0" izz="5E-6"/>
</inertial>
</link>
<joint name="base_to_right_hinge" type="revolute">
<parent link="base_link"/>
<child link="right_hinge"/>
<axis xyz="0 0 1"/>
<origin xyz="0.2 0 0"/>
<limit effort="100" lower="-0.5" upper="0.5" velocity="100"/>
</joint>
<!-- Left Back Wheel -->
<link name="left_back_wheel">
<visual>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="1.57075 1.57075 0"/>
<material name="black"/>
</visual>
<collision>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="1.57075 1.57075 0"/>
</collision>
<inertial>
<origin rpy="1.57075 1.57075 0"/>
<mass value="0.3"/>
<inertia ixx="0.4" ixy="0" ixz="0" iyy="0.4" iyz="0.0" izz="0.2"/>
</inertial>
</link>
<joint name="base_to_left_back_wheel" type="continuous">
<parent link="base_link"/>
<child link="left_back_wheel"/>
<axis xyz="0 1 0"/>
<origin xyz="-0.2 0.175 0"/>
</joint>
<!-- Right Back Wheel -->
<link name="right_back_wheel">
<visual>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="-1.57075 -1.57075 0"/>
<material name="black"/>
</visual>
<collision>
<geometry>
<cylinder length="0.05" radius="0.1"/>
</geometry>
<origin rpy="-1.57075 -1.57075 0"/>
</collision>
<inertial>
<origin rpy="-1.57075 -1.57075 0"/>
<mass value="0.3"/>
<inertia ixx="0.4" ixy="0" ixz="0" iyy="0.4" iyz="0.0" izz="0.2"/>
</inertial>
</link>
<joint name="base_to_right_back_wheel" type="continuous">
<parent link="base_link"/>
<child link="right_back_wheel"/>
<axis xyz="0 1 0"/>
<origin xyz="-0.2 -0.175 0"/>
</joint>
</robot>