this seems like the best spot to put this thread…
I am working on a quadruped gait and I have a question that I’m hoping someone will be able to help out with.
Due to the nature of my quad, the usual kinematic driven gait will not work for me. I am using IK to convert my desired leg end values to servo positions fine, but for the actual walk I need more.
Essentially, I need to calculate a “path” that the legs must stay on. while it is on this path, it will do its walk…lift one leg, move other three forward, lift next leg…etc.
due to my limited DOF’s, I guess the best way to picture this would be the way a 4 wheel steer car would drive. I have an arc center point set somewhere out in space, and the inside wheels follow one arc, and the outside wheels follow a parallel arc.
To increase the radius of the turn I just need to move the point further from the body, and to decrease radius, move the point closer.
although none of that really matters as far as my question is concerned…
How do I calculate X & Y values for an arc? I don’t need EVERY point, maybe every 5mm or so. I am programming in C# but I can adapt whatever comes up to work. I know it can take a lot of processing power but I am doing this calculation on my PC, just sending servo positions to the bot so it should be no problem.
Any insight into how I would go about this would be greatly appreciated.
I have attached a little graphic to help illustrate with the center point slid to a couple different spots.
http://img.photobucket.com/albums/v146/gscustoms/ARCPOINTS.jpg