-
Notifications
You must be signed in to change notification settings - Fork 268
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
Remove actors from screen when they are supposed to #1699
Conversation
Found that when actors are De-spawned the actor visuals are not destroyed. This commit addresses this bug by adding the missing remove logic in RenderUtils. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo3 #1699 +/- ##
============================================
Coverage 77.98% 77.98%
============================================
Files 255 255
Lines 15041 15041
============================================
Hits 11729 11729
Misses 3312 3312 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
looks like the |
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Addressed in 2e18af8
|
* 🎈 3.14.0~pre1 (#1650) Signed-off-by: Louise Poubel <louise@openrobotics.org> * Remove redundant namespace references (#1635) Signed-off-by: methylDragon <methylDragon@gmail.com> * 🎈 3.14.0 (#1657) Signed-off-by: Louise Poubel <louise@openrobotics.org> Signed-off-by: Louise Poubel <louise@openrobotics.org> * readd namespaces for Q_ARGS (#1670) * Remove actors from screen when they are supposed to (#1699) # 🦟 Bug fix Supercedes #1697. Note: When forward porting we will have to update the hashmaps to erase the new hashmaps created. Fixes #<NUMBER> ## Summary Found that when actors are De-spawned the actor visuals are not destroyed. This commit addresses this bug by adding the missing remove logic in RenderUtils. ## Before ![bug](https://user-images.githubusercontent.com/542272/189558600-196d98c5-1dcf-4d6c-93d6-7493df38c0e4.gif) ## After ![no_bug](https://user-images.githubusercontent.com/542272/189558924-3f2e3c5d-68f3-4d80-aee4-3dc3ce6742a1.gif) ## Notes: Theres a lot of hashmaps being populated in RenderUtils whenever a new actor is spawned. I hope I've caught them all. Also while I need these working in garden (as all the projects Im working on use garden), should I backport these changes? Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org> * Update examples to use gazebosim.org Signed-off-by: Nate Koenig <nate@openrobotics.org> * Citadel: Removed warnings (#1753) Signed-off-by: ahcorde <ahcorde@gmail.com> * Added collection name to About Dialog (#1756) Signed-off-by: ahcorde <ahcorde@gmail.com> * Convert ignitionrobotics to gazebosim in tests directory (#1757) * Convert ignitionrobotics to gaazebosim in tests directory Signed-off-by: Nate Koenig <nate@openrobotics.org> * fix gz-gazebo Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> * Convert ignitionrobotics to gazebosim in sources and includes (#1758) Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> * Convert ignitionrobotics to gazebosim in tutorials (#1759) Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> * Final update of ignitionrobotics to gazebosim for citadel (#1760) Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> * remove PlotIcon (#1658) Signed-off-by: youhy <haoyuan2019@outlook.com> Signed-off-by: youhy <haoyuan2019@outlook.com> * Fix UNIT_ign_TEST Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: Louise Poubel <louise@openrobotics.org> Signed-off-by: methylDragon <methylDragon@gmail.com> Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org> Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: ahcorde <ahcorde@gmail.com> Signed-off-by: youhy <haoyuan2019@outlook.com> Co-authored-by: Louise Poubel <louise@openrobotics.org> Co-authored-by: methylDragon <methylDragon@gmail.com> Co-authored-by: Jenn Nguyen <jenn@openrobotics.org> Co-authored-by: Arjo Chakravarty <arjo@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: AzulRadio <50132891+AzulRadio@users.noreply.github.com>
🦟 Bug fix
Supercedes #1697. Note: When forward porting we will have to update the hashmaps to erase the new hashmaps created.
Fixes #
Summary
Found that when actors are De-spawned the actor visuals are not destroyed. This commit addresses this bug by adding the missing remove logic in RenderUtils.
Before
After
Notes:
Theres a lot of hashmaps being populated in RenderUtils whenever a new actor is spawned. I hope I've caught them all.
Also while I need these working in garden (as all the projects Im working on use garden), should I backport these changes?
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.