gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
618 stars 251 forks source link

Adding cone primitives. #2410

Closed bperseghetti closed 2 weeks ago

bperseghetti commented 1 month ago

🎉 New feature

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

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.

scpeters commented 2 weeks ago

@osrf-jenkins run tests please

ahcorde commented 2 weeks ago

Thank you @bperseghetti , another great contribution!

@azeey or @scpeters do you mind to take a another look? CI is very green !

scpeters commented 2 weeks ago

@azeey or @scpeters do you mind to take a another look? CI is very green !

I have suggested an update to our example worlds to include a cone in https://github.com/gazebosim/gz-sim/pull/2448