From 583de40ebb911f203cb4b4fac774f13a058bce28 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Wed, 18 Nov 2020 18:35:48 -0800 Subject: [PATCH 1/2] Make the tunnels example world more interesting Signed-off-by: Louise Poubel --- examples/worlds/tunnel.sdf | 764 ++++++++++++++++++++++++++++++++++++- 1 file changed, 752 insertions(+), 12 deletions(-) diff --git a/examples/worlds/tunnel.sdf b/examples/worlds/tunnel.sdf index 484c80ea67..b44805625a 100644 --- a/examples/worlds/tunnel.sdf +++ b/examples/worlds/tunnel.sdf @@ -1,6 +1,11 @@ @@ -16,10 +21,149 @@ false + + + + + + 3D View + false + docked + + + ogre2 + scene + 0.4 0.4 0.4 + 0.8 0.8 0.8 + -6 0 6 0 0.5 0 + + + + + + World control + false + false + 72 + 121 + 1 + + floating + + + + + + + true + true + true + + + + + + + World stats + false + false + 110 + 290 + 1 + + floating + + + + + + + true + true + true + true + + + + + + docked_collapsed + + + + + + + docked_collapsed + + + + + + Vehicle camera + docked + + camera + false + + + + + + Transform control + + + + + false + 230 + 50 + floating + false + #666666 + + + + + + + + + + + false + 200 + 50 + floating + false + #666666 + + + + + + + + + + false + 5 + 5 + floating + false + + + + + + ogre2 + @@ -33,17 +177,36 @@ true BaseStation - 0 0 0 0 0 0 + 0 0 -0.005 0 0 0 https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/subt_tunnel_staging_area - - artifact_origin - 2 4 0.5 0 0 0 - https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Fiducial + 9.23 2.18 0 0 0 -1.226 + + https://fuel.ignitionrobotics.org/1.0/chapulina/models/Extinguisher PBR + + + 0 0 5 0 0 0 + + 6 + 0.2 + 0.1 + 0.0025 + + 0.8 0.8 0.5 1 + 0.8 0.8 0.5 1 + + 1 + 1.1 + 1 + + 0 0 -1 + 1 + + tile_0 @@ -896,16 +1059,593 @@ https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Tunnel Tile 2 280.000000 -240.000000 -10.000000 0 0 3.141593 - - - x1 - https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/X1 UGV - 0 0 .2 0 0 0 - + + + + 0.002225 0.033355 0.022792 0 -0 0 + 111.0015 + + 4.49753 + 0.00199937 + -0.00152659 + 2.46329 + -0.424901 + 5.57714 + + + + 0.25 0 0.0480 0 0 0 + + + 0.6 0.55 0.428 + + + + + 0.38 0 0.4 0 0 0 + + + 0.28 0.28 0.4 + + + + + 0 0 0 0 1.5707 0 + + + 0.5 + 0.05 + + + + + 0.180 0 .24 0 0 -1.5707963267948966 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/meshes/r2.dae + + BodyFront +
true
+
+
+
+ + 1.0 1.0 1.0 + 1.0 1.0 1.0 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Albedo.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Metalness.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Roughness.png + + + +
+ + 0.49 0 0.45 1.5707963267948966 1.5707963267948966 -1.5707963267948966 + + 50 + 0 + 0.1 + 0.0025 + + 0.8 0.8 0.5 1 + 0.8 0.8 0.5 1 + + 1 + 1.1 + 1 + + 0 -1 0 + 1 + + + 0.55 0 0.33 0 0 0 + + 1.047 + + 320 + 240 + + + 0.1 + 100 + + + 1 + 30 + true + camera + + + + -0.047625 0 -0.0254 1.5707963267948966 0 0 + + -0.191018 -0.006403 -0 0 -0 0 + 42.8393 + + 0.848992 + 0.00301842 + 5.21788e-06 + 1.03049 + 1.2171e-07 + 0.43679 + + + + -0.2 0.072 0 0 0 0 + + + 0.42 0.43 0.56 + + + + + -0.70 0.2855 0 -0.005 0 0 + + + 0.17 0.01 0.5 + + + + + -0.35 0.2855 -0.005 -0.005 0 0 + + + 0.678 0.01 0.69 + + + + + -0.428 0.068 0 -1.5707963267948966 -1.5707963267948966 0 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/meshes/r2.dae + + BodyRear +
true
+
+
+
+ + 1.0 1.0 1.0 + 1.0 1.0 1.0 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Albedo.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Metalness.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Roughness.png + + + +
+ + + Rear_Rocker_Link + base_link + + -1 0 0 + + -0.5236 + 0.5236 + + + 10 + 0.1 + 0.1 + 100 + + 0 + + + + 0.33421 0.363 -0.091538 -0.013747 -0 -1.5707963267948966 + + 0.007124 -1.6e-05 4e-06 0 -0 0 + 11.5398 + + 0.127932 + 6.41777e-06 + 2.40271e-06 + 0.0695645 + 1.35439e-09 + 0.0695643 + + + + 0 0 0 3.1415926535897931 1.5707963267948966 3.1415926535897931 + + + 0.1125 + 0.31 + + + + + + 0.5 + 1 + 0 0 1 + 0.0000235 + 0 + 10 + 0.1 + + + + + 1e+07 + 0.0001 + + + + + + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/meshes/r2.dae + + WheelFL +
true
+
+
+
+ + 1.0 1.0 1.0 + 1.0 1.0 1.0 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Albedo.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Metalness.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Roughness.png + + + +
+ + + left_front_wheel_link + base_link + + -1 0 0 + + -1e+16 + 1e+16 + + + 10 + 0.1 + 0 + 0 + + 0 + + + + -0.334625 0.363 -0.083399 -0.014389 0.000148 -1.5707963267948966 + + 0.007124 -1.6e-05 4e-06 0 -0 0 + 11.5398 + + 0.127932 + 6.41777e-06 + 2.40271e-06 + 0.0695645 + 1.35439e-09 + 0.0695643 + + + + 0 0 0 3.1415926535897931 1.5707963267948966 3.1415926535897931 + + + 0.1125 + 0.31 + + + + + + 0.5 + 1 + 0 0 1 + 0.0000235 + 0 + 10 + 0.1 + + + + + 1e+07 + 0.0001 + + + + + + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/meshes/r2.dae + + WheelBL +
true
+
+
+
+ + 1.0 1.0 1.0 + 1.0 1.0 1.0 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Albedo.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Metalness.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Roughness.png + + + +
+ + + left_rear_wheel_link + Rear_Rocker_Link + + -1 0 0 + + -1e+16 + 1e+16 + + + 10 + 0.1 + 0 + 0 + + 0 + + + + 0.33421 -0.363 -0.091538 -0.013747 -0 1.5707963267948966 + + 0.007124 -1.6e-05 4e-06 0 -0 0 + 11.5398 + + 0.127932 + 6.41777e-06 + 2.40271e-06 + 0.0695645 + 1.35439e-09 + 0.0695643 + + + + 0 0 0 3.1415926535897931 1.5707963267948966 3.1415926535897931 + + + 0.1125 + 0.31 + + + + + + 0.5 + 1 + 0 0 1 + 0.0000235 + 0 + 10 + 0.1 + + + + + 1e+07 + 0.0001 + + + + + + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/meshes/r2.dae + + WheelFR +
true
+
+
+
+ + 1.0 1.0 1.0 + 1.0 1.0 1.0 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Albedo.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Metalness.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Roughness.png + + + +
+ + + right_front_wheel_link + base_link + + 1 0 0 + + -1e+16 + 1e+16 + + + 10 + 0.1 + 0 + 0 + + 0 + + + + -0.334625 -0.363 -0.083401 -0.014389 -0.000148 1.5707963267948966 + + 0.007124 -1.6e-05 4e-06 0 -0 0 + 11.5398 + + 0.127932 + 6.41777e-06 + 2.40271e-06 + 0.0695645 + 1.35439e-09 + 0.0695643 + + + + 0 0 0 3.1415926535897931 1.5707963267948966 3.1415926535897931 + + + 0.1125 + 0.31 + + + + + + 0.5 + 1 + 0 0 1 + 0.0000235 + 0 + 10 + 0.1 + + + + + 1e+07 + 0.0001 + + + + + + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/meshes/r2.dae + + WheelBR +
true
+
+
+
+ + 1.0 1.0 1.0 + 1.0 1.0 1.0 + + + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Albedo.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Metalness.png + https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/EXPLORER_R2_SENSOR_CONFIG_2/3/files/materials/textures/R2_Roughness.png + + + +
+ + + right_rear_wheel_link + Rear_Rocker_Link + + 1 0 0 + + -1e+16 + 1e+16 + + + 10 + 0.1 + 0 + 0 + + 0 + + + + 0 0 0.38 0 0 0.0 + + + left_rear_wheel + left_front_wheel + right_rear_wheel + right_front_wheel + 1.25 + 0.3 + 1 + cmd_vel + + + + + + 87 + + + linear: {x: 2.0}, angular: {z: 0.0} + + + + + + + 88 + + + linear: {x: -2.0}, angular: {z: 0.0} + + + + + + + 68 + + + linear: {x: 0.0}, angular: {z: -0.5} + + + + + + + 65 + + + linear: {x: 0.0}, angular: {z: 0.5} + + + + + + + 83 + + + linear: {x: 0.0}, angular: {z: 0.0} + + + +
- x1 + vehicle 2 2 2 From b17d995d07efeb0d8eeb676743ed1c25ab61e07a Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Thu, 19 Nov 2020 15:30:11 -0800 Subject: [PATCH 2/2] Update staging area name Signed-off-by: Louise Poubel --- examples/worlds/tunnel.sdf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/worlds/tunnel.sdf b/examples/worlds/tunnel.sdf index b44805625a..796d77fd7b 100644 --- a/examples/worlds/tunnel.sdf +++ b/examples/worlds/tunnel.sdf @@ -173,10 +173,9 @@ name="ignition::gazebo::systems::SceneBroadcaster"> - true - BaseStation + staging_area 0 0 -0.005 0 0 0 https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/subt_tunnel_staging_area