Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera as flange child #12

Closed

Conversation

marrts
Copy link
Member

@marrts marrts commented Aug 2, 2024

This allows for motion planning with the camera as a TCP

@marip8
Copy link
Member

marip8 commented Aug 15, 2024

Why did this not work prior to this change? It seems like this change shouldn't be necessary

@marrts
Copy link
Member Author

marrts commented Aug 15, 2024

The tool_flange is the manipulator tip. The tool_flange is also a child of tool0 and the camera frame is a child of tool0. So Tesseract can't find the camera frame as a valid tcp link for the manipulator group ending with the tool flange. Alternatively the manipulator group can be changed to end at tool0 and I think everything should work. This was primarily an issue when IK Fast was being used, since it was generated relative to the tool_flange, but I think just KDL is used now, so the manipulator tip shouldn't matter.

@marip8
Copy link
Member

marip8 commented Aug 15, 2024

I see; let's close this PR in favor of changing the tip link of the KDL solver.

@marip8 marip8 closed this Aug 15, 2024
@gavanderhoorn
Copy link
Member

gavanderhoorn commented Aug 16, 2024

High-level comment: tool0 is not supposed to be a parent for any other frames. It's a leaf frame.

Other tool frames should be children of flange or a frame with a similar role.

@marip8
Copy link
Member

marip8 commented Aug 16, 2024

There is a REP (or REP proposal) that specifies that, right? I think about 95% of the URDFs I've made or used have not followed that convention

@gavanderhoorn
Copy link
Member

Yeah: Coordinate Frames for Serial Industrial Manipulators.

Specifically: Coordinate Frames: tool0 and Application-Specific Tool Frames.

I think about 95% of the URDFs I've made or used have not followed that convention

well it's not an active REP, so it's really just a convention written down in some .rst somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants