2021-08-15 10:17:24 -03:00
|
|
|
#VRML_SIM R2021b utf8
|
2019-08-14 09:49:08 -03:00
|
|
|
WorldInfo {
|
2021-08-15 10:17:24 -03:00
|
|
|
title "ArduPilot Webots Simulator"
|
|
|
|
gravity 9.80665
|
2019-08-20 15:35:35 -03:00
|
|
|
physics "sitl_physics_env"
|
2020-05-14 03:26:46 -03:00
|
|
|
basicTimeStep 1
|
2019-08-14 09:49:08 -03:00
|
|
|
FPS 15
|
|
|
|
optimalThreadCount 4
|
2021-08-15 10:17:24 -03:00
|
|
|
coordinateSystem "NUE"
|
2019-08-14 09:49:08 -03:00
|
|
|
randomSeed 52
|
|
|
|
}
|
2019-08-20 15:35:35 -03:00
|
|
|
Viewpoint {
|
2021-11-14 11:49:25 -04:00
|
|
|
orientation -0.8111585917362343 -0.5680085466888879 -0.13924090613345938 0.5869628064711815
|
|
|
|
position -3.6530619136063534 7.264658421908483 10.832677706150493
|
2019-08-20 15:35:35 -03:00
|
|
|
follow "quad_plus_sitl"
|
2020-05-14 03:26:46 -03:00
|
|
|
followType "Mounted Shot"
|
2019-08-20 15:35:35 -03:00
|
|
|
}
|
2019-08-14 09:49:08 -03:00
|
|
|
DogHouse {
|
|
|
|
translation 34.82 0.76 -24.56
|
|
|
|
name "dog house(1)"
|
|
|
|
}
|
|
|
|
DogHouse {
|
|
|
|
translation 161.819 0.75 -152.174
|
|
|
|
name "dog house(2)"
|
|
|
|
}
|
|
|
|
DogHouse {
|
|
|
|
translation 185.42 0.77 48.97
|
|
|
|
name "dog house(5)"
|
|
|
|
}
|
|
|
|
Background {
|
|
|
|
skyColor [
|
|
|
|
0.15 0.5 1
|
|
|
|
]
|
|
|
|
}
|
|
|
|
Solid {
|
|
|
|
translation 36.93 0.77 -37.93
|
|
|
|
children [
|
|
|
|
HouseWithGarage {
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
Solid {
|
|
|
|
translation 192.76999999999998 0 64.98
|
|
|
|
rotation 0 1 0 -1.5707963071795863
|
|
|
|
children [
|
|
|
|
HouseWithGarage {
|
|
|
|
}
|
|
|
|
]
|
|
|
|
name "solid(1)"
|
|
|
|
}
|
2019-08-20 15:35:35 -03:00
|
|
|
DEF DEF_VEHICLE Robot {
|
2021-11-14 11:49:25 -04:00
|
|
|
translation -0.027601000000000007 0.6742873870366666 0.005030999999999996
|
|
|
|
rotation 0.9925492643529304 -0.0818450865332256 -0.09026261486809202 1.0340410161155028e-17
|
2019-08-14 09:49:08 -03:00
|
|
|
children [
|
2019-08-20 15:35:35 -03:00
|
|
|
Emitter {
|
|
|
|
name "emitter_plugin"
|
|
|
|
description "commuicates with physics plugin"
|
|
|
|
}
|
2019-08-14 09:49:08 -03:00
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Box {
|
|
|
|
size 0.1 0.1 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Camera {
|
|
|
|
translation 0 0.12 0
|
|
|
|
rotation 0.12942795977353752 0.9831056944488316 0.12942795977353752 -1.5878343071795866
|
|
|
|
name "camera1"
|
|
|
|
width 128
|
|
|
|
height 128
|
|
|
|
}
|
|
|
|
Compass {
|
|
|
|
name "compass1"
|
|
|
|
}
|
|
|
|
GPS {
|
|
|
|
name "gps1"
|
2021-08-15 10:17:24 -03:00
|
|
|
type "laser"
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
Accelerometer {
|
|
|
|
name "accelerometer1"
|
|
|
|
}
|
|
|
|
Gyro {
|
|
|
|
name "gyro1"
|
|
|
|
}
|
|
|
|
InertialUnit {
|
|
|
|
name "inertial_unit"
|
|
|
|
}
|
|
|
|
Transform {
|
2021-11-14 11:49:25 -04:00
|
|
|
translation -0.2 0 0
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation -0.5773502691896258 0.5773502691896258 0.5773502691896258 2.094395
|
|
|
|
children [
|
|
|
|
Solid {
|
2021-08-15 10:17:24 -03:00
|
|
|
translation 0 0.2 0
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation 1 0 0 1.5707959999999999
|
|
|
|
children [
|
|
|
|
Propeller {
|
|
|
|
shaftAxis 0 -1 0
|
2021-08-15 10:17:24 -03:00
|
|
|
thrustConstants -1.01 0
|
2019-08-14 09:49:08 -03:00
|
|
|
device RotationalMotor {
|
|
|
|
name "motor3"
|
|
|
|
controlPID 10.001 0 0
|
2021-08-15 10:17:24 -03:00
|
|
|
maxVelocity 5000
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
fastHelix Solid {
|
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
diffuseColor 1 0 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
slowHelix Solid {
|
|
|
|
rotation 0 1 0 1.1667874781290464
|
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
2021-08-15 10:17:24 -03:00
|
|
|
diffuseColor 0.960784 0.47451 0
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
physics Physics {
|
2021-08-15 10:17:24 -03:00
|
|
|
mass 0.05
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry DEF DEF_ARM Cylinder {
|
|
|
|
height 0.1
|
|
|
|
radius 0.01
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
Transform {
|
2021-11-14 11:49:25 -04:00
|
|
|
translation 0 0 0.2
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation 0 0.7071067811865476 0.7071067811865476 -3.1415923071795864
|
|
|
|
children [
|
|
|
|
Solid {
|
2021-08-15 10:17:24 -03:00
|
|
|
translation 0 0.2 0
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation 1 0 0 1.5707959999999999
|
|
|
|
children [
|
|
|
|
Propeller {
|
|
|
|
shaftAxis 0 1 0
|
2021-08-15 10:17:24 -03:00
|
|
|
thrustConstants 1.01 0
|
2019-08-14 09:49:08 -03:00
|
|
|
device RotationalMotor {
|
|
|
|
name "motor2"
|
|
|
|
controlPID 10.001 0 0
|
2021-08-15 10:17:24 -03:00
|
|
|
maxVelocity 5000
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
fastHelix Solid {
|
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
diffuseColor 1 0 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
slowHelix Solid {
|
2021-08-15 10:17:24 -03:00
|
|
|
rotation 0 1 0 1.1667874781290464
|
2019-08-14 09:49:08 -03:00
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
2021-08-15 10:17:24 -03:00
|
|
|
diffuseColor 0.960784 0.47451 0
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
name "solid(2)"
|
|
|
|
physics Physics {
|
2021-08-15 10:17:24 -03:00
|
|
|
mass 0.05
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry USE DEF_ARM
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
Transform {
|
2021-11-14 11:49:25 -04:00
|
|
|
translation 0.2 0 0
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation 0.5773502691896258 0.5773502691896258 0.5773502691896258 -2.094395307179586
|
|
|
|
children [
|
|
|
|
Solid {
|
2021-08-15 10:17:24 -03:00
|
|
|
translation 0 0.2 0
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation 1 0 0 1.5707959999999999
|
|
|
|
children [
|
|
|
|
Propeller {
|
|
|
|
shaftAxis 0 -1 0
|
2021-08-15 10:17:24 -03:00
|
|
|
thrustConstants -1.01 0
|
2019-08-14 09:49:08 -03:00
|
|
|
device RotationalMotor {
|
|
|
|
name "motor1"
|
|
|
|
controlPID 10.001 0 0
|
2021-08-15 10:17:24 -03:00
|
|
|
maxVelocity 5000
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
fastHelix Solid {
|
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
diffuseColor 1 0 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
slowHelix Solid {
|
2021-08-15 10:17:24 -03:00
|
|
|
rotation 0 1 0 1.1667874781290464
|
2019-08-14 09:49:08 -03:00
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
2021-08-15 10:17:24 -03:00
|
|
|
diffuseColor 0.960784 0.47451 0
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
name "solid(1)"
|
|
|
|
physics Physics {
|
2021-08-15 10:17:24 -03:00
|
|
|
mass 0.05
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
diffuseColor 1 0.09999999999999999 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry USE DEF_ARM
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
Transform {
|
2021-11-14 11:49:25 -04:00
|
|
|
translation 0 0 -0.2
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation 1 0 0 -1.5707963071795863
|
|
|
|
children [
|
|
|
|
Solid {
|
2021-08-15 10:17:24 -03:00
|
|
|
translation 0 0.2 0
|
2019-08-14 09:49:08 -03:00
|
|
|
rotation 1 0 0 1.5707959999999999
|
|
|
|
children [
|
|
|
|
Propeller {
|
|
|
|
shaftAxis 0 1 0
|
2021-08-15 10:17:24 -03:00
|
|
|
thrustConstants 1.01 0
|
2019-08-14 09:49:08 -03:00
|
|
|
device RotationalMotor {
|
|
|
|
name "motor4"
|
|
|
|
controlPID 10.001 0 0
|
2021-08-15 10:17:24 -03:00
|
|
|
maxVelocity 5000
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
fastHelix Solid {
|
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
diffuseColor 1 0 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
slowHelix Solid {
|
2021-08-15 10:17:24 -03:00
|
|
|
rotation 0 1 0 1.1667874781290464
|
2019-08-14 09:49:08 -03:00
|
|
|
children [
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
2021-08-15 10:17:24 -03:00
|
|
|
diffuseColor 0.960784 0.47451 0
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry Cylinder {
|
|
|
|
height 0.002
|
2021-08-15 10:17:24 -03:00
|
|
|
radius 0.1
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
name "solid(3)"
|
|
|
|
physics Physics {
|
2021-08-15 10:17:24 -03:00
|
|
|
mass 0.05
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
Shape {
|
|
|
|
appearance Appearance {
|
|
|
|
material Material {
|
|
|
|
diffuseColor 0.7999999999999999 0.7999999999999999 0.7999999999999999
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geometry USE DEF_ARM
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
name "quad_plus_sitl"
|
|
|
|
boundingObject Box {
|
|
|
|
size 0.1 0.1 0.1
|
|
|
|
}
|
|
|
|
physics Physics {
|
|
|
|
density -1
|
2021-08-15 10:17:24 -03:00
|
|
|
mass 1
|
2019-08-14 09:49:08 -03:00
|
|
|
centerOfMass [
|
|
|
|
0 0 0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
rotationStep 0.261799
|
|
|
|
controller "ardupilot_SITL_QUAD"
|
2021-08-15 10:17:24 -03:00
|
|
|
controllerArgs [
|
|
|
|
"-p"
|
|
|
|
"5599"
|
|
|
|
"-df"
|
|
|
|
"0.01"
|
|
|
|
]
|
2020-05-14 03:26:46 -03:00
|
|
|
customData "1"
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
DirectionalLight {
|
|
|
|
direction 0 -1 0
|
|
|
|
}
|
|
|
|
UnevenTerrain {
|
|
|
|
size 500 1 500
|
|
|
|
}
|
|
|
|
HouseWithGarage {
|
|
|
|
translation 174.25 1.88 -157.5
|
|
|
|
rotation 0 1 0 -1.5707963071795863
|
|
|
|
}
|
|
|
|
AdvertisingBoard {
|
|
|
|
translation 0 2.35 -5.71
|
2021-08-15 10:17:24 -03:00
|
|
|
frontTexture [
|
|
|
|
"https://ardupilot.org/application/files/6315/7552/1962/ArduPilot-Motto.png"
|
|
|
|
]
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|
|
|
|
AdvertisingBoard {
|
|
|
|
translation 84.03999999999999 2.35 -5.81
|
|
|
|
rotation 0 1 0 -1.5707963071795863
|
|
|
|
name "advertising board(1)"
|
2021-08-15 10:17:24 -03:00
|
|
|
frontTexture [
|
|
|
|
"https://ardupilot.org/application/files/6315/7552/1962/ArduPilot-Motto.png"
|
|
|
|
]
|
2019-08-14 09:49:08 -03:00
|
|
|
}
|