From 926ab8dcd22e046da36c813bd92873d54c7442d6 Mon Sep 17 00:00:00 2001 From: stevendes Date: Tue, 15 Oct 2019 12:15:16 -0300 Subject: [PATCH] Adding new world Added world and models --- .../materials/scripts/textures.material | 14 + .../materials/textures/apriltag1.png | Bin 0 -> 99 bytes .../Camera_world/Apriltag1/model.config | 11 + .../models/Camera_world/Apriltag1/model.sdf | 34 ++ .../materials/scripts/textures.material | 14 + .../materials/textures/apriltag2.png | Bin 0 -> 97 bytes .../Camera_world/Apriltag2/model.config | 11 + .../models/Camera_world/Apriltag2/model.sdf | 34 ++ .../materials/scripts/textures.material | 14 + .../materials/textures/apriltag3.png | Bin 0 -> 99 bytes .../Camera_world/Apriltag3/model.config | 11 + .../models/Camera_world/Apriltag3/model.sdf | 34 ++ .../models/Camera_world/Walls/model.config | 11 + ca_gazebo/models/Camera_world/Walls/model.sdf | 330 ++++++++++++++++ ca_gazebo/worlds/camera_world.world | 356 ++++++++++++++++++ 15 files changed, 874 insertions(+) create mode 100644 ca_gazebo/models/Camera_world/Apriltag1/materials/scripts/textures.material create mode 100644 ca_gazebo/models/Camera_world/Apriltag1/materials/textures/apriltag1.png create mode 100644 ca_gazebo/models/Camera_world/Apriltag1/model.config create mode 100644 ca_gazebo/models/Camera_world/Apriltag1/model.sdf create mode 100644 ca_gazebo/models/Camera_world/Apriltag2/materials/scripts/textures.material create mode 100644 ca_gazebo/models/Camera_world/Apriltag2/materials/textures/apriltag2.png create mode 100644 ca_gazebo/models/Camera_world/Apriltag2/model.config create mode 100644 ca_gazebo/models/Camera_world/Apriltag2/model.sdf create mode 100644 ca_gazebo/models/Camera_world/Apriltag3/materials/scripts/textures.material create mode 100644 ca_gazebo/models/Camera_world/Apriltag3/materials/textures/apriltag3.png create mode 100644 ca_gazebo/models/Camera_world/Apriltag3/model.config create mode 100644 ca_gazebo/models/Camera_world/Apriltag3/model.sdf create mode 100644 ca_gazebo/models/Camera_world/Walls/model.config create mode 100644 ca_gazebo/models/Camera_world/Walls/model.sdf create mode 100644 ca_gazebo/worlds/camera_world.world diff --git a/ca_gazebo/models/Camera_world/Apriltag1/materials/scripts/textures.material b/ca_gazebo/models/Camera_world/Apriltag1/materials/scripts/textures.material new file mode 100644 index 000000000..53df6acc1 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag1/materials/scripts/textures.material @@ -0,0 +1,14 @@ +material Apriltag1 +{ + technique + { + pass + { + texture_unit + { + texture apriltag1.png + scale 1 1 + } + } + } +} \ No newline at end of file diff --git a/ca_gazebo/models/Camera_world/Apriltag1/materials/textures/apriltag1.png b/ca_gazebo/models/Camera_world/Apriltag1/materials/textures/apriltag1.png new file mode 100644 index 0000000000000000000000000000000000000000..f6f22a9c9782ddb1b16b7833b0ff6cba3ca662a2 GIT binary patch literal 99 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqTAnVBAr*1SKl~XC8aUb5)<~>o wO0n}}H85PmHNn?0u)!xew1M}q=mTbkYKs*SuD9D~0Ch2Vy85}Sb4q9e02tC4MF0Q* literal 0 HcmV?d00001 diff --git a/ca_gazebo/models/Camera_world/Apriltag1/model.config b/ca_gazebo/models/Camera_world/Apriltag1/model.config new file mode 100644 index 000000000..8ea15b254 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag1/model.config @@ -0,0 +1,11 @@ + + + Apriltag1 + 1.0 + model.sdf + + + + + + diff --git a/ca_gazebo/models/Camera_world/Apriltag1/model.sdf b/ca_gazebo/models/Camera_world/Apriltag1/model.sdf new file mode 100644 index 000000000..6ed94e065 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag1/model.sdf @@ -0,0 +1,34 @@ + + + + 1 + + 0 0 0 0 0 0 + + + + 0.5 0.5 0.01 + + + + + + + 0.5 0.5 0.01 + + + + + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + + + + + \ No newline at end of file diff --git a/ca_gazebo/models/Camera_world/Apriltag2/materials/scripts/textures.material b/ca_gazebo/models/Camera_world/Apriltag2/materials/scripts/textures.material new file mode 100644 index 000000000..99fe87b19 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag2/materials/scripts/textures.material @@ -0,0 +1,14 @@ +material Apriltag2 +{ + technique + { + pass + { + texture_unit + { + texture apriltag2.png + scale 1 1 + } + } + } +} diff --git a/ca_gazebo/models/Camera_world/Apriltag2/materials/textures/apriltag2.png b/ca_gazebo/models/Camera_world/Apriltag2/materials/textures/apriltag2.png new file mode 100644 index 0000000000000000000000000000000000000000..9b66b7d59b034d5245135dc3009bcbab41661ee7 GIT binary patch literal 97 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFq8lEnWAr*1SKl~XC8aUb5)<~>o uO0nx=N@)mYj1%6Vc_^Tv?;+O*Mut0|R)=n?ZgK+ZVeoYIb6Mw<&;$S&HX3yR literal 0 HcmV?d00001 diff --git a/ca_gazebo/models/Camera_world/Apriltag2/model.config b/ca_gazebo/models/Camera_world/Apriltag2/model.config new file mode 100644 index 000000000..e62d50649 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag2/model.config @@ -0,0 +1,11 @@ + + + Apriltag2 + 1.0 + model.sdf + + + + + + diff --git a/ca_gazebo/models/Camera_world/Apriltag2/model.sdf b/ca_gazebo/models/Camera_world/Apriltag2/model.sdf new file mode 100644 index 000000000..2d0829de9 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag2/model.sdf @@ -0,0 +1,34 @@ + + + + 1 + + 0 0 0 0 0 0 + + + + 0.5 0.5 0.01 + + + + + + + 0.5 0.5 0.01 + + + + + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + + + + + diff --git a/ca_gazebo/models/Camera_world/Apriltag3/materials/scripts/textures.material b/ca_gazebo/models/Camera_world/Apriltag3/materials/scripts/textures.material new file mode 100644 index 000000000..5f2a260de --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag3/materials/scripts/textures.material @@ -0,0 +1,14 @@ +material Apriltag3 +{ + technique + { + pass + { + texture_unit + { + texture apriltag3.png + scale 1 1 + } + } + } +} diff --git a/ca_gazebo/models/Camera_world/Apriltag3/materials/textures/apriltag3.png b/ca_gazebo/models/Camera_world/Apriltag3/materials/textures/apriltag3.png new file mode 100644 index 0000000000000000000000000000000000000000..856d4f163ffd2252c1d622335c341dfe461f0cde GIT binary patch literal 99 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqTAnVBAr*1SKl~XC8aUb5)<~>o w+ToYOwL$Y(K*PCqZHMKCA_<2JSbs1u6a=n_SgD|A1k}ag>FVdQ&MBb@08$Sc9RL6T literal 0 HcmV?d00001 diff --git a/ca_gazebo/models/Camera_world/Apriltag3/model.config b/ca_gazebo/models/Camera_world/Apriltag3/model.config new file mode 100644 index 000000000..f4d230230 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag3/model.config @@ -0,0 +1,11 @@ + + + Apriltag3 + 1.0 + model.sdf + + + + + + diff --git a/ca_gazebo/models/Camera_world/Apriltag3/model.sdf b/ca_gazebo/models/Camera_world/Apriltag3/model.sdf new file mode 100644 index 000000000..3a36dfb72 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Apriltag3/model.sdf @@ -0,0 +1,34 @@ + + + + 1 + + 0 0 0 0 0 0 + + + + 0.5 0.5 0.01 + + + + + + + 0.5 0.5 0.01 + + + + + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + + + + + diff --git a/ca_gazebo/models/Camera_world/Walls/model.config b/ca_gazebo/models/Camera_world/Walls/model.config new file mode 100644 index 000000000..922149ec9 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Walls/model.config @@ -0,0 +1,11 @@ + + + Walls + 1.0 + model.sdf + + + + + + \ No newline at end of file diff --git a/ca_gazebo/models/Camera_world/Walls/model.sdf b/ca_gazebo/models/Camera_world/Walls/model.sdf new file mode 100644 index 000000000..4aaa9bd39 --- /dev/null +++ b/ca_gazebo/models/Camera_world/Walls/model.sdf @@ -0,0 +1,330 @@ + + + + 1 + + 0 0 0 0 -0 0 + 0 + 0 + + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + 1 1 1 1 + 1 1 1 1 + 0.2 0.2 0.2 1 + 0 0 0 1 + + 1 + 0 + + + 0 + 10 + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + + 1 + 1 + 0 0 0 + 0 + 0 + + + 1 + 0 + 0 + 1 + + 0 + + + + + 0 + 1e+06 + + + 0 + 1 + 1 + + 0 + 0.2 + 1e+13 + 1 + 0.01 + 0 + + + 1 + -0.01 + 0 + 0.2 + 1e+13 + 1 + + + + + + + + 0 + 0 + 0 8 0 0 -0 0 + + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + 1 1 1 1 + 1 1 1 1 + 0.2 0.2 0.2 1 + 0 0 0 1 + + 1 + 0 + + + 0 + 10 + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + + 1 + 1 + 0 0 0 + 0 + 0 + + + 1 + 0 + 0 + 1 + + 0 + + + + + 0 + 1e+06 + + + 0 + 1 + 1 + + 0 + 0.2 + 1e+13 + 1 + 0.01 + 0 + + + 1 + -0.01 + 0 + 0.2 + 1e+13 + 1 + + + + + + + + 0 + 0 + 4 4 0 0 -0 1.57 + + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + 1 1 1 1 + 1 1 1 1 + 0.2 0.2 0.2 1 + 0 0 0 1 + + 1 + 0 + + + 0 + 10 + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + + 1 + 1 + 0 0 0 + 0 + 0 + + + 1 + 0 + 0 + 1 + + 0 + + + + + 0 + 1e+06 + + + 0 + 1 + 1 + + 0 + 0.2 + 1e+13 + 1 + 0.01 + 0 + + + 1 + -0.01 + 0 + 0.2 + 1e+13 + 1 + + + + + + + + 0 + 0 + -4 4 0 0 -0 1.57 + + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + 1 1 1 1 + 1 1 1 1 + 0.2 0.2 0.2 1 + 0 0 0 1 + + 1 + 0 + + + 0 + 10 + 0 0 1.4 0 -0 0 + + + 8 0.2 2.8 + + + + + + 1 + 1 + 0 0 0 + 0 + 0 + + + 1 + 0 + 0 + 1 + + 0 + + + + + 0 + 1e+06 + + + 0 + 1 + 1 + + 0 + 0.2 + 1e+13 + 1 + 0.01 + 0 + + + 1 + -0.01 + 0 + 0.2 + 1e+13 + 1 + + + + + + + + \ No newline at end of file diff --git a/ca_gazebo/worlds/camera_world.world b/ca_gazebo/worlds/camera_world.world new file mode 100644 index 000000000..58e73e651 --- /dev/null +++ b/ca_gazebo/worlds/camera_world.world @@ -0,0 +1,356 @@ + + + + + 1 + 0 4 10 0 -0 0 + 0.8 0.8 0.8 1 + 0.2 0.2 0.2 1 + + 1000 + 0.9 + 0.01 + 0.001 + + -0.5 0.1 -0.9 + + + + model://Camera_world/Walls + + + + model://Camera_world/Apriltag1 + 3 7 0 0 0 0 + + + + model://Camera_world/Apriltag2 + -3 7 0 0 0 0 + + + + + + + + + + + true + 2 0.2 1 0 0 1.57 + + + + + 0.1 0.1 0.1 + + + + + + + /create_ws/src/camera_save_tutorial2 + + 1.047 + + 1920 + 1080 + + + 0.1 + 100 + + + 1 + 30 + + + + + + true + -2 0.2 1 0 0 1.57 + + + + + 0.1 0.1 0.1 + + + + + + + /create_ws/src/camera_save_tutorial2 + + 1.047 + + 1920 + 1080 + + + 0.1 + 100 + + + 1 + 30 + + + + + + true + 0 4 16 0 1.57 0 + + + + + 0.1 0.1 0.1 + + + + + + + /create_ws/src/camera_save_tutorial2 + + 1.047 + + 1920 + 1080 + + + 0.1 + 100 + + + 1 + 30 + + + + + + + \ No newline at end of file