gazebosim / gz-msgs

Messages for Gazebo robot simulation.
https://gazebosim.org
Apache License 2.0
21 stars 43 forks source link

Adding cone primitives. #442

Closed bperseghetti closed 1 month ago

bperseghetti commented 1 month ago

🦟 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

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.

bperseghetti commented 1 month ago

Do you mind to add a tests in the Utility_TEST.cc ?

  CompareMsgsGeometryTypeToString(msgs::Geometry::CONE);

Done