Skip to content

Commit

Permalink
Merge pull request #231 from mrawding/tf2-geom-issue-fix
Browse files Browse the repository at this point in the history
fix tf2_geometry_msgs.h not found
  • Loading branch information
goldbattle authored Mar 8, 2022
2 parents fe6e0e7 + 16e7299 commit ed7fe55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ov_msckf/cmake/ROS2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cmake_minimum_required(VERSION 3.3)
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)
find_package(std_msgs REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(sensor_msgs REQUIRED)
Expand Down Expand Up @@ -35,6 +36,7 @@ list(APPEND thirdparty_libraries
list(APPEND ament_libraries
rclcpp
tf2_ros
tf2_geometry_msgs
std_msgs
geometry_msgs
sensor_msgs
Expand Down
3 changes: 2 additions & 1 deletion ov_msckf/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>
<depend condition="$ROS_VERSION == 2">rclcpp</depend>
<depend condition="$ROS_VERSION == 2">tf2_ros</depend>
<depend condition="$ROS_VERSION == 2">tf2_geometry_msgs</depend>
<depend condition="$ROS_VERSION == 2">std_msgs</depend>
<depend condition="$ROS_VERSION == 2">geometry_msgs</depend>
<depend condition="$ROS_VERSION == 2">sensor_msgs</depend>
Expand Down Expand Up @@ -68,4 +69,4 @@
<!-- <depend condition="$ROS_VERSION == 2">ov_eval</depend>-->
<!-- <depend condition="$ROS_VERSION == 2">ov_data</depend>-->

</package>
</package>

0 comments on commit ed7fe55

Please sign in to comment.