gazebosim / gz-sensors

Provides numerous sensor models designed to generate realistic data from simulation environments.
https://gazebosim.org
Apache License 2.0
64 stars 58 forks source link

RgbdCameraSensor: add missing include #464

Closed scpeters closed 3 months ago

scpeters commented 3 months ago

🦟 Bug fix

Fixes clang-tidy missing include complaint

Summary

Include gz/msgs/PointCloudPackedUtils.hh for gz::msgs::InitPointCloudPacked.

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 3 months ago

Thanks Steve, please consider also adding the include in https://github.com/gazebosim/gz-sensors/blob/gz-sensors8/src/DepthCameraSensor.cc, where we also use msgs::InitPointCloudPacked

thanks; I've added the missing header to DepthCameraSensor and also GpuLidarSensor in https://github.com/gazebosim/gz-sensors/pull/464/commits/80f07cb5f494888309c12900bd1adcfa748b65f1