From 0419ffda0fb783cb4e903bd4d0eb8bd288897b8c Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Mon, 21 Aug 2023 20:53:37 +0000 Subject: [PATCH 1/2] Make plugins include message types they use Signed-off-by: Michael Carroll --- src/plugins/camera_tracking/CameraTracking.cc | 1 + src/plugins/point_cloud/PointCloud.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/plugins/camera_tracking/CameraTracking.cc b/src/plugins/camera_tracking/CameraTracking.cc index 88f183972..8b0427b3f 100644 --- a/src/plugins/camera_tracking/CameraTracking.cc +++ b/src/plugins/camera_tracking/CameraTracking.cc @@ -18,6 +18,7 @@ #include #include +#include #include #include diff --git a/src/plugins/point_cloud/PointCloud.cc b/src/plugins/point_cloud/PointCloud.cc index 328b06616..fb00ec79b 100644 --- a/src/plugins/point_cloud/PointCloud.cc +++ b/src/plugins/point_cloud/PointCloud.cc @@ -15,6 +15,7 @@ * */ +#include "gz/msgs/marker.pb.h" #include "gz/msgs/pointcloud_packed.pb.h" #include From 188738bd0c7f4b93f197d8c10dd6caab2c623d54 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Wed, 23 Aug 2023 00:06:16 +0000 Subject: [PATCH 2/2] Address reviewer feedback Signed-off-by: Michael Carroll --- src/plugins/camera_tracking/CameraTracking.cc | 2 ++ src/plugins/point_cloud/PointCloud.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/plugins/camera_tracking/CameraTracking.cc b/src/plugins/camera_tracking/CameraTracking.cc index 8b0427b3f..f76a85457 100644 --- a/src/plugins/camera_tracking/CameraTracking.cc +++ b/src/plugins/camera_tracking/CameraTracking.cc @@ -18,8 +18,10 @@ #include #include +#include #include #include +#include #include #include diff --git a/src/plugins/point_cloud/PointCloud.cc b/src/plugins/point_cloud/PointCloud.cc index fb00ec79b..c431dea10 100644 --- a/src/plugins/point_cloud/PointCloud.cc +++ b/src/plugins/point_cloud/PointCloud.cc @@ -15,6 +15,8 @@ * */ +#include "gz/msgs/boolean.pb.h" +#include "gz/msgs/float_v.pb.h" #include "gz/msgs/marker.pb.h" #include "gz/msgs/pointcloud_packed.pb.h"