This PR replaces the manual step for creating PointCloud2 message with the officially supported create_cloud() method through the sensor_msgs_py package.
This change does not affect the underlying functionality. Tested with aruco detection and object detection nodes.
This PR replaces the manual step for creating PointCloud2 message with the officially supported create_cloud() method through the sensor_msgs_py package.
This change does not affect the underlying functionality. Tested with aruco detection and object detection nodes.