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

Adding cone primitives. #1003

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Adding cone primitives. #1003

merged 2 commits into from
Jun 13, 2024

Conversation

bperseghetti
Copy link
Contributor

@bperseghetti bperseghetti commented May 15, 2024

🦟 Bug fix

Summary

This helps add the missing cone geometry for primitive/basic parametric shapes:

conetopple
cone

And is also valuable for visualizations of emitters/source that typically have conic-based spread as seen in this acoustic attack on an IMU by showing the affected area:

drone_attack

Associated PRs:

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.

Squashing commits to make requested target of main with backports to
harmonic.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

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

we can add cone shape to markers but let's not add it to particle emitters yet since we don't have an engine that supports it

include/gz/rendering/ParticleEmitter.hh Outdated Show resolved Hide resolved
include/gz/rendering/ParticleEmitter.hh Outdated Show resolved Hide resolved
ogre2/src/Ogre2ParticleEmitter.cc Outdated Show resolved Hide resolved
ogre2/src/Ogre2ParticleEmitter.cc Outdated Show resolved Hide resolved
@bperseghetti bperseghetti requested a review from iche033 June 3, 2024 17:55
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

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

lgtm!

@iche033 iche033 merged commit 97ada56 into gazebosim:main Jun 13, 2024
5 of 7 checks passed
bperseghetti added a commit to rudislabs/gz-rendering that referenced this pull request Jun 18, 2024
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
azeey pushed a commit that referenced this pull request Jun 18, 2024
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
@bperseghetti bperseghetti deleted the pr-cone-main branch June 21, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants