Skip to content
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

Readd namespaces for Q_ARGS #1670

Merged
merged 1 commit into from
Aug 27, 2022
Merged

Readd namespaces for Q_ARGS #1670

merged 1 commit into from
Aug 27, 2022

Conversation

jennuine
Copy link
Contributor

🦟 Bug fix

Summary

In #1635, redundant namespaces were removed but it appears they are required for Q_ARGS in QMetaObject::invokeMethod calls.

To test, run ign gazebo -v 4 shapes.sdf then click/select a random shape

  • Without PR: the console is spammed with
[GUI] [Wrn] [Application.cc:791] [QT] QMetaObject::invokeMethod: No such method ignition::gazebo::ComponentsModel::RemoveComponentType(ComponentTypeId)
Candidates are:
    RemoveComponentType(ignition::gazebo::ComponentTypeId)
  • With PR: fixes these errors

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.

Signed-off-by: Jenn Nguyen <jenn@openrobotics.org>
@jennuine jennuine added the bug Something isn't working label Aug 27, 2022
@jennuine jennuine self-assigned this Aug 27, 2022
@osrf-triage osrf-triage added this to Inbox in Core development Aug 27, 2022
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Aug 27, 2022
Core development automation moved this from Inbox to In review Aug 27, 2022
@jennuine jennuine enabled auto-merge (squash) August 27, 2022 02:06
@jennuine jennuine merged commit 3ff727e into ign-gazebo3 Aug 27, 2022
@jennuine jennuine deleted the jennuine/qt_fix branch August 27, 2022 02:32
Core development automation moved this from In review to Done Aug 27, 2022
nkoenig added a commit that referenced this pull request Nov 3, 2022
* 🎈 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏰 citadel Ignition Citadel
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants