I remote control MRL with a python task using the REST API of MRL.

Seen that  "moveToBlocking" also works with the REST API so my program waits for the movement to finish - GREAT!!

But how can I initiate multiple movements and wait for the last one to finish?

moz4r

6 years 9 months ago

If you are using Inmoov service there is maybe some magic.

2 approach : 

- Multiple different servo

lefthand.thumb.moveTo(90)
head.rothead.moveTo(180)
i01.waitTargetPos()

 

- Skeleton group, moveToBlocking

i01.moveTorsoBlocking(90,90,90)

 

Please note if velocity is not set to 1 servo of the queue, the global wait is fixed to ( if I remember 15 seconds )