forked from tier4/autoware.universe
-
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.
feat: port lanelet2_map_preprocessor to ROS2 (tier4#847)
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
- Loading branch information
1 parent
9d106c6
commit ee8551f
Showing
8 changed files
with
104 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,29 @@ | ||
cmake_minimum_required(VERSION 3.0.2) | ||
cmake_minimum_required(VERSION 3.5) | ||
project(lanelet2_map_preprocessor) | ||
|
||
add_compile_options(-std=c++14) | ||
if(NOT CMAKE_CXX_STANDARD) | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
endif() | ||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
add_compile_options(-Wall -Wextra -Wpedantic -Werror) | ||
endif() | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
lanelet2_extension | ||
pcl_ros | ||
roscpp | ||
) | ||
|
||
catkin_package( | ||
) | ||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
include_directories( | ||
include | ||
${catkin_INCLUDE_DIRS} | ||
SYSTEM | ||
${PCL_INCLUDE_DIRS} | ||
) | ||
|
||
add_executable(fix_z_value_by_pcd src/fix_z_value_by_pcd.cpp) | ||
add_dependencies(fix_z_value_by_pcd ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) | ||
target_link_libraries(fix_z_value_by_pcd ${catkin_LIBRARIES}) | ||
|
||
add_executable(transform_maps src/transform_maps.cpp) | ||
add_dependencies(transform_maps ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) | ||
target_link_libraries(transform_maps ${catkin_LIBRARIES}) | ||
|
||
add_executable(merge_close_lines src/merge_close_lines.cpp) | ||
add_dependencies(merge_close_lines ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) | ||
target_link_libraries(merge_close_lines ${catkin_LIBRARIES}) | ||
ament_auto_add_executable(fix_z_value_by_pcd src/fix_z_value_by_pcd.cpp) | ||
ament_auto_add_executable(transform_maps src/transform_maps.cpp) | ||
ament_auto_add_executable(merge_close_lines src/merge_close_lines.cpp) | ||
ament_auto_add_executable(merge_close_points src/merge_close_points.cpp) | ||
ament_auto_add_executable(remove_unreferenced_geometry src/remove_unreferenced_geometry.cpp) | ||
ament_auto_add_executable(fix_lane_change_tags src/fix_lane_change_tags.cpp) | ||
|
||
add_executable(merge_close_points src/merge_close_points.cpp) | ||
add_dependencies(merge_close_points ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) | ||
target_link_libraries(merge_close_points ${catkin_LIBRARIES}) | ||
|
||
add_executable(remove_unreferenced_geometry src/remove_unreferenced_geometry.cpp) | ||
add_dependencies(remove_unreferenced_geometry ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) | ||
target_link_libraries(remove_unreferenced_geometry ${catkin_LIBRARIES}) | ||
|
||
add_executable(fix_lane_change_tags src/fix_lane_change_tags.cpp) | ||
add_dependencies(fix_lane_change_tags ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) | ||
target_link_libraries(fix_lane_change_tags ${catkin_LIBRARIES}) | ||
|
||
## Install executables and/or libraries | ||
install( | ||
TARGETS | ||
fix_z_value_by_pcd | ||
transform_maps | ||
merge_close_lines | ||
merge_close_points | ||
remove_unreferenced_geometry | ||
fix_lane_change_tags | ||
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
ament_auto_package() |
Empty file.
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
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
Oops, something went wrong.