forked from autowarefoundation/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.
Port spline interpolation to ros2. (#65)
- Loading branch information
Showing
5 changed files
with
23 additions
and
50 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,43 +1,14 @@ | ||
cmake_minimum_required(VERSION 3.0.2) | ||
cmake_minimum_required(VERSION 3.5) | ||
project(spline_interpolation) | ||
|
||
add_compile_options(-std=c++14) | ||
if(NOT CMAKE_CXX_STANDARD) | ||
set(CMAKE_CXX_STANDARD 14) | ||
endif() | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
roscpp | ||
) | ||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
catkin_package( | ||
INCLUDE_DIRS | ||
include | ||
LIBRARIES | ||
spline_interpolation | ||
) | ||
|
||
include_directories( | ||
include | ||
${catkin_INCLUDE_DIRS} | ||
) | ||
ament_auto_add_library(spline_interpolation src/spline_interpolation.cpp) | ||
|
||
add_library(spline_interpolation src/spline_interpolation.cpp) | ||
|
||
target_link_libraries(spline_interpolation | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies(spline_interpolation | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
install( | ||
TARGETS | ||
spline_interpolation | ||
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
|
||
## Install project namespaced headers | ||
install(DIRECTORY include/${PROJECT_NAME}/ | ||
DESTINATION ${CATKIN_PACKAGE_INCLUDE_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>spline_interpolation</name> | ||
<version>0.1.0</version> | ||
<description>The spline interpolation package</description> | ||
<maintainer email="fumiya.watanabe@tier4.jp">Fumiya Watanabe</maintainer> | ||
<author email="fumiya.watanabe@tier4.jp">Fumiya Watanabe</author> | ||
|
||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>spline_interpolation</name> | ||
<version>0.1.0</version> | ||
<description>The spline interpolation package</description> | ||
<maintainer email="fumiya.watanabe@tier4.jp">Fumiya Watanabe</maintainer> | ||
<author email="fumiya.watanabe@tier4.jp">Fumiya Watanabe</author> | ||
<license>Apache 2</license> | ||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
<depend>rclcpp</depend> | ||
|
||
<depend>roscpp</depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
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