Script execution
This commit is contained in:
@@ -11,7 +11,7 @@ SENSORS (list)
|
||||
ZIGZAG (BOOLEAN)
|
||||
"""
|
||||
|
||||
THETA_RANGE = (-9.0, 81.0)
|
||||
THETA_RANGE = (-9.0, 1.0)
|
||||
THETA_STEP = 1.0
|
||||
PHI_RANGE = (-10.0, +10.0)
|
||||
PHI_STEP = 10.0
|
||||
@@ -50,7 +50,9 @@ try:
|
||||
ManipulatorPhi.write(phi)
|
||||
print "phi = ", phi
|
||||
ManipulatorPhi.waitValueInRange(phi, 1.0, 100)
|
||||
print time.time(), " cscan: start"
|
||||
cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], STEPS, time=theta_time, before_read=before_readout, after_read = after_readout)
|
||||
print time.time(), " cscan: end"
|
||||
if ZIGZAG:
|
||||
THETA_RANGE = (THETA_RANGE[1], THETA_RANGE[0])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user