Skip to content

Commit

Permalink
fix triton object for 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
danialramzan authored Aug 6, 2024
1 parent cad8b89 commit 28d73eb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/triton_controls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ find_package(sensor_msgs REQUIRED)
find_package(nav_msgs REQUIRED)
find_package(OpenCV 4.2 REQUIRED)
find_package(tf2 REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)

include_directories(include ${catkin_INCLUDE_DIRS})
include_directories(include)

add_executable(thrust_allocator
src/thrust_allocator.cpp
Expand Down Expand Up @@ -63,6 +64,8 @@ ament_target_dependencies(
"geometry_msgs"
"sensor_msgs"
"OpenCV"
"tf2"
"tf2_geometry_msgs"
)
install(TARGETS thrust_allocator
DESTINATION lib/${PROJECT_NAME}
Expand All @@ -73,6 +76,8 @@ ament_target_dependencies(
"rclcpp"
"rclcpp_components"
"tf2"
"tf2_ros"
"tf2_geometry_msgs"
"triton_interfaces"
"geometry_msgs"
"sensor_msgs"
Expand All @@ -87,6 +92,8 @@ ament_target_dependencies(
"rclcpp"
"rclcpp_components"
"tf2"
"tf2_ros"
"tf2_geometry_msgs"
"triton_interfaces"
"geometry_msgs"
"sensor_msgs"
Expand Down Expand Up @@ -120,6 +127,8 @@ ament_target_dependencies(triton_controls
"sensor_msgs"
"OpenCV"
"tf2"
"tf2_ros"
"tf2_geometry_msgs"
"nav_msgs"
)

Expand All @@ -136,7 +145,6 @@ install(DIRECTORY
DESTINATION share/${PROJECT_NAME}/
)


install(DIRECTORY
test/config
DESTINATION share/${PROJECT_NAME}/test
Expand All @@ -162,3 +170,5 @@ if(BUILD_TESTING)
endif()

ament_package()


1 change: 1 addition & 0 deletions src/triton_controls/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<depend>sensor_msgs</depend>
<depend>nav_msgs</depend>
<depend>tf2</depend>
<depend>tf2_geometry_msgs</depend>
<depend>robot_localization</depend>

<test_depend>ament_lint_auto</test_depend>
Expand Down

0 comments on commit 28d73eb

Please sign in to comment.