Skip to content

addFrame by combining two existing frames #1927

Answered by jcarpent
arjung128 asked this question in Q&A
Discussion options

You must be logged in to vote

What I am unsure about is what the parent_joint and parent_frame in this situation would be.

parent_frame attribute is there just for the record of the underlying tree of frames.
parent_joint is the quantity you should take care

And pin.FrameType.BODY would be fine as the type for this, correct?

You should rather use OP_FRAME which stands for Operational Frame, which seems to be aligned with your purposes as you are considering a virtual, non-physical, point.

Also, how can the placement be made to be the average of the positions of the left and right gripper fingertips instead of a hardcoded pose?

The fact that your two joints are moving independently (joint_gripper_fingertip_right

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@arjung128
Comment options

@jcarpent
Comment options

@arjung128
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
Converted from issue

This discussion was converted from issue #1926 on April 17, 2023 06:53.