Skip to content

Commit

Permalink
fix(shape_estimation): fix build error in Humble (#460)
Browse files Browse the repository at this point in the history
* fix(shape_estimation): fix build error in Humble

* ci(pre-commit): autofix

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
h-ohta and pre-commit-ci[bot] authored May 15, 2023
1 parent af63bb6 commit 3406a58
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions perception/shape_estimation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ ament_auto_add_library(shape_estimation_lib SHARED

ament_target_dependencies(shape_estimation_lib ${SHAPE_ESTIMATION_DEPENDENCIES})

target_include_directories(shape_estimation_lib
SYSTEM PUBLIC
"${PCL_INCLUDE_DIRS}"
)

ament_auto_add_library(shape_estimation_node SHARED
src/node.cpp
)
Expand Down
6 changes: 4 additions & 2 deletions perception/shape_estimation/lib/corrector/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@

#include "shape_estimation/corrector/utils.hpp"

#include <tf2_eigen/tf2_eigen.hpp>

#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>

#include <tf2/LinearMath/Matrix3x3.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2/utils.h>
#include <tf2_eigen/tf2_eigen.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>

#include <algorithm>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion perception/shape_estimation/lib/model/bounding_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
#include <opencv2/imgproc/imgproc.hpp>

#include <autoware_auto_perception_msgs/msg/shape.hpp>
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>

#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl_conversions/pcl_conversions.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>

#include <algorithm>
#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion perception/shape_estimation/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
#include <tier4_autoware_utils/tier4_autoware_utils.hpp>

#include <autoware_auto_perception_msgs/msg/object_classification.hpp>
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>

#include <tf2/LinearMath/Matrix3x3.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2/utils.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>

#include <memory>

Expand Down

0 comments on commit 3406a58

Please sign in to comment.