Skip to content
Snippets Groups Projects
Commit 8b9b710f authored by Sebastian Ebert's avatar Sebastian Ebert
Browse files

fixed colors of the configuration

parent 00a1a478
No related branches found
No related tags found
No related merge requests found
Showing with 40 additions and 40 deletions
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"g": 1 "b": 1
} }
}, },
{ {
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"g": 1 "b": 1
} }
}, },
{ {
...@@ -360,7 +360,7 @@ ...@@ -360,7 +360,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"b": 1 "g": 1
} }
}, },
{ {
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"b": 1 "g": 1
} }
}, },
{ {
......
...@@ -33,11 +33,11 @@ ...@@ -33,11 +33,11 @@
{ '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': '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': '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': 'blue1','type': 'BOX','pos': { 'x': 0.20,'y': 0.05,'z': 0.940300 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'blue1','type': 'BOX','pos': { 'x': 0.20,'y': 0.05,'z': 0.940300 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'green1','type': 'BOX','pos': { 'x': 0.10,'y': -0.25,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'green1','type': 'BOX','pos': { 'x': 0.10,'y': -0.25,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'green2','type': 'BOX','pos': { 'x': 0.10,'y': 0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'green2','type': 'BOX','pos': { 'x': 0.10,'y': 0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': -0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': -0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'red2','type': 'BOX','pos': { 'x': 0.15,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red2','type': 'BOX','pos': { 'x': 0.15,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
......
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"g": 1 "r": 1
} }
}, },
{ {
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"g": 1 "r": 1
} }
}, },
{ {
...@@ -400,7 +400,7 @@ ...@@ -400,7 +400,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"r": 1 "g": 1
} }
}, },
{ {
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
"w": 1 "w": 1
}, },
"color": { "color": {
"r": 1 "g": 1
} }
}, },
{ {
......
...@@ -33,14 +33,14 @@ ...@@ -33,14 +33,14 @@
{ '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': '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': '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': 'red1','type': 'BOX','pos': { 'x': 0.20,'y': 0.05,'z': 0.940300 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'red1','type': 'BOX','pos': { 'x': 0.20,'y': 0.05,'z': 0.940300 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'red2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'red2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'blue1','type': 'BOX','pos': { 'x': 0.10,'y': -0.25,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'blue1','type': 'BOX','pos': { 'x': 0.10,'y': -0.25,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'blue2','type': 'BOX','pos': { 'x': 0.10,'y': 0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'blue2','type': 'BOX','pos': { 'x': 0.10,'y': 0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'green2','type': 'BOX','pos': { 'x': 0.15,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'green2','type': 'BOX','pos': { 'x': 0.15,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
# heights of objects (including pins): # heights of objects (including pins):
# formula: half-height * 9.6 + 4.6 # formula: half-height * 9.6 + 4.6
......
...@@ -307,8 +307,8 @@ ...@@ -307,8 +307,8 @@
"id": "blue2", "id": "blue2",
"type": "BOX", "type": "BOX",
"pos": { "pos": {
"x": 0.1, "x": 0.3,
"y": 0.2, "y": 0,
"z": 0.9307 "z": 0.9307
}, },
"size": { "size": {
...@@ -368,8 +368,8 @@ ...@@ -368,8 +368,8 @@
"type": "ARM", "type": "ARM",
"pos": { "pos": {
"z": 0.89, "z": 0.89,
"x": -0.2, "x": -0.298,
"y": 0.24 "y": 0.2655
}, },
"size": {}, "size": {},
"orientation": { "orientation": {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{ 'id': 'green2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'green2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'blue1','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'blue1','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'blue2','type': 'BOX','pos': { 'x': 0.10,'y': 0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': 0.00,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'red2','type': 'BOX','pos': { 'x': 0.15,'y': 0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red2','type': 'BOX','pos': { 'x': 0.15,'y': 0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
...@@ -44,5 +44,5 @@ ...@@ -44,5 +44,5 @@
# formula (python) # formula (python)
# for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000)); # for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000));
{ 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.20 , 'y' : 0.24 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } } { 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.298 , 'y' : 0.2655 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } }
] } ] }
...@@ -307,8 +307,8 @@ ...@@ -307,8 +307,8 @@
"id": "red2", "id": "red2",
"type": "BOX", "type": "BOX",
"pos": { "pos": {
"x": 0.1, "x": 0.3,
"y": -0.2, "y": 0,
"z": 0.9307 "z": 0.9307
}, },
"size": { "size": {
...@@ -368,8 +368,8 @@ ...@@ -368,8 +368,8 @@
"type": "ARM", "type": "ARM",
"pos": { "pos": {
"z": 0.89, "z": 0.89,
"x": -0.2, "x": -0.298,
"y": -0.24 "y": -0.2655
}, },
"size": {}, "size": {},
"orientation": { "orientation": {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{ 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': -0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': -0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'red2','type': 'BOX','pos': { 'x': 0.10,'y': -0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red2','type': 'BOX','pos': { 'x': 0.30,'y': 0.00,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'green2','type': 'BOX','pos': { 'x': 0.15,'y': -0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'green2','type': 'BOX','pos': { 'x': 0.15,'y': -0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
...@@ -44,5 +44,5 @@ ...@@ -44,5 +44,5 @@
# formula (python) # formula (python)
# for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000)); # for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000));
{ 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.20 , 'y' : -0.24 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } } { 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.298 , 'y' : -0.2655 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } }
] } ] }
...@@ -307,8 +307,8 @@ ...@@ -307,8 +307,8 @@
"id": "red2", "id": "red2",
"type": "BOX", "type": "BOX",
"pos": { "pos": {
"x": 0.1, "x": 0.3,
"y": 0.2, "y": 0,
"z": 0.9307 "z": 0.9307
}, },
"size": { "size": {
...@@ -368,8 +368,8 @@ ...@@ -368,8 +368,8 @@
"type": "ARM", "type": "ARM",
"pos": { "pos": {
"z": 0.89, "z": 0.89,
"x": -0.2, "x": -0.298,
"y": 0.24 "y": 0.2655
}, },
"size": {}, "size": {},
"orientation": { "orientation": {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{ 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': 0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red1','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'red2','type': 'BOX','pos': { 'x': 0.10,'y': 0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red2','type': 'BOX','pos': { 'x': 0.30,'y': 0.00,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'green2','type': 'BOX','pos': { 'x': 0.15,'y': 0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'green2','type': 'BOX','pos': { 'x': 0.15,'y': 0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
...@@ -44,5 +44,5 @@ ...@@ -44,5 +44,5 @@
# formula (python) # formula (python)
# for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000)); # for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000));
{ 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.20 , 'y' : 0.24 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } } { 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.298 , 'y' : 0.2655 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } }
] } ] }
...@@ -307,8 +307,8 @@ ...@@ -307,8 +307,8 @@
"id": "red2", "id": "red2",
"type": "BOX", "type": "BOX",
"pos": { "pos": {
"x": 0.1, "x": 0.3,
"y": -0.2, "y": 0,
"z": 0.9307 "z": 0.9307
}, },
"size": { "size": {
...@@ -368,8 +368,8 @@ ...@@ -368,8 +368,8 @@
"type": "ARM", "type": "ARM",
"pos": { "pos": {
"z": 0.89, "z": 0.89,
"x": -0.2, "x": -0.298,
"y": -0.24 "y": -0.2655
}, },
"size": {}, "size": {},
"orientation": { "orientation": {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{ 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'green1','type': 'BOX','pos': { 'x': 0.30,'y': -0.30,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } }, { 'id': 'blue2','type': 'BOX','pos': { 'x': 0.30,'y': -0.15,'z': 0.935500 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'b': 1 } },
{ 'id': 'red2','type': 'BOX','pos': { 'x': 0.10,'y': -0.20,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red2','type': 'BOX','pos': { 'x': 0.30,'y': 0.00,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
{ 'id': 'green2','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } }, { 'id': 'green2','type': 'BOX','pos': { 'x': 0.30,'y': 0.15,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'g': 1 } },
{ 'id': 'red2','type': 'BOX','pos': { 'x': 0.15,'y': -0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } }, { 'id': 'red2','type': 'BOX','pos': { 'x': 0.15,'y': -0.45,'z': 0.930700 },'size': { 'length': 0.05,'width': 0.044,'height': 0.055 },'orientation': { 'w': 1 },'color': { 'r': 1 } },
...@@ -44,5 +44,5 @@ ...@@ -44,5 +44,5 @@
# formula (python) # formula (python)
# for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000)); # for i in range(3,10): print("{ 'id': 'object4x2x%.1f','type': 'BOX','pos': { 'x': 0.3,'y': %f,'z': %f },'size': { 'length': .0318, 'width': .0636,'height': %f },'orientation': { 'w': 1 },'color': {} }," % (i/2, (i-6)*.1, (i*48+23+8900)/10000, (i*96+46)/10000));
{ 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.20 , 'y' : -0.24 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } } { 'id': 'arm','type': 'ARM','pos': { 'z': 0.89 , 'x': -0.298 , 'y' : -0.2655 },'size': { },'orientation': { 'w': 1 },'color': { 'r': 1.00,'g': 1.00,'b': 1.00 } }
] } ] }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment