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

One link multiple geom #77

Merged
merged 8 commits into from
Apr 8, 2024
Merged

One link multiple geom #77

merged 8 commits into from
Apr 8, 2024

Conversation

Lexseal
Copy link
Collaborator

@Lexseal Lexseal commented Mar 28, 2024

Made a wrapper called FCLObject. Did check out Moveit's implementation, but their stuff is broadphase only. This API should be pretty intuitive too. Probably will add documentation as needed but please check it out for suggestions.

@KolinGuo KolinGuo force-pushed the one-link-multiple-geom branch 2 times, most recently from 5438561 to 01e38ec Compare April 7, 2024 23:05
@KolinGuo KolinGuo force-pushed the one-link-multiple-geom branch from 01e38ec to 22e57bf Compare April 8, 2024 00:27
KolinGuo added 3 commits April 7, 2024 17:28
* Set FCLObject.pose to Identity when constructing with only object name
* Update FCLObject.shapes transform during construction
@KolinGuo KolinGuo force-pushed the one-link-multiple-geom branch from 22e57bf to 3d83181 Compare April 8, 2024 00:28
@KolinGuo
Copy link
Member

KolinGuo commented Apr 8, 2024

Merging this. @Lexseal Don't forget to check my work

@KolinGuo KolinGuo merged commit 3d00035 into main Apr 8, 2024
9 checks passed
@KolinGuo KolinGuo deleted the one-link-multiple-geom branch April 8, 2024 00:40
* @param name: name of the collision object
* @param collision_object: collision object to be added
*/
// TODO(merge): remove name
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this todo for?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FCLObject already contains name. No need to require an extra argument to addNormalObject.
For the overloaded addNormalObject taking a CollisionObjectPtr as input, the name is still required.

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.

Wrapper to allow multiple collision geometries in a collision object
2 participants