Skip to content

Commit

Permalink
chore(build): fix traffic_light_map_based_detector (autowarefoundatio…
Browse files Browse the repository at this point in the history
…n#4921)

Signed-off-by: Mamoru Sobue <[email protected]>
  • Loading branch information
soblin authored Sep 8, 2023
1 parent a0b0227 commit 576acf1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions perception/traffic_light_map_based_detector/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<depend>sensor_msgs</depend>
<depend>tf2</depend>
<depend>tf2_eigen</depend>
<depend>tf2_geometry_msgs</depend>
<depend>tf2_ros</depend>
<depend>tier4_autoware_utils</depend>
<depend>tier4_perception_msgs</depend>
Expand Down
6 changes: 6 additions & 0 deletions perception/traffic_light_map_based_detector/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
#include <Eigen/Core>
#include <Eigen/Geometry>

#ifdef ROS_DISTRO_GALACTIC
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#else
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#endif

namespace
{
cv::Point2d calcRawImagePointFromPoint3D(
Expand Down

0 comments on commit 576acf1

Please sign in to comment.