Commit f4a53b56 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

motion: fixed a bug in group.

Some exception was hidden because of the wait in sequence.
parent b1c3b7c8
......@@ -121,8 +121,8 @@ class _Group(object):
for motion in motions:
motion.axis._start_move_task(motion.axis._do_handle_move,
motion, polling_time)
for motion in motions:
motion.axis.wait_move()
wait_motions = [gevent.spawn(motion.axis.wait_move) for motion in motions]
gevent.joinall(wait_motions,raise_error=True)
def rmove(self, *args, **kwargs):
kwargs["relative"] = True
......
Supports Markdown
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