Skip to content

Commit

Permalink
Tests need to include message types they are using
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Aug 21, 2023
1 parent 83f0e1f commit 34b1d18
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/BoundingBoxCameraSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

#include <gz/msgs/image.pb.h>
#include <gz/msgs/annotated_axis_aligned_2d_box.pb.h>
#include <gz/msgs/annotated_axis_aligned_2d_box_v.pb.h>
#include <gz/msgs/annotated_oriented_3d_box.pb.h>
#include <gz/msgs/annotated_oriented_3d_box_v.pb.h>

#include <gz/common/Console.hh>
#include <gz/common/Image.hh>
Expand Down
2 changes: 2 additions & 0 deletions test/integration/air_pressure.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <sdf/sdf.hh>

#include <gz/msgs/fluid_pressure.pb.h>

#include <gz/math/Helpers.hh>
#include <gz/sensors/AirPressureSensor.hh>
#include <gz/sensors/SensorFactory.hh>
Expand Down
3 changes: 3 additions & 0 deletions test/integration/air_speed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#include <sdf/sdf.hh>

#include <gz/math/Helpers.hh>

#include <gz/msgs/air_speed.pb.h>

#include <gz/sensors/AirSpeedSensor.hh>
#include <gz/sensors/SensorFactory.hh>

Expand Down
3 changes: 3 additions & 0 deletions test/integration/altimeter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#include <sdf/sdf.hh>

#include <gz/math/Helpers.hh>

#include <gz/msgs/altimeter.pb.h>

#include <gz/sensors/AltimeterSensor.hh>
#include <gz/sensors/SensorFactory.hh>

Expand Down
2 changes: 2 additions & 0 deletions test/integration/boundingbox_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
#include <gtest/gtest.h>

#include <gz/msgs/annotated_axis_aligned_2d_box.pb.h>
#include <gz/msgs/annotated_axis_aligned_2d_box_v.pb.h>
#include <gz/msgs/annotated_oriented_3d_box.pb.h>
#include <gz/msgs/annotated_oriented_3d_box_v.pb.h>

#include <gz/common/Filesystem.hh>
#include <gz/sensors/Manager.hh>
Expand Down
1 change: 1 addition & 0 deletions test/integration/camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <cstring>
#include <gtest/gtest.h>

#include <gz/msgs/camera_info.pb.h>
#include <gz/msgs/image.pb.h>

#include <gz/common/Console.hh>
Expand Down
2 changes: 2 additions & 0 deletions test/integration/dvl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <gz/math/Quaternion.hh>
#include <gz/math/Vector3.hh>

#include <gz/msgs/dvl_velocity_tracking.pb.h>

#include <gz/rendering/Material.hh>
#include <gz/rendering/RenderEngine.hh>
#include <gz/rendering/RenderingIface.hh>
Expand Down
2 changes: 2 additions & 0 deletions test/integration/force_torque.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

#include <gz/math/Helpers.hh>

#include <gz/msgs/wrench.pb.h>

#include <gz/sensors/ForceTorqueSensor.hh>
#include <gz/sensors/SensorFactory.hh>

Expand Down
2 changes: 2 additions & 0 deletions test/integration/imu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <sdf/sdf.hh>

#include <gz/msgs/imu.pb.h>

#include <gz/sensors/ImuSensor.hh>
#include <gz/sensors/SensorFactory.hh>

Expand Down
2 changes: 2 additions & 0 deletions test/integration/magnetometer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <sdf/sdf.hh>

#include <gz/msgs/magnetometer.pb.h>

#include <gz/sensors/MagnetometerSensor.hh>
#include <gz/sensors/SensorFactory.hh>

Expand Down
3 changes: 3 additions & 0 deletions test/integration/navsat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#include <sdf/sdf.hh>

#include <gz/math/Helpers.hh>

#include <gz/msgs/navsat.pb.h>

#include <gz/sensors/NavSatSensor.hh>
#include <gz/sensors/SensorFactory.hh>

Expand Down
1 change: 1 addition & 0 deletions test/integration/segmentation_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <gtest/gtest.h>

#include <gz/msgs/image.pb.h>
#include <gz/msgs/camera_info.pb.h>

#include <gz/common/Filesystem.hh>
#include <gz/sensors/Manager.hh>
Expand Down
2 changes: 2 additions & 0 deletions test/integration/triggered_boundingbox_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <cstring>
#include <gtest/gtest.h>

#include <gz/msgs/annotated_oriented_3d_box_v.pb.h>
#include <gz/msgs/annotated_axis_aligned_2d_box_v.pb.h>
#include <gz/msgs/boolean.pb.h>
#include <gz/msgs/image.pb.h>

Expand Down
1 change: 1 addition & 0 deletions test/integration/wide_angle_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <cstring>
#include <gtest/gtest.h>

#include <gz/msgs/camera_info.pb.h>
#include <gz/msgs/image.pb.h>

#include <gz/common/Console.hh>
Expand Down

0 comments on commit 34b1d18

Please sign in to comment.