Skip to content

Commit 5bf7cfb

Browse files
Straighten robot and minor estetic changes (#33)
* Gps navigation Tutorial update Signed-off-by: Stevedan Omodolor <[email protected]> * revert back Signed-off-by: Stevedan Omodolor <[email protected]> * use bullet Signed-off-by: Stevedan Omodolor <[email protected]> * remove friction Signed-off-by: Stevedan Omodolor <[email protected]> * cleanup Signed-off-by: Stevedan Omodolor <[email protected]> * remove unwanted pose Signed-off-by: Stevedan Omodolor <[email protected]> --------- Signed-off-by: Stevedan Omodolor <[email protected]>
1 parent 05c76c5 commit 5bf7cfb

File tree

1 file changed

+43
-21
lines changed

1 file changed

+43
-21
lines changed

nav2_minimal_tb3_sim/urdf/gz_waffle_gps.sdf.xacro

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
</mesh>
157157
</geometry>
158158
<material>
159-
<diffuse>1 1 1</diffuse>
159+
<diffuse>0.5 0.5 0.5</diffuse>
160160
</material>
161161
</visual>
162162

@@ -215,23 +215,23 @@
215215
</geometry>
216216
<surface>
217217
<friction>
218-
<ode>
218+
<bullet>
219219
<mu>1</mu>
220220
<mu2>1</mu2>
221221
<slip1>0.035</slip1>
222222
<slip2>0</slip2>
223223
<fdir1>0 0 1</fdir1>
224-
</ode>
224+
</bullet>
225225
</friction>
226226
<contact>
227-
<ode>
227+
<bullet>
228228
<soft_cfm>0</soft_cfm>
229229
<soft_erp>0.2</soft_erp>
230230
<kp>1e+5</kp>
231231
<kd>1</kd>
232232
<max_vel>0.01</max_vel>
233233
<min_depth>0.001</min_depth>
234-
</ode>
234+
</bullet>
235235
</contact>
236236
</surface>
237237
</collision>
@@ -245,7 +245,7 @@
245245
</mesh>
246246
</geometry>
247247
<material>
248-
<diffuse>1 1 1</diffuse>
248+
<diffuse>0.5 0.5 0.5</diffuse>
249249
</material>
250250
</visual>
251251
</link>
@@ -275,23 +275,23 @@
275275
</geometry>
276276
<surface>
277277
<friction>
278-
<ode>
278+
<bullet>
279279
<mu>1</mu>
280280
<mu2>1</mu2>
281281
<slip1>0.035</slip1>
282282
<slip2>0</slip2>
283283
<fdir1>0 0 1</fdir1>
284-
</ode>
284+
</bullet>
285285
</friction>
286286
<contact>
287-
<ode>
287+
<bullet>
288288
<soft_cfm>0</soft_cfm>
289289
<soft_erp>0.2</soft_erp>
290290
<kp>1e+5</kp>
291291
<kd>1</kd>
292292
<max_vel>0.01</max_vel>
293293
<min_depth>0.001</min_depth>
294-
</ode>
294+
</bullet>
295295
</contact>
296296
</surface>
297297
</collision>
@@ -305,13 +305,13 @@
305305
</mesh>
306306
</geometry>
307307
<material>
308-
<diffuse>1 1 1</diffuse>
308+
<diffuse>0.5 0.5 0.5</diffuse>
309309
</material>
310310
</visual>
311311
</link>
312312

313313
<link name='caster_back_right_link'>
314-
<pose>-0.177 -0.064 -0.004 0 0 0</pose>
314+
<pose>-0.177 -0.064 -0.004 -1.57 0 0</pose>
315315
<inertial>
316316
<mass>0.001</mass>
317317
<inertia>
@@ -323,29 +323,41 @@
323323
<izz>0.00001</izz>
324324
</inertia>
325325
</inertial>
326-
<collision name='collision'>
326+
<collision name='caster_back_right_collision'>
327327
<geometry>
328328
<sphere>
329-
<radius>0.005000</radius>
329+
<radius>0.0060000</radius>
330330
</sphere>
331331
</geometry>
332332
<surface>
333333
<contact>
334-
<ode>
334+
<bullet>
335335
<soft_cfm>0</soft_cfm>
336336
<soft_erp>0.2</soft_erp>
337337
<kp>1e+5</kp>
338338
<kd>1</kd>
339339
<max_vel>0.01</max_vel>
340340
<min_depth>0.001</min_depth>
341-
</ode>
341+
</bullet>
342342
</contact>
343343
</surface>
344344
</collision>
345+
346+
<visual name="sphere_visual">
347+
<geometry>
348+
<sphere>
349+
<radius>0.0060000</radius>
350+
</sphere>
351+
</geometry>
352+
<material>
353+
<diffuse>0.5 0.5 0.5</diffuse>
354+
</material>
355+
</visual>
345356
</link>
346357

347358
<link name='caster_back_left_link'>
348-
<pose>-0.177 0.064 -0.004 0 0 0</pose>
359+
<pose>-0.177 0.064 -0.004 -1.57 0 0</pose>
360+
349361
<inertial>
350362
<mass>0.001</mass>
351363
<inertia>
@@ -357,25 +369,35 @@
357369
<izz>0.00001</izz>
358370
</inertia>
359371
</inertial>
360-
<collision name='collision'>
372+
<collision name='caster_back_left_collision'>
361373
<geometry>
362374
<sphere>
363-
<radius>0.005000</radius>
375+
<radius>0.0060000</radius>
364376
</sphere>
365377
</geometry>
366378
<surface>
367379
<contact>
368-
<ode>
380+
<bullet>
369381
<soft_cfm>0</soft_cfm>
370382
<soft_erp>0.2</soft_erp>
371383
<kp>1e+5</kp>
372384
<kd>1</kd>
373385
<max_vel>0.01</max_vel>
374386
<min_depth>0.001</min_depth>
375-
</ode>
387+
</bullet>
376388
</contact>
377389
</surface>
378390
</collision>
391+
<visual name="sphere_visual">
392+
<geometry>
393+
<sphere>
394+
<radius>0.0060000</radius>
395+
</sphere>
396+
</geometry>
397+
<material>
398+
<diffuse>0.5 0.5 0.5</diffuse>
399+
</material>
400+
</visual>
379401
</link>
380402

381403
<link name="camera_link">

0 commit comments

Comments
 (0)