ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

I don't know about the API. Because in Robotics this is the rare case. Generally you are given the position of the end effector and you want to get the joint angle based on that only. But if you know the math behind it, you can do it by self. I suppose your base is at (0,0,0) and with the the Z-Up (Z0). It is fairly simple task if all of the joint axis are perpendicular to the Z0 (planner robot). But when you go in spacial robots, you might need to solve the inverse jacobian and it can give you more than one solution. OR take the continuous non parallel pair of joints and solve it.

Lets say Z1 is parallel to Z0 and Z2 is perpendicular to Z1, Now take position P2 and solve it for θ1, θ2 its simple math. then take P2 as reference and solve it for θ3, θ4 etc etc. In case two joints are not perpendicular, just solve it for one and move forward. its simple trigonometry in your case.