hi guyz,
I have been working on my hexapod from past 1.5Yrs . I have developed a custom servo controller for the bot and finished with body parts and assembly. Now , the main headache is how do i use my inverse kinematic equations to implement gaits like tripod ?. I have used DH-algo to solve inverse kinematics which is for “a leg” , which works as follows : given the (X,Y,Z) of the tip of a leg that touches ground I get all 3 angles. I do this for all 6 legs.
So , In how many steps(points along the trajectory) do i divide the tripod gait?
I have got this idea currently in my mind :
Lets assume i divide the gait it in 3 steps.
- Lift 3 legs up
- move the 3 legs touching ground so the bot moves forward
- Place other 3 legs down which we lifted in step1
Goto step 1 and repeat it for other set of 3 legs
Now I pre-calucate the angles and get the angle difference between each step. Then I use linear interpolation to get a smooth and slow movement of servos.
I know this is not the way to do it … so asking you guyz to help me with this.