Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Minor workflow updates (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhenry01 authored Oct 19, 2023
1 parent b6afeef commit 0fa9953
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
12 changes: 10 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,22 @@ message(WARNING "Building Network Systems with build type '${CMAKE_BUILD_TYPE}'
"and flags: '${CMAKE_CXX_FLAGS}'")

# ROS dependencies
set(ROS_DEPS
rclcpp
std_msgs
custom_interfaces
)
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
foreach(dep IN LISTS ROS_DEPS)
find_package(${dep} REQUIRED)
endforeach()


# Boost
find_package(Boost 1.74.0 COMPONENTS REQUIRED
# Insert desired libraries below (see /usr/include/boost/ for available options)
serialization
thread
)

# MongoDB
Expand Down
2 changes: 1 addition & 1 deletion functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function(make_exe module srcs link_libs inc_dirs ${compile_defs})
set(bin_module bin_${module})
add_executable(${bin_module} ${srcs})
target_compile_definitions(${bin_module} PUBLIC ${compile_defs})
ament_target_dependencies(${bin_module} PUBLIC rclcpp std_msgs)
ament_target_dependencies(${bin_module} PUBLIC ${ROS_DEPS})
target_link_libraries(${bin_module} PUBLIC ${link_libs})
target_include_directories(
${bin_module} PUBLIC
Expand Down
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<buildtool_depend>ament_cmake</buildtool_depend>
<depend>rclcpp</depend>
<depend>std_msgs</depend>
<depend>custom_interfaces</depend>
<exec_depend>ros2launch</exec_depend>

<export>
Expand Down
10 changes: 10 additions & 0 deletions ros_info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@ PLACEHOLDER_TOPIC_0
PLACEHOLDER_TOPIC_1
mock_local_to_remote_transceiver
mock_remote_to_local_transceiver
ais_ships
batteries
desired_heading
data_sensors
global_path
gps
mock_gps
filtered_wind_sensor
mock_wind_sensors
wind_sensors

0 comments on commit 0fa9953

Please sign in to comment.