From b11efaa31ade89e8319bbc845c4cfb4633e0aa45 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Tue, 13 Aug 2019 10:27:15 +0200 Subject: [PATCH] Script execution --- script/ManipulatorFlyScan.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/script/ManipulatorFlyScan.py b/script/ManipulatorFlyScan.py index babbefca..4f7e3f98 100644 --- a/script/ManipulatorFlyScan.py +++ b/script/ManipulatorFlyScan.py @@ -11,12 +11,14 @@ note that the motors have a limited speed range! import math MOTORS = (ManipulatorX) -RANGE = (-2.9-0.6, -2.9+0.6) +CENTER = -3.5 +WIDTH = 1.2 +RANGE = (CENTER - WIDTH / 2., CENTER + WIDTH / 2.) STEP = 0.01 -MOTORS = (ManipulatorY) -RANGE = (-3.5, +3.5) -STEP = 0.05 +#MOTORS = (ManipulatorY) +#RANGE = (-3.5, +3.5) +#STEP = 0.05 # Z axis cannot be used in fly scan. minimum speed is too high. #MOTORS = (ManipulatorZ)