How to solve forward kinematics for a robot arm whose base is not at the origin of the robot ? #2074
-
I am trying to use pinocchio for solving FK and IK for a custom robot ( a UR3 arm on top of a mounted Clearpath Husky ) now when I am solving the FK the Y value of the position array is coming fine but the X and Z values are coming different and I am not getting it. Can anyone please help me out ? How does the universe work in the model generated from The kinematic tree I am using here is
Here is the link for the urdf https://github.com/threedee003/urdfs-here/blob/main/husky_ur.urdf |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello @threedee003, I don't have access to the urdf (I think your repository is private). |
Beta Was this translation helpful? Give feedback.
-
https://github.com/threedee003/urdfs-here/blob/main/husky_ur.urdf This is the urdf link. The repo is Public. The kinematic tree that I am using in this case
This is the class I have written using Pinocchio, now I would like to enter 6 joint values in the form of numpy array and generate the position and orientation of the end effector. Now when I run this code using
I am getting a value in which the Y component of the position is coming correct. But X, Z values are different and orientation is not same as in the simualtor. I am spawning the robot at pos = [0,0,0] in the simualtor with the joint angles The values that are being generated from forward kinematics those values are w.r.t which frame ? |
Beta Was this translation helpful? Give feedback.
You can add the following code at the end your file to see all the transformations between universe and the end effector :
T…