File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ find_package(grid_map_cmake_helpers REQUIRED)
77find_package (grid_map_core REQUIRED)
88find_package (geometry_msgs REQUIRED)
99find_package (nav2_costmap_2d REQUIRED)
10+ find_package (rclcpp REQUIRED)
1011find_package (tf2_ros REQUIRED)
1112find_package (tf2_geometry_msgs REQUIRED)
1213
@@ -34,8 +35,8 @@ target_link_libraries(${PROJECT_NAME}
3435    grid_map_core::grid_map_core
3536    ${geometry_msgs_TARGETS} 
3637    ${tf2_geometry_msgs_TARGETS} 
37-     nav2_costmap_2d::nav2_costmap_2d_core
3838    tf2_ros::tf2_ros
39+     nav2_costmap_2d::nav2_costmap_2d_core
3940)
4041
4142target_include_directories (${PROJECT_NAME} 
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ ament_add_gtest(${PROJECT_NAME}-test
55
66target_link_libraries (${PROJECT_NAME} -test 
77  ${PROJECT_NAME} ::${PROJECT_NAME} 
8+   tf2_ros::tf2_ros
9+   rclcpp::rclcpp
810)
911
1012ament_add_gtest(costmap-2d-ros-test 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments