Skip to content

Commit

Permalink
fix: include mussp library into the packages to avoid duplicates (#5706)
Browse files Browse the repository at this point in the history
Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve authored Nov 29, 2023
1 parent 5daaf87 commit 703d91f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
4 changes: 0 additions & 4 deletions perception/multi_object_tracker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ set(MULTI_OBJECT_TRACKER_SRC
src/tracker/model/unknown_tracker.cpp
src/tracker/model/pass_through_tracker.cpp
src/data_association/data_association.cpp
)

ament_auto_add_library(mu_successive_shortest_path SHARED
src/data_association/mu_successive_shortest_path/mu_successive_shortest_path_wrapper.cpp
)

Expand All @@ -42,7 +39,6 @@ ament_auto_add_library(multi_object_tracker_node SHARED
)

target_link_libraries(multi_object_tracker_node
mu_successive_shortest_path
Eigen3::Eigen
)

Expand Down
6 changes: 1 addition & 5 deletions perception/object_merger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@ include_directories(
${EIGEN3_INCLUDE_DIR}
)

ament_auto_add_library(mu_successive_shortest_path SHARED
src/object_association_merger/data_association/mu_successive_shortest_path/mu_successive_shortest_path_wrapper.cpp
)

ament_auto_add_library(object_association_merger SHARED
src/object_association_merger/data_association/data_association.cpp
src/object_association_merger/data_association/mu_successive_shortest_path/mu_successive_shortest_path_wrapper.cpp
src/object_association_merger/node.cpp
)

target_link_libraries(object_association_merger
mu_successive_shortest_path
Eigen3::Eigen
)

Expand Down
7 changes: 1 addition & 6 deletions perception/radar_object_tracker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,17 @@ include_directories(
${EIGEN3_INCLUDE_DIR}
)

# Targets
ament_auto_add_library(mu_successive_shortest_path SHARED
src/data_association/mu_successive_shortest_path/mu_successive_shortest_path_wrapper.cpp
)

ament_auto_add_library(radar_object_tracker_node SHARED
src/radar_object_tracker_node/radar_object_tracker_node.cpp
src/tracker/model/tracker_base.cpp
src/tracker/model/linear_motion_tracker.cpp
src/tracker/model/constant_turn_rate_motion_tracker.cpp
src/utils/utils.cpp
src/data_association/data_association.cpp
src/data_association/mu_successive_shortest_path/mu_successive_shortest_path_wrapper.cpp
)

target_link_libraries(radar_object_tracker_node
mu_successive_shortest_path
Eigen3::Eigen
yaml-cpp
nlohmann_json::nlohmann_json # for debug
Expand Down
6 changes: 1 addition & 5 deletions perception/tracking_object_merger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,15 @@ include_directories(
${EIGEN3_INCLUDE_DIR}
)

ament_auto_add_library(mu_successive_shortest_path SHARED
src/data_association/mu_successive_shortest_path/mu_successive_shortest_path_wrapper.cpp
)

ament_auto_add_library(decorative_tracker_merger_node SHARED
src/data_association/data_association.cpp
src/data_association/mu_successive_shortest_path/mu_successive_shortest_path_wrapper.cpp
src/decorative_tracker_merger.cpp
src/utils/utils.cpp
src/utils/tracker_state.cpp
)

target_link_libraries(decorative_tracker_merger_node
mu_successive_shortest_path
Eigen3::Eigen
)

Expand Down

0 comments on commit 703d91f

Please sign in to comment.