Shift coke mesh center to gravity center#10
Shift coke mesh center to gravity center#10JimmyDaSilva wants to merge 3 commits intowg-perception:masterfrom
Conversation
|
Well, that would now have the tabletop tutorial fail right ? |
|
@vrabaud yes that will fail the tabletop. It make sense to me now why you had the mesh shifted. |
|
@vrabaud It should be fine now |
|
ok, just before merging, @nlyubova, how come that was not done before ? Has code changed ? |
|
But for all our meshes, the center is already the center ! The cola mesh from the tutorial is the only object with a center shifted to the bottom. So if we change the code, all our meshes won't work |
|
@vrabaud as you asked, I've added details about the mesh center to https://github.com/wg-perception/linemod/blob/master/doc/source/index.rst |

According to @nlyubova, the mesh center should be it's gravity center.
Making the shift solve my orientation problem