blob: 764358720e612364c9780cdb5cae200a0db0fbc9 (
plain)
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
|
#VRML_SIM R2023b utf8
# Describe the functionality of your PROTO here.
PROTO three_omniwheel [
field SFVec3f translation 0 0 0.0694759
field SFRotation rotation 0 0 1 0
field SFBool supervisor FALSE
field SFString controller "omni_robot_test"
field SFString wheel_1 "wheel1"
field SFString wheel_2 "wheel2"
field SFString wheel_3 "wheel3"
field SFString enc_1 "pw1"
field SFString enc_2 "pw2"
field SFString enc_3 "pw3"
field SFString imu "IMU"
]
{
DEF OMNI_WHEELS Robot {
translation IS translation
rotation IS rotation
children [
GPS {
}
InertialUnit {
name IS imu
}
DEF SOLID1 Solid {
children [
DEF WHEEL1 HingeJoint {
jointParameters HingeJointParameters {
position 2.1643615637298633e-06
anchor -0.1 0 0
}
device [
RotationalMotor {
name IS wheel_2
maxVelocity 40
}
PositionSensor {
name IS enc_2
}
]
endPoint Solid {
translation -0.18800000000000022 0 0
rotation 1 0 0 2.1643135136802424e-06
children [
DEF sr1 HingeJoint {
jointParameters HingeJointParameters {
position 57.8185179862605
axis 0 1 0
anchor -0.02 0 0.05
}
endPoint Solid {
translation -0.02 0 0.05
rotation 0 -1 0 5.0133350855353624
children [
DEF r1 Pose {
rotation -1 0 0 1.5708
children [
DEF SMALL_WHEEL_SHAPE Shape {
appearance PBRAppearance {
baseColor 1 0.752941 0.796078
roughness 1
metalness 0
}
geometry Cylinder {
height 0.02
radius 0.01
}
}
]
}
]
name "sr1"
boundingObject USE r1
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr2 HingeJoint {
jointParameters HingeJointParameters {
position -72.87950575726012
axis 0 -0.707107 0.707107
anchor -0.02 0.03535 0.03535
}
endPoint Solid {
translation -0.02 0.03535 0.03535
rotation 0 -0.7071067811865475 0.7071067811865475 2.5187179288949184
children [
DEF r2 Pose {
rotation -1 0 0 2.27
children [
USE SMALL_WHEEL_SHAPE
]
}
]
name "sr2"
boundingObject USE r2
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr3 HingeJoint {
jointParameters HingeJointParameters {
position 254.08525159893895
axis 0 1 0
anchor -0.02 0 -0.05
}
endPoint Solid {
translation -0.02 0 -0.05
rotation 0 0.9999999999999999 0 2.757839311755494
children [
DEF r3 Pose {
rotation -1 0 0 1.5708
children [
USE SMALL_WHEEL_SHAPE
]
}
]
name "sr3"
boundingObject USE r3
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr4 HingeJoint {
jointParameters HingeJointParameters {
position -91.5154893085253
axis 0 -0.707107 0.707107
anchor -0.02 -0.03535 -0.03535
}
endPoint Solid {
translation -0.02 -0.03535 -0.03535
rotation 0 0.7071067811865476 -0.7071067811865476 3.550895008011093
children [
DEF r4 Pose {
rotation -1 0 0 2.27
children [
USE SMALL_WHEEL_SHAPE
]
}
]
name "sr4"
boundingObject USE r4
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr5 HingeJoint {
jointParameters HingeJointParameters {
position -57.77216958013899
axis 0 0 1
anchor -0.02 0.05 0
}
endPoint Solid {
translation -0.02 0.05 0
rotation 0 0 1 5.059683491656872
children [
DEF r5 Pose {
children [
USE SMALL_WHEEL_SHAPE
]
}
]
name "sr5"
boundingObject USE r5
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr6 HingeJoint {
jointParameters HingeJointParameters {
position 29.313352597901943
axis 0 0 1
anchor -0.02 -0.05 0
}
endPoint Solid {
translation -0.02 -0.05 0
rotation 0 0 1 4.180611369183597
children [
DEF r6 Pose {
children [
USE SMALL_WHEEL_SHAPE
]
}
]
name "sr6"
boundingObject USE r6
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr7 HingeJoint {
jointParameters HingeJointParameters {
position -30.271672667590778
axis 0 0.707107 0.707107
anchor -0.02 0.03535 -0.03535
}
endPoint Solid {
translation -0.02 0.03535 -0.03535
rotation 0 -0.7071067811865476 -0.7071067811865476 5.138931438872432
children [
DEF r7 Pose {
rotation -1 0 0 0.76
children [
USE SMALL_WHEEL_SHAPE
]
}
]
name "sr7"
boundingObject USE r7
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr8 HingeJoint {
jointParameters HingeJointParameters {
position 43.759922240170496
axis 0 0.707107 0.707107
anchor -0.02 -0.03535 0.03535
}
endPoint Solid {
translation -0.02 -0.03535 0.03535
rotation 0 0.7071067811865475 0.7071067811865475 6.060810397092978
children [
DEF r8 Pose {
rotation -1 0 0 0.76
children [
USE SMALL_WHEEL_SHAPE
]
}
]
name "sr8"
boundingObject USE r8
physics Physics {
density -1
mass 0.1
}
}
}
DEF WHEEL_TRANS Pose {
translation -0.02 0 0
rotation 0 -1 0 1.5708
children [
DEF WHEEL_SHAPE Shape {
appearance PBRAppearance {
baseColor 0.678431 0.847059 0.901961
roughness 1
metalness 0
}
geometry Cylinder {
height 0.02
radius 0.05
subdivision 20
}
}
]
}
]
boundingObject Pose {
translation -0.02 0 0
rotation 0 -1 0 1.5708
children [
DEF wheel1 Shape {
appearance PBRAppearance {
baseColor 0.8 0.8 0.8
transparency 0.12999999523162842
roughness 1
metalness 0
emissiveColor 0 1 0
}
geometry Cylinder {
height 0.02
radius 0.05
}
}
]
}
physics Physics {
}
}
}
]
name "wheel 1"
boundingObject DEF DUMMY Sphere {
radius 0.01
}
physics Physics {
}
}
DEF SOLID2 Solid {
rotation 0 0 1 2.09
children [
DEF WHEEL2 HingeJoint {
jointParameters HingeJointParameters {
position 2.147203700564652e-06
anchor -0.1 0 0
}
device [
RotationalMotor {
name IS wheel_3
maxVelocity 40
}
PositionSensor {
name IS enc_3
}
]
endPoint Solid {
translation -0.18800000000000022 0 0
rotation -1 0 0 0.0024036627866462442
children [
DEF sr1 HingeJoint {
jointParameters HingeJointParameters {
position 201.28591247298849
axis 0 1 0
anchor -0.02 0 0.05
}
endPoint Solid {
translation -0.02 0 0.05
rotation 0 1 0 0.22398264324171874
children [
USE r1
]
name "sr1"
boundingObject USE r1
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr2 HingeJoint {
jointParameters HingeJointParameters {
position -547.5899169781771
axis 0 -0.707107 0.707107
anchor -0.02 0.03535 0.03535
}
endPoint Solid {
translation -0.02 0.03535 0.03535
rotation 0 -0.7071067811865477 0.7071067811865477 5.330390053626466
children [
USE r2
]
name "sr2"
boundingObject USE r2
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr3 HingeJoint {
jointParameters HingeJointParameters {
position -206.92828017054742
axis 0 1 0
anchor -0.02 0 -0.05
}
endPoint Solid {
translation -0.02 0 -0.05
rotation 0 -1 0 5.866350340800657
children [
USE r3
]
name "sr3"
boundingObject USE r3
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr4 HingeJoint {
jointParameters HingeJointParameters {
position 420.37627206700927
axis 0 -0.707107 0.707107
anchor -0.02 -0.03535 -0.03535
}
endPoint Solid {
translation -0.02 -0.03535 -0.03535
rotation 0 -0.7071067811865476 0.7071067811865476 5.68604179315656
children [
USE r4
]
name "sr4"
boundingObject USE r4
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr5 HingeJoint {
jointParameters HingeJointParameters {
position -222.66482730239827
axis 0 0 1
anchor -0.02 0.05 0
}
endPoint Solid {
translation -0.02 0.05 0
rotation 0 0 1 3.529843756066848
children [
USE r5
]
name "sr5"
boundingObject USE r5
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr6 HingeJoint {
jointParameters HingeJointParameters {
position 512.1259858934077
axis 0 0 1
anchor -0.02 -0.05 0
}
endPoint Solid {
translation -0.02 -0.05 0
rotation 0 0 -1 3.0952092953184036
children [
USE r6
]
name "sr6"
boundingObject USE r6
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr7 HingeJoint {
jointParameters HingeJointParameters {
position -594.2001560064724
axis 0 0.707107 0.707107
anchor -0.02 0.03535 -0.03535
}
endPoint Solid {
translation -0.02 0.03535 -0.03535
rotation 0 -0.7071067811865476 -0.7071067811865476 3.580737131591283
children [
USE r7
]
name "sr7"
boundingObject USE r7
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr8 HingeJoint {
jointParameters HingeJointParameters {
position 368.1888428392369
axis 0 0.707107 0.707107
anchor -0.02 -0.03535 0.03535
}
endPoint Solid {
translation -0.02 -0.03535 0.03535
rotation 0 0.7071067811865475 0.7071067811865475 3.764095022820868
children [
USE r8
]
name "sr8"
boundingObject USE r8
physics Physics {
density -1
mass 0.1
}
}
}
USE WHEEL_TRANS
]
boundingObject Pose {
translation -0.02 0 0
rotation 0 -1 0 1.5708
children [
DEF wheel1 Shape {
appearance PBRAppearance {
baseColor 0.8 0.8 0.8
transparency 0.12999999523162842
roughness 1
metalness 0
emissiveColor 0 1 0
}
geometry Cylinder {
height 0.02
radius 0.05
}
}
]
}
physics Physics {
}
}
}
]
name "wheel 2"
boundingObject USE DUMMY
physics Physics {
}
}
DEF SOLID3 Solid {
rotation 0 0 1 4.18
children [
DEF WHEEL3 HingeJoint {
jointParameters HingeJointParameters {
position 2.1651704619267438e-06
anchor -0.1 0 0
}
device [
PositionSensor {
name IS enc_1
}
RotationalMotor {
name IS wheel_1
maxVelocity 40
}
]
endPoint Solid {
translation -0.188 0 0
rotation -1 0 0 0.003907274705380449
children [
DEF sr1 HingeJoint {
jointParameters HingeJointParameters {
position 108.70539791483581
axis 0 1 0
anchor -0.02 0 0.05
}
endPoint Solid {
translation -0.02 0 0.05
rotation 0 -1 0 4.391937614396743
children [
USE r1
]
name "sr1"
boundingObject USE r1
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr2 HingeJoint {
jointParameters HingeJointParameters {
position -411.60744599975556
axis 0 -0.707107 0.707107
anchor -0.02 0.03535 0.03535
}
endPoint Solid {
translation -0.02 0.03535 0.03535
rotation 0 -0.7071067811865476 0.7071067811865476 3.0827842740971523
children [
USE r2
]
name "sr2"
boundingObject USE r2
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr3 HingeJoint {
jointParameters HingeJointParameters {
position -175.16445331775438
axis 0 1 0
anchor -0.02 0 -0.05
}
endPoint Solid {
translation -0.02 0 -0.05
rotation 0 1 0 0.7647352832740422
children [
USE r3
]
name "sr3"
boundingObject USE r3
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr4 HingeJoint {
jointParameters HingeJointParameters {
position 604.8094183337004
axis 0 -0.707107 0.707107
anchor -0.02 -0.03535 -0.03535
}
endPoint Solid {
translation -0.02 -0.03535 -0.03535
rotation 0 -0.7071067811865476 0.7071067811865476 1.6236288444600624
children [
USE r4
]
name "sr4"
boundingObject USE r4
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr5 HingeJoint {
jointParameters HingeJointParameters {
position -72.1547326648585
axis 0 0 1
anchor -0.02 0.05 0
}
endPoint Solid {
translation -0.02 0.05 0
rotation 0 0 0.9999999999999999 3.243491021296538
children [
USE r5
]
name "sr5"
boundingObject USE r5
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr6 HingeJoint {
jointParameters HingeJointParameters {
position 135.00475088700045
axis 0 0 1
anchor -0.02 -0.05 0
}
endPoint Solid {
translation -0.02 -0.05 0
rotation 0 0 -1 3.2253258709504475
children [
USE r6
]
name "sr6"
boundingObject USE r6
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr7 HingeJoint {
jointParameters HingeJointParameters {
position -236.81899650662353
axis 0 0.707107 0.707107
anchor -0.02 0.03535 -0.03535
}
endPoint Solid {
translation -0.02 0.03535 -0.03535
rotation 0 0.7071067811865476 0.7071067811865476 1.9420451662007516
children [
USE r7
]
name "sr7"
boundingObject USE r7
physics Physics {
density -1
mass 0.1
}
}
}
DEF sr8 HingeJoint {
jointParameters HingeJointParameters {
position 203.55589624475382
axis 0 0.707107 0.707107
anchor -0.02 -0.03535 0.03535
}
endPoint Solid {
translation -0.02 -0.03535 0.03535
rotation 0 0.7071067811865476 0.7071067811865476 2.4939664150070575
children [
USE r8
]
name "sr8"
boundingObject USE r8
physics Physics {
density -1
mass 0.1
}
}
}
USE WHEEL_TRANS
]
boundingObject Pose {
translation -0.02 0 0
rotation 0 -1 0 1.5708
children [
DEF wheel1 Shape {
appearance PBRAppearance {
baseColor 0.8 0.8 0.8
transparency 0.12999999523162842
roughness 1
metalness 0
emissiveColor 0 1 0
}
geometry Cylinder {
height 0.02
radius 0.05
}
}
]
}
physics Physics {
}
}
}
]
name "wheel 3"
boundingObject USE DUMMY
physics Physics {
}
}
Camera {
translation 0 0 2
fieldOfView 0.5
width 640
height 480
exposure 1.0
projection "planar"
}
DEF BODY_TRANS Pose {
translation 0 0 0.03
children [
Shape {
appearance PBRAppearance {
baseColor 0.564706 0.933333 0.564706
roughness 1
metalness 0
}
geometry Cylinder {
height 0.15
radius 0.18
subdivision 18
}
}
]
}
]
boundingObject USE BODY_TRANS
physics Physics {
}
recognitionColors [
0 0 0
]
controller IS controller
supervisor IS supervisor
}
}
|