Robot joint timing

Typically: "How do I... ", "How can I... " questions
Post Reply
Luis Nieto
Posts: 49
Joined: 26 Oct 2021, 01:35

Robot joint timing

Post 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.

Luis Nieto
Posts: 49
Joined: 26 Oct 2021, 01:35

Re: Robot joint timing

Post by Luis Nieto »

Hello!! I would like a follow up for any advice for my question please. Thanks in advance.

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Robot joint timing

Post 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

Post Reply