Script execution

This commit is contained in:
x03daop
2016-09-09 15:13:18 +02:00
parent 1500d141e2
commit ddd0d439ae

View File

@@ -13,23 +13,23 @@ import math
DISTANCE_X = 1.0 # mm
#DISTANCE_Ry = 0.5 # mrad (Ry)
SLOPE = 1.0/0.24 # mm/mrad (DX / DRy)
STEPS = 50
STEPS = 120
LATENCY = 0.0
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)
STARTPOS = (-DISTANCE_Ry / 2.0, -DISTANCE_X / 2.0)
ENDPOS = (DISTANCE_Ry / 2.0, DISTANCE_X / 2.0)
RELATIVE = True
#STARTPOS = (-DISTANCE_Ry / 2.0, -DISTANCE_X / 2.0)
#ENDPOS = (DISTANCE_Ry / 2.0, DISTANCE_X / 2.0)
#RELATIVE = True
print STARTPOS
print ENDPOS
STARTPOS = (-1.670, -0.330)
ENDPOS = (-5.000, 1.000)
RELATIVE = False
adjust_sensors()
set_adc_averaging()