gazebosim / gz-msgs

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

Adding cone primitives. #442

Closed bperseghetti closed 6 months ago

bperseghetti commented 6 months 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 6 months ago

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

  CompareMsgsGeometryTypeToString(msgs::Geometry::CONE);

Done