Skip to content

Questions on frameplacement #2186

Answered by stephane-caron
xiaosuyang asked this question in Q&A
Discussion options

You must be logged in to vote

I found that both functions updateFramePlacement() and framesForwardKinematics() are used to calculate the placement of each frame. So what's the differences between them.

From the documentation of updateFramePlacement and framesForwardKinematics:

  • For the former: "One of the algorithms forwardKinematics should have been called first" (framesForwardKinematics is one of these algorithms). As a consequence there is no configuration vector q in the parameters, but there is a frame_id as it will only update the placement of one specific frame.
  • For the latter: "First calls the forwardKinematics on the model, then computes the placement of each frame."

Therefore, we don't need to call update…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xiaosuyang
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