sleeping#1369
Merged
Merged
Conversation
7e6c637 to
0ef12a4
Compare
3d2d8fe to
7aa50dd
Compare
69349a9 to
5910736
Compare
yuvaltassa
reviewed
Jun 2, 2026
yuvaltassa
left a comment
Collaborator
There was a problem hiding this comment.
Consider adding a test which is equivalent to SleepingUnaffectedByWaking which I expect would have caught the one major bug I seem to have detected (if it indeed is a bug, maybe I misunderstood)
Also consider adding a multi-world sleeping test that has nworld > 1 with different sleep states in each world.
0010516 to
47addd7
Compare
Collaborator
Author
|
hadn't pushed all of the changes -- files should be updated now |
yuvaltassa
approved these changes
Jun 3, 2026
yuvaltassa
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, feel free to ack and merge, but two tests that I think might be valuable:
- No
SleepPolicy.AUTO_NEVERtest: The code handles this but there's no test verifying a tree with this policy (eg a tree with actuators) never sleeps. - No multi-world test: Given the global contact indexing, a multi-world sleep test might be valuable.
Collaborator
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
initial implementation of sleeping for constraint islands and the collision driver
based on #1303
*note: needed to use the primitive box<>box collider otherwise the blocks don't achieve the sleep tolerance
dominos.mp4