forked from ros-navigation/navigation2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch nav2_smoother to modern CMake idioms. (ros-navigation#4603)
Signed-off-by: Chris Lalancette <[email protected]> Signed-off-by: Joseph Duchesne <[email protected]>
- Loading branch information
1 parent
1e962b1
commit 3a0f160
Showing
3 changed files
with
132 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,48 @@ | ||
ament_add_gtest(test_smoother_server | ||
test_smoother_server.cpp | ||
) | ||
|
||
target_link_libraries(test_smoother_server | ||
${library_name} | ||
) | ||
|
||
ament_target_dependencies(test_smoother_server | ||
${dependencies} | ||
${geometry_msgs_TARGETS} | ||
nav2_core::nav2_core | ||
nav2_costmap_2d::nav2_costmap_2d_client | ||
nav2_costmap_2d::nav2_costmap_2d_core | ||
${nav2_msgs_TARGETS} | ||
pluginlib::pluginlib | ||
rclcpp::rclcpp | ||
rclcpp_action::rclcpp_action | ||
rclcpp_lifecycle::rclcpp_lifecycle | ||
) | ||
|
||
ament_add_gtest(test_simple_smoother | ||
test_simple_smoother.cpp | ||
) | ||
|
||
target_link_libraries(test_simple_smoother | ||
simple_smoother | ||
nav2_core::nav2_core | ||
nav2_costmap_2d::nav2_costmap_2d_client | ||
nav2_costmap_2d::nav2_costmap_2d_core | ||
${nav2_msgs_TARGETS} | ||
nav2_util::nav2_util_core | ||
${nav_msgs_TARGETS} | ||
rclcpp::rclcpp | ||
rclcpp_lifecycle::rclcpp_lifecycle | ||
tf2::tf2 | ||
) | ||
|
||
ament_target_dependencies(test_simple_smoother | ||
${dependencies} | ||
) | ||
|
||
|
||
ament_add_gtest(test_savitzky_golay_smoother | ||
test_savitzky_golay_smoother.cpp | ||
) | ||
|
||
target_link_libraries(test_savitzky_golay_smoother | ||
savitzky_golay_smoother | ||
) | ||
|
||
ament_target_dependencies(test_savitzky_golay_smoother | ||
${dependencies} | ||
ament_index_cpp::ament_index_cpp | ||
nav2_core::nav2_core | ||
nav2_costmap_2d::nav2_costmap_2d_client | ||
nav2_costmap_2d::nav2_costmap_2d_core | ||
${nav2_msgs_TARGETS} | ||
nav2_util::nav2_util_core | ||
${nav_msgs_TARGETS} | ||
rclcpp::rclcpp | ||
rclcpp_lifecycle::rclcpp_lifecycle | ||
tf2_ros::tf2_ros | ||
) |