From 376edeec5ea4c81daff7cca3cf990fa27dffdd80 Mon Sep 17 00:00:00 2001 From: x03daop Date: Fri, 9 Sep 2016 10:25:40 +0200 Subject: [PATCH] Script execution --- script/RefocusManipulatorScan.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/RefocusManipulatorScan.py b/script/RefocusManipulatorScan.py index bd32ae9e..93d59369 100644 --- a/script/RefocusManipulatorScan.py +++ b/script/RefocusManipulatorScan.py @@ -20,6 +20,7 @@ ENDSCAN = False # do not edit below #DISTANCE_X = DISTANCE_Ry * SLOPE DISTANCE_Ry = DISTANCE_X / SLOPE +print DISTANCE_RY MOTOR = (RefocusYRot, ManipulatorX) SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution) @@ -27,6 +28,9 @@ STARTPOS = (-DISTANCE_Ry / 2.0, -DISTANCE_X / 2.0) ENDPOS = (DISTANCE_Ry / 2.0, DISTANCE_X / 2.0) RELATIVE = True +print STARTPOS +print ENDPOS + adjust_sensors() set_adc_averaging()