From 95abbf39815fb2c90da04dda659f68767fc4e9b6 Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Wed, 6 Jul 2022 10:49:03 +0200
Subject: [PATCH] add fourth "yellow" bin

---
 config/config_scene_ceti-table-1-empty.json | 57 ++++++++++++++-------
 config/config_scene_ceti-table-1-empty.yaml |  7 +--
 2 files changed, 43 insertions(+), 21 deletions(-)

diff --git a/config/config_scene_ceti-table-1-empty.json b/config/config_scene_ceti-table-1-empty.json
index d0cd873..a0c4c5d 100644
--- a/config/config_scene_ceti-table-1-empty.json
+++ b/config/config_scene_ceti-table-1-empty.json
@@ -247,14 +247,14 @@
       "id": "binBlue",
       "type": "BIN",
       "pos": {
-        "x": -0.255,
-        "y": 0.5475,
-        "z": 0.9675
+        "x": -0.23,
+        "y": 0.67,
+        "z": 0.9425
       },
       "size": {
-        "length": 0.19,
-        "width": 0.285,
-        "height": 0.155
+        "length": 0.24,
+        "width": 0.17,
+        "height": 0.105
       },
       "orientation": {
         "w": 1
@@ -267,14 +267,14 @@
       "id": "binRed",
       "type": "BIN",
       "pos": {
-        "x": -0.055,
-        "y": 0.5475,
-        "z": 0.9675
+        "x": -0.23,
+        "y": 0.49,
+        "z": 0.9425
       },
       "size": {
-        "length": 0.19,
-        "width": 0.285,
-        "height": 0.155
+        "length": 0.24,
+        "width": 0.17,
+        "height": 0.105
       },
       "orientation": {
         "w": 1
@@ -287,14 +287,14 @@
       "id": "binGreen",
       "type": "BIN",
       "pos": {
-        "x": 0.145,
-        "y": 0.5475,
-        "z": 0.9675
+        "x": -0.23,
+        "y": -0.49,
+        "z": 0.9425
       },
       "size": {
-        "length": 0.19,
-        "width": 0.285,
-        "height": 0.155
+        "length": 0.24,
+        "width": 0.17,
+        "height": 0.105
       },
       "orientation": {
         "w": 1
@@ -303,6 +303,27 @@
         "g": 1
       }
     },
+    {
+      "id": "binYellow",
+      "type": "BIN",
+      "pos": {
+        "x": -0.23,
+        "y": -0.67,
+        "z": 0.9425
+      },
+      "size": {
+        "length": 0.24,
+        "width": 0.17,
+        "height": 0.105
+      },
+      "orientation": {
+        "w": 1
+      },
+      "color": {
+        "r": 1,
+        "g": 1
+      }
+    },
     {
       "id": "arm",
       "type": "ARM",
diff --git a/config/config_scene_ceti-table-1-empty.yaml b/config/config_scene_ceti-table-1-empty.yaml
index 8e076ac..9a43ebf 100644
--- a/config/config_scene_ceti-table-1-empty.yaml
+++ b/config/config_scene_ceti-table-1-empty.yaml
@@ -29,9 +29,10 @@
   # the width is 31.8 or 63.6
   # if they stand on a panel edge, they stand at 40 + 0.5 + 14.25 = 54.75
   # their x location is N*19 + 9.5 - 35 = N*20 - 25.5 = -25.5 and -5.5 and 14.5 if they have 1 cm distance
-  { 'id': 'binBlue', 'type': 'BIN','pos': { 'x': -0.255,'y': 0.5475,'z': 0.9675 },'size': { 'length': 0.19,'width': 0.285,'height': 0.155 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
-  { 'id': 'binRed',  'type': 'BIN','pos': { 'x': -0.055,'y': 0.5475,'z': 0.9675 },'size': { 'length': 0.19,'width': 0.285,'height': 0.155 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
-  { 'id': 'binGreen','type': 'BIN','pos': { 'x': 0.145,'y': 0.5475,'z': 0.9675 },'size': { 'length': 0.19,'width': 0.285,'height': 0.155 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
+  { 'id': 'binBlue',  'type': 'BIN','pos': { 'x': -0.23,'y':  0.67,'z': 0.9425 },'size': { 'length': 0.24,'width': 0.17,'height': 0.105 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
+  { 'id': 'binRed',   'type': 'BIN','pos': { 'x': -0.23,'y':  0.49,'z': 0.9425 },'size': { 'length': 0.24,'width': 0.17,'height': 0.105 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
+  { 'id': 'binGreen', 'type': 'BIN','pos': { 'x': -0.23,'y': -0.49,'z': 0.9425 },'size': { 'length': 0.24,'width': 0.17,'height': 0.105 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
+  { 'id': 'binYellow','type': 'BIN','pos': { 'x': -0.23,'y': -0.67,'z': 0.9425 },'size': { 'length': 0.24,'width': 0.17,'height': 0.105 },'orientation': { 'w': 1 },'color': { r: 1, 'g': 1 } },
 
   { 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.22 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } }
 ] }
-- 
GitLab