-
Notifications
You must be signed in to change notification settings - Fork 938
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
PS: add new tests for object pose handling #2816
Conversation
d5fda99
to
254d0ee
Compare
I already see some tests failing, but maybe you could have a look anyway. I think these commits might cover the gist of it. |
with the transition to the new CollisionObject::pose field.
eecc3ab
to
03645a4
Compare
CI fails with timeouts, so some test runs into a deadlock with your change. |
If the object consists of a single shape, the object pose should be set to that shape's pose, and the primitive pose to identity. Otherwise, there is a regression for scenes that were built in a scene-graph-like manner by referring to previously placed objects. It also looks nicer when you visualize the object pose in TF. |
This also switches the shape pose and object pose if only the shape pose was set. This avoids a bad regression.
dd19b76
to
d9ef6ba
Compare
This reverts commit d9ef6ba.
Codecov Report
@@ Coverage Diff @@
## master #2816 +/- ##
==========================================
+ Coverage 60.81% 60.88% +0.07%
==========================================
Files 366 366
Lines 31717 31705 -12
==========================================
+ Hits 19285 19299 +14
+ Misses 12432 12406 -26
Continue to review full report at Codecov.
|
CI passes with the new tests, and the change in this PR fixes a regression, so it would be great if someone could take a look soon. It also makes the I left out this change addressing the copy because it's only a (suspected) performance improvement and there's a bug left in it. If someone sees it, let me know and I'll fix it up (or do it yourself and submit the PR, I'm not your boss). |
Thanks for addressing this @felixvd ! This test is crucial to help people with the migration to the new object poses. 🏅 |
Thanks for catching it and adding the tests <3 |
with the transition to the new CollisionObject::pose field.
One test currently fails.
@felixvd, Could you please address this together with the other issues I raised in
#2037 (review) ?