Hi,
I'm a Solidworks/CAD novice/hobbiest and not sure if i'm looking in the right place for my solution. I'm in the process of building a hexapod robot and wanted some help working out the maths. The image below shows an assembly mock-up of one of the legs - the chassis on the Left, 3 rotational pivot points, and the tip of the foot far right.
What I need is a formula/function that can describe what angles are needed to give a specific XYZ position of the tip of the foot relative to the chassis - i.e. f(x,y,z) = angle1,angle2,angle3 (i am aware there will be 2 sets of answers for each set of XYZ coords). I'm sure Solidworks must know this to simulate motion and was hoping someone could at least point me in the right direction? If not Solidworks, is there something else out there?
Thanks
Alex
Mathematical function for robot assembly - help?
Mathematical function for robot assembly - help?
What you are describing is called Inverse Kinematics. It isn't easy and SOLIDWORKS does not do it.
Go to full postRe: Mathematical function for robot assembly - help?
What you are describing is called Inverse Kinematics. It isn't easy and SOLIDWORKS does not do it.
Re: Mathematical function for robot assembly - help?
Thanks - I have some reading to do!
Re: Mathematical function for robot assembly - help?
Depending on the degrees of freedom, the math behind this can be quite significant. Simultaneously solving multiple nonlinear equations.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
Re: Mathematical function for robot assembly - help?
Worse still, the model above is simplified - the actual model uses servos and push rods.
- the_h4mmer
- Posts: 136
- Joined: Mon Jan 31, 2022 6:49 am
- x 106
- x 80
Re: Mathematical function for robot assembly - help?
I'll preface my answer with saying that I'm all about the pursuit of knowledge and understanding, so I'm not trying to discourage your research in the slightest when I ask; why? Why do you need this?
I presume that you're looking to understand how to position/move the joint(s)/leg(s) for various types of locomotion, but are you sure you need a formula to do so? If you're attempting to integrate something like machine vision for use in computing the optimal positioning for traversal, I could see this being useful, but if you're making a bot that just moves, I would suspect (I don't know) you won't need to be so formal. Again, not discouraging you from pursuing the answer, because I for one would be interested in your findings, but I also would be interested in seeing your project complete and only ask in hopes that it helps you do so quicker.