Skip to content

inaccurate jacobian calculated for a simple 2 link robot #2213

Closed Answered by jorisv
TJBetter asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @TJBetter,

I think your URDF model is not the same than in your document.

  • joint1 rotate around base_link
  • then, link1 x, y position is always 0
  • joint2 is at 1 meter from link1 in the X axis
  • then, link2 position will be on circle of radius 1 around the base_link

In your document, you're interested at a point at 1 meter from link2 in the X axis. You need to add a new frame.
You can do it by adding a new link attach to link2 with a fixed joint:

  <link name="end_effector" />

  <joint name="joint3" type="fixed">
    <origin xyz="1 0 0" rpy="0 0 0" />
    <parent link="link2"/>
    <child link="end_effector"/>
  </joint>

Then, you need to use pin.ReferenceFrame.LOCAL_WORLD_ALIGNED and …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TJBetter
Comment options

Answer selected by jcarpent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants