|
65 | 65 | }
|
66 | 66 | }
|
67 | 67 | },
|
| 68 | + "pickUpAndDropOffsets": { |
| 69 | + "type": "object", |
| 70 | + "required": ["pickUpOffset", "dropOffset"], |
| 71 | + "properties": { |
| 72 | + "pickUpOffset": { |
| 73 | + "$ref": "#/definitions/coordinates", |
| 74 | + "description": "Offset added to calculate pick-up coordinates." |
| 75 | + }, |
| 76 | + "dropOffset": { |
| 77 | + "$ref": "#/definitions/coordinates", |
| 78 | + "description": "Offset added to calculate drop coordinates." |
| 79 | + } |
| 80 | + } |
| 81 | + }, |
68 | 82 | "SphericalSegment": {
|
69 | 83 | "type": "object",
|
70 | 84 | "description": "A partial sphere shaped section at the bottom of the well.",
|
|
538 | 552 | },
|
539 | 553 | "gripperOffsets": {
|
540 | 554 | "type": "object",
|
541 |
| - "description": "Offsets to be added when calculating the coordinates a gripper should go to when picking up or dropping a labware on this labware.", |
| 555 | + "description": "Offsets to add when picking up or dropping another labware stacked atop this one. Do not use this to adjust the position of the gripper paddles relative to this labware or the child labware; use `gripHeightFromLabwareBottom` on this definition or the child's definition for that.", |
| 556 | + "additionalProperties": { |
| 557 | + "$ref": "#/definitions/pickUpAndDropOffsets", |
| 558 | + "description": "Properties here are named for, and matched based on, the deck slot that this labware is atop--or, if this labware is atop a module, the deck slot that that module is atop." |
| 559 | + }, |
542 | 560 | "properties": {
|
543 | 561 | "default": {
|
544 |
| - "type": "object", |
545 |
| - "properties": { |
546 |
| - "pickUpOffset": { |
547 |
| - "$ref": "#/definitions/coordinates", |
548 |
| - "description": "Offset added to calculate pick-up coordinates of a labware placed on this labware." |
549 |
| - }, |
550 |
| - "dropOffset": { |
551 |
| - "$ref": "#/definitions/coordinates", |
552 |
| - "description": "Offset added to calculate drop coordinates of a labware placed on this labware." |
553 |
| - } |
554 |
| - }, |
555 |
| - "required": ["pickUpOffset", "dropOffset"] |
| 562 | + "$ref": "#/definitions/pickUpAndDropOffsets", |
| 563 | + "description": "The offsets to use if there's no slot-specific match in `additionalProperties`." |
| 564 | + }, |
| 565 | + "lidOffsets": { |
| 566 | + "$ref": "#/definitions/pickUpAndDropOffsets", |
| 567 | + "description": "Additional offsets for gripping this labware, if this labware is a lid. Beware this property's placement: instead of affecting the labware stacked atop this labware, like the rest of the `gripperOffsets` properties, it affects this labware." |
| 568 | + }, |
| 569 | + "lidDisposalOffsets": { |
| 570 | + "$ref": "#/definitions/pickUpAndDropOffsets", |
| 571 | + "description": "Additional offsets for gripping this labware, if this labware is a lid and it's being moved to a trash bin. Beware this property's placement: instead of affecting the labware stacked atop this labware, like the rest of the `gripperOffsets` properties, it affects this labware." |
556 | 572 | }
|
557 | 573 | }
|
558 | 574 | },
|
|
0 commit comments