From 0720e3a381e6801919fb01858a00a33cf0600fb0 Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Fri, 16 Sep 2022 14:06:06 +0200
Subject: [PATCH] fix size of virtual table

---
 config/config_scene_virtual-table.json          | 2 +-
 config/config_scene_virtual-table.yaml          | 2 +-
 config/config_scene_virtual-tag-table-grey.json | 2 +-
 config/config_scene_virtual-tag-table-grey.yaml | 2 +-
 src/virtual_scene_provider.cpp                  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config/config_scene_virtual-table.json b/config/config_scene_virtual-table.json
index 1025e77..b17f2e8 100644
--- a/config/config_scene_virtual-table.json
+++ b/config/config_scene_virtual-table.json
@@ -6,7 +6,7 @@
         "z": 0.25
       },
       "size": {
-        "length": 1,
+        "length": 1.6,
         "width": 2,
         "height": 0.5
       },
diff --git a/config/config_scene_virtual-table.yaml b/config/config_scene_virtual-table.yaml
index 642d9e2..4a47f84 100644
--- a/config/config_scene_virtual-table.yaml
+++ b/config/config_scene_virtual-table.yaml
@@ -4,7 +4,7 @@
   # table
   # height: 1m
   # width: 2m
-  { 'id': 'table', 'pos': { 'z': 0.25 },'size': { 'length': 1,'width': 2,'height': .5 },'orientation': { 'w': 1 },'color': { 'r': 0.3,'g': 0.3,'b': 0.3 } },
+  { 'id': 'table', 'pos': { 'z': 0.25 },'size': { 'length': 1.6,'width': 2,'height': .5 },'orientation': { 'w': 1 },'color': { 'r': 0.3,'g': 0.3,'b': 0.3 } },
 
   # idea: all elements are sorted by name
   { 'id': 'binBlue', 'type': 'BIN','pos': { 'x': -0.35,'y': -0.60,'z': 0.65 },'size': { 'length': 0.20,'width': 0.4,'height': 0.3 },'orientation': { 'w': 1 },'color': { 'b': 0.5 } },
diff --git a/config/config_scene_virtual-tag-table-grey.json b/config/config_scene_virtual-tag-table-grey.json
index a37368d..0e8079e 100644
--- a/config/config_scene_virtual-tag-table-grey.json
+++ b/config/config_scene_virtual-tag-table-grey.json
@@ -6,7 +6,7 @@
         "z": 0.25
       },
       "size": {
-        "length": 1,
+        "length": 1.6,
         "width": 2,
         "height": 0.5
       },
diff --git a/config/config_scene_virtual-tag-table-grey.yaml b/config/config_scene_virtual-tag-table-grey.yaml
index 5fcca35..a1232e8 100644
--- a/config/config_scene_virtual-tag-table-grey.yaml
+++ b/config/config_scene_virtual-tag-table-grey.yaml
@@ -4,7 +4,7 @@
   # table
   # height: 1m
   # width: 2m
-  { 'id': 'table', 'pos': { 'z': 0.25 },'size': { 'length': 1,'width': 2,'height': .5 },'orientation': { 'w': 1 },'color': { 'r': 0.3,'g': 0.3,'b': 0.3 } },
+  { 'id': 'table', 'pos': { 'z': 0.25 },'size': { 'length': 1.6,'width': 2,'height': .5 },'orientation': { 'w': 1 },'color': { 'r': 0.3,'g': 0.3,'b': 0.3 } },
 
   # idea: all elements are sorted by name
   { 'id': 'A','type': 'BIN','pos': { 'x': -0.35,'y': -0.6,'z': 0.65 },'size': { 'length': 0.3,'width': 0.3,'height': 0.3 },'orientation': { 'w': 1 },'color': { 'r': 0.2, 'g': 0.2, 'b': 0.2 } },
diff --git a/src/virtual_scene_provider.cpp b/src/virtual_scene_provider.cpp
index b32fb4e..310c5c0 100644
--- a/src/virtual_scene_provider.cpp
+++ b/src/virtual_scene_provider.cpp
@@ -142,4 +142,4 @@ int main(int argc, char **argv)
   ros::spin();
 
   return 0;
-}
\ No newline at end of file
+}
-- 
GitLab