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

Fix adding performers to entity tree #374

Merged
merged 2 commits into from
Sep 28, 2020

Conversation

chapulina
Copy link
Contributor

When running ign gazebo levels.sdf, we see these errors, and the performers are never added to the entity tree:

[GUI] [Err] [EntityTree.cc:128] Failed to find parent entity [6]                                                                      
[GUI] [Err] [EntityTree.cc:128] Failed to find parent entity [22]

Similar errors can be seen whenever a world with a performer is loaded.

This happens because the performer entities come up before their parent models.

This PR puts such entities in a queue so they're processed later once their parents show up.

@chapulina chapulina added bug Something isn't working GUI Gazebo's graphical interface (not pure Ignition GUI) labels Sep 24, 2020
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Sep 24, 2020
Signed-off-by: Louise Poubel <[email protected]>
Copy link
Contributor

@mjcarroll mjcarroll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Actions CI failure is Diff drive, which is known flaky I believe?

@chapulina
Copy link
Contributor Author

Actions CI failure is Diff drive, which is known flaky I believe?

It should be fixed when #357 is merged forward.

@chapulina chapulina merged commit e89fc21 into ign-gazebo3 Sep 28, 2020
@chapulina chapulina deleted the chapulina/3/performer_tree branch September 28, 2020 17:49
doisyg pushed a commit to wyca-robotics/ign-gazebo that referenced this pull request Dec 13, 2020
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Guillaume Doisy <[email protected]>
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 GUI Gazebo's graphical interface (not pure Ignition GUI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants