You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_guide/00_liquid-handling/hamilton-star/iswap-module.md
+26-14Lines changed: 26 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,27 @@ The `R0` module allows fine grained control of the iSWAP gripper.
9
9
You can park the iSWAP using {meth}`~pylabrobot.liquid_handling.backends.hamilton.STAR_backend.STARBackend.park_iswap`.
10
10
11
11
```python
12
-
awaitstar.park_iswap()
12
+
awaitstar_backend.park_iswap()
13
13
```
14
14
15
15
- Opening gripper:
16
16
17
17
You can open the iSWAP gripper using {meth}`~pylabrobot.liquid_handling.backends.hamilton.STAR_backend.STARBackend.iswap_open_gripper`. Warning: this will release any object that is gripped. Used for error recovery.
- Closing gripper: note: this will throw an error if there is no object to grip.
30
+
31
+
```python
32
+
await star_backend.iswap_close_gripper()
21
33
```
22
34
23
35
## Rotations
@@ -39,18 +51,18 @@ Moving the iswap between two positions with the same `grip_direction` while chan
39
51
You can also control the wrist (T-drive) and rotation drive (W-drive) individually using {meth}`~pylabrobot.liquid_handling.backends.hamilton.STAR_backend.STARBackend.rotate_iswap_wrist` and {meth}`~pylabrobot.liquid_handling.backends.hamilton.STAR_backend.STARBackend.rotate_iswap_rotation_drive` respectively. Make sure you have enough space (you can use {meth}`~pylabrobot.liquid_handling.backends.hamilton.STAR_backend.STARBackend.move_iswap_y_relative`)
You can make the iswap move more slowly during sensitive operations using {meth}`~pylabrobot.liquid_handling.backends.hamilton.STAR_backend.STARBackend.slow_iswap`. This is useful when you want to avoid splashing or other disturbances.
51
63
52
64
```python
53
-
asyncwithstar.slow_iswap():
65
+
asyncwithstar_backend.slow_iswap():
54
66
await lh.move_plate(plate, plt_car[1])
55
67
```
56
68
@@ -59,23 +71,23 @@ async with star.slow_iswap():
59
71
1. For safety, move the other components as far away as possible before teaching. This is easily done using the firmware command `C0FY`, implemented in PLR as `position_components_for_free_iswap_y_range`:
2. Move the iSWAP wrist and rotation drive to the correct orientation as [explained above](#rotations). Repeated: be careful to move the iSWAP to a position where it does not hit any other components. See commands below for how to do this.
66
78
67
79
3. You can then use the following three commands to move the iSWAP in the X, Y and Z directions. All units are in mm.
68
80
69
81
```python
70
-
awaitstar.move_iswap_x(x)
82
+
awaitstar_backend.move_iswap_x(x)
71
83
```
72
84
73
85
```python
74
-
awaitstar.move_iswap_y(y)
86
+
awaitstar_backend.move_iswap_y(y)
75
87
```
76
88
77
89
```python
78
-
awaitstar.move_iswap_z(z)
90
+
awaitstar_backend.move_iswap_z(z)
79
91
```
80
92
81
93
4. Note that the x, y and z here refer to the **center** of the iSWAP gripper. This is to make it agnostic to plate size. But in PLR all locations are with respect to LFB (left front bottom) of the plate. To get the LFB after calibrating to the center, subtract the distance from the plate LFB to CCB:
@@ -101,15 +113,15 @@ This will be the location of the plate wrt the parent. You can use this with `pa
101
113
You can also move the iSWAP relative to its current position using the following commands. All units are in mm.
102
114
103
115
```python
104
-
awaitstar.move_iswap_x_relative(x)
116
+
awaitstar_backend.move_iswap_x_relative(x)
105
117
```
106
118
107
119
```python
108
-
awaitstar.move_iswap_y_relative(y)
120
+
awaitstar_backend.move_iswap_y_relative(y)
109
121
```
110
122
111
123
```python
112
-
awaitstar.move_iswap_z_relative(z)
124
+
awaitstar_backend.move_iswap_z_relative(z)
113
125
```
114
126
115
127
This is the center of the iSWAP gripper. See the note above.
0 commit comments