Skip to content

Commit ab32b9c

Browse files
committed
Correct focus distance (#693)
Fixes #691
1 parent 5134425 commit ab32b9c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

device-backend/control/planktoscopehat/planktoscope/focus.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717

1818
class FocusProcess(multiprocessing.Process):
19-
focus_steps_per_mm = 40
19+
# https://github.com/PlanktoScope/PlanktoScope/issues/691
20+
focus_steps_per_mm = 27
2021
# focus max speed is in mm/sec and is limited by the maximum number of pulses per second the PlanktoScope can send
2122
focus_max_speed = 5
2223

device-backend/default-configs/fairscope-latest.hardware.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"microsteps": 256,
3-
"focus_steps_per_mm": 40,
3+
"focus_steps_per_mm": 27,
44
"pump_steps_per_ml": 2045,
55
"focus_max_speed": 5,
66
"pump_max_speed": 50,

device-backend/default-configs/planktoscopehat-latest.hardware.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"microsteps": 256,
3-
"focus_steps_per_mm": 40,
3+
"focus_steps_per_mm": 27,
44
"pump_steps_per_ml": 2045,
55
"focus_max_speed": 5,
66
"pump_max_speed": 50,

0 commit comments

Comments
 (0)