Page 1 of 1

Hexapod Example 1

Posted: 29 Jun 2020, 15:02
by yrg
Hello. Where could I find the hexapod example 1, which is controlled in a distributed approach?

Re: Hexapod Example 1

Posted: 30 Jun 2020, 14:29
by coppelia
Hello,

are you referring to the very old version of the hexapod robot? Where each leg would have its own child script and receive instructions from the body of the robot?
That model is deprecated and not a good example, since it used also deprecated API commands.
What is your purpose with it?

Cheers

Re: Hexapod Example 1

Posted: 30 Jun 2020, 19:52
by yrg
Thank you for your reply.
Yes, that is the model I'm looking for. I'm a newcomer to CoppeliaSim, and I am working on a legged robot. I want to learn the distributed control strategy for legged robots from that model.

Regards

Re: Hexapod Example 1

Posted: 03 Jul 2020, 12:16
by coppelia
You can reproduce that model based on the hexapod.ttm model: simply attach a child script to each leg (or first joint leg) and have each child script be in control of only its own leg. Data or higher-level control could come from the child script attached to the body of the robot.
Look here for the various means of communication between the various child scripts.

Cheers

Re: Hexapod Example 1

Posted: 03 Jul 2020, 13:24
by yrg
Thank you for your response. I've made my model work by looking at the "rollerWalker.ttm".

Re: Hexapod Example 1

Posted: 07 Jul 2020, 14:10
by coppelia
ow, correct, forgot about that one ;)