Page 1 of 1

Robot joint timing

Posted: 28 Jan 2022, 08:29
by Luis Nieto
Hi. How do you control when certain joints of your robot move in response to the other and not at the same time?

How do you dictate, for instance, that you want the right foot or ankle to move 4 seconds after your left knee started moving.

Re: Robot joint timing

Posted: 29 Jan 2022, 04:31
by Luis Nieto
Hello!! I would like a follow up for any advice for my question please. Thanks in advance.

Re: Robot joint timing

Posted: 31 Jan 2022, 11:23
by coppelia
Hello Luis,

you have several ways of doing this. Of course, if your actions are sequential, then you can simply use a threaded script. If several actions happen at the same time, then use several threads, e.g. one thread per action, and synchronize your actions via some conditions (e.g. a signal is set). You can use one script per thread, but you can also have several threads in one script: Have a look here for an example on how to run 3 threads in the same script.

Cheers