diff --git a/script/test/HoloFlyScan.py b/script/test/HoloFlyScan.py index f2007816..f773f042 100644 --- a/script/test/HoloFlyScan.py +++ b/script/test/HoloFlyScan.py @@ -52,7 +52,7 @@ try: ManipulatorPhi.waitValueInRange(phi, 1.0, 100) print time.time(), " cscan: start" try: - cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], THETA_NSTEPS, time=theta_time, before_read=before_readout, after_read = after_readout) + cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], THETA_NSTEPS - 1, time=theta_time, before_read=before_readout, after_read = after_readout) print time.time(), " cscan: end" except ContinuousScanFollowingErrorException: print time.time(), " cscan: exception"