-
Notifications
You must be signed in to change notification settings - Fork 53
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
Destroy root node and clean up sensor resources on exit #617
Conversation
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-rendering6 #617 +/- ##
===============================================
Coverage 80.00% 80.00%
===============================================
Files 1 1
Lines 15 15
===============================================
Hits 12 12
Misses 3 3 Continue to review full report at Codecov.
|
Signed-off-by: Ian Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there are more places where we can use kCubeCameraCount
. But I will create a follow up PR
sounds good, thanks |
hmm a few windows warnings started showing up on CI, not sure why. They are not introduced by this PR. I''ll look into fixing them in a separate PR. |
Codecov Report
@@ Coverage Diff @@
## ign-rendering6 #617 +/- ##
=================================================
Coverage ? 80.00%
=================================================
Files ? 1
Lines ? 15
Branches ? 0
=================================================
Hits ? 12
Misses ? 3
Partials ? 0 Continue to review full report at Codecov.
|
|
* fixing windows warnings Signed-off-by: Ian Chen <[email protected]> * testing msc_ver Signed-off-by: Ian Chen <[email protected]> * test explicity disabling warnings Signed-off-by: Ian Chen <[email protected]> * fixes more warnings Signed-off-by: Ian Chen <[email protected]> * fixes more warnings Signed-off-by: Ian Chen <[email protected]>
A follow up to #617 - now that we are actually destroying sensors properly, I noticed a crash when running the depth camera integration test in ign-sensors. This should fix the crash (fix is similar to the changes done in #617) Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
This reverts commit 44f1a1a.
Signed-off-by: Ian Chen [email protected]
🦟 Bug fix
Fixes #615
Summary
When the scene was destroyed, only non-root nodes were destroyed. This PR makes sure to destroy the root node as well. As soon as that is done, I noticed that destructors of sensors are now called but tests are segfaulting. Fixed by cleaning up more resources in sensors'
Destroy
function.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.