Skip to content

Commit

Permalink
Remove deprecated pluginlib boost feature disable (#2431)
Browse files Browse the repository at this point in the history
Boost features have been deprecated and removed
in pluginlib for rolling
  • Loading branch information
devrite authored Jul 2, 2021
1 parent 7fa5509 commit 29c1af0
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 57 deletions.
11 changes: 0 additions & 11 deletions nav2_controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ add_library(${library_name}
src/nav2_controller.cpp
)

target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

set(dependencies
angles
rclcpp
Expand All @@ -49,27 +47,18 @@ set(dependencies

add_library(simple_progress_checker SHARED plugins/simple_progress_checker.cpp)
ament_target_dependencies(simple_progress_checker ${dependencies})
# prevent pluginlib from using boost
target_compile_definitions(simple_progress_checker PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

add_library(simple_goal_checker SHARED plugins/simple_goal_checker.cpp)
ament_target_dependencies(simple_goal_checker ${dependencies})
# prevent pluginlib from using boost
target_compile_definitions(simple_goal_checker PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

add_library(stopped_goal_checker SHARED plugins/stopped_goal_checker.cpp)
target_link_libraries(stopped_goal_checker simple_goal_checker)
ament_target_dependencies(stopped_goal_checker ${dependencies})
# prevent pluginlib from using boost
target_compile_definitions(stopped_goal_checker PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

ament_target_dependencies(${library_name}
${dependencies}
)

# prevent pluginlib from using boost
target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
Expand Down
3 changes: 0 additions & 3 deletions nav2_costmap_2d/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ add_library(nav2_costmap_2d_core SHARED
plugins/costmap_filters/costmap_filter.cpp
)

# prevent pluginlib from using boost
target_compile_definitions(nav2_costmap_2d_core PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

set(dependencies
geometry_msgs
laser_geometry
Expand Down
3 changes: 0 additions & 3 deletions nav2_dwb_controller/dwb_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ add_library(dwb_core SHARED
src/trajectory_utils.cpp
)

# prevent pluginlib from using boost
target_compile_definitions(dwb_core PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

ament_target_dependencies(dwb_core
${dependencies}
)
Expand Down
3 changes: 0 additions & 3 deletions nav2_dwb_controller/dwb_critics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ add_library(${PROJECT_NAME} SHARED
src/twirling.cpp
)

# prevent pluginlib from using boost
target_compile_definitions(${PROJECT_NAME} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

set(dependencies
angles
nav2_costmap_2d
Expand Down
2 changes: 0 additions & 2 deletions nav2_dwb_controller/dwb_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ add_library(standard_traj_generator SHARED
src/kinematic_parameters.cpp
src/xy_theta_iterator.cpp)
ament_target_dependencies(standard_traj_generator ${dependencies})
# prevent pluginlib from using boost
target_compile_definitions(standard_traj_generator PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")


if(BUILD_TESTING)
Expand Down
3 changes: 0 additions & 3 deletions nav2_navfn_planner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ ament_target_dependencies(${library_name}
${dependencies}
)

# prevent pluginlib from using boost
target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

pluginlib_export_plugin_description_file(nav2_core global_planner_plugin.xml)

install(TARGETS ${library_name}
Expand Down
5 changes: 0 additions & 5 deletions nav2_planner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ ament_target_dependencies(${library_name}
${dependencies}
)

target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

add_executable(${executable_name}
src/main.cpp
)
Expand All @@ -64,9 +62,6 @@ ament_target_dependencies(${executable_name}
${dependencies}
)

# prevent pluginlib from using boost
target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

install(TARGETS ${library_name}
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
Expand Down
12 changes: 0 additions & 12 deletions nav2_recoveries/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ ament_target_dependencies(nav2_spin_recovery
${dependencies}
)

# prevent pluginlib from using boost
target_compile_definitions(nav2_spin_recovery PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

add_library(nav2_backup_recovery SHARED
plugins/back_up.cpp
)
Expand All @@ -64,9 +61,6 @@ ament_target_dependencies(nav2_backup_recovery
${dependencies}
)

# prevent pluginlib from using boost
target_compile_definitions(nav2_backup_recovery PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

add_library(nav2_wait_recovery SHARED
plugins/wait.cpp
)
Expand All @@ -75,9 +69,6 @@ ament_target_dependencies(nav2_wait_recovery
${dependencies}
)

# prevent pluginlib from using boost
target_compile_definitions(nav2_wait_recovery PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

pluginlib_export_plugin_description_file(nav2_core recovery_plugin.xml)

# Library
Expand All @@ -89,9 +80,6 @@ ament_target_dependencies(${library_name}
${dependencies}
)

# prevent pluginlib from using boost
target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

# Executable
add_executable(${executable_name}
src/main.cpp
Expand Down
3 changes: 0 additions & 3 deletions nav2_regulated_pure_pursuit_controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ set(library_name nav2_regulated_pure_pursuit_controller)
add_library(${library_name} SHARED
src/regulated_pure_pursuit_controller.cpp)

# prevent pluginlib from using boost
target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

ament_target_dependencies(${library_name}
${dependencies}
)
Expand Down
3 changes: 0 additions & 3 deletions nav2_rviz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ target_link_libraries(${library_name}
# TODO: Make this specific to this project (not rviz default plugins)
target_compile_definitions(${library_name} PRIVATE "RVIZ_DEFAULT_PLUGINS_BUILDING_LIBRARY")

# prevent pluginlib from using boost
target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

pluginlib_export_plugin_description_file(rviz_common plugins_description.xml)

install(
Expand Down
3 changes: 0 additions & 3 deletions nav2_smac_planner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ ament_target_dependencies(${library_name}_2d
${dependencies}
)

target_compile_definitions(${library_name} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")
target_compile_definitions(${library_name}_2d PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

pluginlib_export_plugin_description_file(nav2_core smac_plugin.xml)
pluginlib_export_plugin_description_file(nav2_core smac_plugin_2d.xml)

Expand Down
6 changes: 0 additions & 6 deletions nav2_waypoint_follower/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,12 @@ ament_target_dependencies(${library_name}

add_library(wait_at_waypoint SHARED plugins/wait_at_waypoint.cpp)
ament_target_dependencies(wait_at_waypoint ${dependencies})
#prevent pluginlib from using boost
target_compile_definitions(wait_at_waypoint PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

add_library(photo_at_waypoint SHARED plugins/photo_at_waypoint.cpp)
ament_target_dependencies(photo_at_waypoint ${dependencies})
#prevent pluginlib from using boost
target_compile_definitions(photo_at_waypoint PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

add_library(input_at_waypoint SHARED plugins/input_at_waypoint.cpp)
ament_target_dependencies(input_at_waypoint ${dependencies})
#prevent pluginlib from using boost
target_compile_definitions(input_at_waypoint PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")

install(TARGETS ${library_name} wait_at_waypoint photo_at_waypoint input_at_waypoint
ARCHIVE DESTINATION lib
Expand Down

0 comments on commit 29c1af0

Please sign in to comment.