Skip to content

Conversation

@nlyubova
Copy link
Contributor

Add details about a mesh center

@vrabaud
Copy link
Member

vrabaud commented Feb 10, 2016

What does object center mean ? Center of gravity ? center of bounding box ?
Couldn't you center your object in your code automatically ?
In wg-perception/ork_tutorials#10, the mesh is only centered in 2d with respect to a bounding rectangle. Does that suffice ?

@nlyubova
Copy link
Contributor Author

In the code, each object is centered to its origin, so the origin is supposed to be near the object's center (however, in any case ICP would align it afterwards).
Regarding meshes, all of meshes I use are centered to the centermass and it works quite well to align them during recognition , but you are right that better to center them based on the bounding box (and it is assume to be so when grasping an object)

based on that, no code changes are required, but each mesh should be centered to its bounding box. Do you agree?

Add details about a mesh center
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.

2 participants