"g" value in json
Specifying the gripper orientation at pickup is possible also in the exported json-file or when creating the pattern.
Add the following number inside the square bracket for the “g“-value.
0: calibrated orientation
90: right orientation
180: backwards orientation
-90: left orientation
See the number as the gripper orientation from the calibrated position
See Optimize gripper at pickup for more information: Optimize gripper at pickup - Gripper orientation
In the example below:
right(90) orientation is added for box 1
left(-90) orientation is added for box 2
backwards(180) orientation is added for box 3
{
"name": "Pally_prosject",
"description": "",
"dimensions": {
"height": 1000,
"width": 800,
"length": 1200
},
"productDimensions": {
"weight": 2500,
"height": 200,
"width": 190,
"length": 290
},
"maxGrip": 2,
"labelOrientation": null,
"guiSettings": {
"PPB_VERSION_NO": "2.2.0",
"boxPadding": 0,
"units": "metric",
"overhangSides": 0,
"overhangEnds": 0,
"altLayout": "mirror"
},
"dateModified": "2021-01-25T13:12:25.401Z",
"layerTypes": [
{
"name": "Layer type: 1",
"class": "layer",
"pattern": [
{
"x": 690,
"y": 165,
"r": [
0,
180
],
"g": [90],
"f": 1
},
{
"x": 690,
"y": 455,
"r": [
0,
180
],
"g": [-90],
"f": 1
},
{
"x": 690,
"y": 745,
"r": [
0,
180
],
"g": [180],
"f": 1
},