Commit 496e4ea2 authored by bliss administrator's avatar bliss administrator

[wip] pi e712 / TWS pointNumber starts in 1

parent b42d638b
......@@ -700,7 +700,7 @@ class PI_E712(Controller):
else traj.events_positions
)
for evt in events:
commmands.append("TWS 1 %d 1" % (round(evt["time"] / servo_cycle)))
commmands.append("TWS 1 %d 1" % (int((evt["time"] // servo_cycle)+1.5)))
for cmd in commmands:
self.command(cmd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment