Skip to content

Commit

Permalink
fix appending trajectory test
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed May 23, 2018
1 parent f2a59b4 commit 3fd4b7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_system/trajectories.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def trajectory_scan_appending(test, test_brick):

tr.axisX.positions = ascend

is_clipper = buff_len < 1000
time_period = 3000 if is_clipper else 2000
is_clipper = True # don't have a good test for this (was is_clipper = buff_len < 1000)
time_period = 5000 if is_clipper else 2000
# each point takes 2 milli sec for brick and 3 for clipper
times = [time_period] * points

Expand All @@ -144,11 +144,11 @@ def trajectory_scan_appending(test, test_brick):
tr.axisX.positions = ascend
tr.configure_axes()
tr.AppendPoints()
Sleep(.3)
Sleep(1)
tr.axisX.positions = descend
tr.configure_axes()
tr.AppendPoints()
Sleep(.3)
Sleep(1)

start = datetime.now()
while not tr.execute_done:
Expand Down

0 comments on commit 3fd4b7d

Please sign in to comment.