Skip to content

Commit d8ecfbd

Browse files
committed
update zoom configuration
1 parent bdfbf84 commit d8ecfbd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/navigate/config/configuration.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ microscopes:
8686
timeout: 0.25
8787

8888
joystick_axes: [x, y, z]
89+
# coupled_axes:
90+
# z: f
8991
x_max: 100000
9092
x_min: -100000
9193
y_max: 100000
@@ -112,6 +114,8 @@ microscopes:
112114
hardware:
113115
type: DynamixelZoom
114116
servo_id: 1
117+
port: COM9
118+
baudrate: 100000
115119
position:
116120
0.63x: 0
117121
1x: 627
@@ -294,6 +298,8 @@ microscopes:
294298
timeout: 0.25
295299

296300
joystick_axes: [x, y, z]
301+
# coupled_axes:
302+
# z: f
297303
x_max: 100000
298304
x_min: -100000
299305
y_max: 100000

test/config/test_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def stage_section(self, microscope, hardware_type):
360360

361361
def zoom_section(self, microscope, hardware_type):
362362
expected_keys = ["hardware", "position", "pixel_size", "stage_positions"]
363-
type_keys = ["type", "servo_id"]
363+
type_keys = ["type", "servo_id", "port", "baudrate"]
364364

365365
for key in self.data["microscopes"][microscope][hardware_type].keys():
366366
if key == "hardware":

0 commit comments

Comments
 (0)