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

Backport #2232 to harmonic #2485

Merged
merged 3 commits into from
Jul 22, 2024
Merged

Backport #2232 to harmonic #2485

merged 3 commits into from
Jul 22, 2024

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Jul 19, 2024

🔙 Backward port

⚠️ This is the first time I'm backporting anything. Let me know if I'm doing this in the wrong way.

This PR backports 2 commits from main to harmonic. The reason for this backport is that #2232 would greatly improve our UX (#2217, #2464, #2465, #2466).

@azeey has voiced his support for this here: #2232 (comment)

Branch comparison (not of much use): gz-sim8...main

Note to maintainers: Remember to Rebase and merge with commit (not squash-merge or merge-commit)

This test was generating a warning about unused vairables. Unless built
in debug mode, `aserts`are often optimized out we should be using the
`ASSERT` macros from `gtest` instead.

Signed-off-by: Arjo Chakravarty <[email protected]>
n particular if a user despawns an entity, the associated plugin gets removed. This should prevent issues like #2165. TBH I'm not sure if this is the right way forward as a system should technically be able to access any entity in a traditional ECS.

The PR has now been reworked and greatly simplified. All we do is stop all worker threads if an entity is removed and then recreate remaining threads.
@arjo129 arjo129 requested a review from mjcarroll as a code owner July 19, 2024 06:14
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jul 19, 2024
@azeey
Copy link
Contributor

azeey commented Jul 19, 2024

I changed the note to Maintainers to say "Rebase and merge" since that's we typically do for backports. Otherwise, all good.

@arjo129 arjo129 merged commit d0c0322 into gz-sim8 Jul 22, 2024
9 checks passed
@arjo129 arjo129 deleted the arjo/backport/2232 branch July 22, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants