2.2.5.1. Path Planning ROS Package

2.2.5.1.1. path_planning

Package for Path Planning

Maintainers:
Version:

3.0.0

License:

TODO

2.2.5.1.1.1. Dependencies

Build:
Build export:
Build tool:

catkin

Execution:

2.2.5.1.1.2. Package definition files

2.2.5.1.1.2.1. CMakeLists.txt

 1cmake_minimum_required(VERSION 3.21.0)
 2project(path_planning VERSION 3.0.0)
 3
 4if(NOT CMAKE_BUILD_TYPE)
 5    set(CMAKE_BUILD_TYPE Release)
 6endif()
 7
 8set(CMAKE_CXX_STANDARD 17)
 9set(CMAKE_CXX_STANDARD_REQUIRED ON)
10
11# Set optimization for Debug and Release builds
12set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -Wall")
13set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
14
15find_package(catkin REQUIRED COMPONENTS
16  roslib
17  roscpp
18  rospy
19  std_msgs
20  utilities
21)
22
23find_package(Eigen3 REQUIRED)
24find_package(Python3 COMPONENTS Development REQUIRED)
25
26catkin_package(
27  CATKIN_DEPENDS roslib roscpp rospy std_msgs utilities
28)
29
30include_directories(
31  ${catkin_INCLUDE_DIRS}
32  ${CMAKE_CURRENT_SOURCE_DIR}/include
33  ${EIGEN3_INCLUDE_DIR}
34  ${Python3_INCLUDE_DIRS}
35)
36
37add_library(path_planning_lib src/path_planning_lib.cpp)
38add_library(splines src/splines.cpp)
39target_link_libraries(path_planning_lib ${catkin_LIBRARIES})
40
41add_executable(path_planning src/path_planning.cpp)
42target_link_libraries(path_planning ${catkin_LIBRARIES} path_planning_lib splines)
43
44# Add the test executable
45add_executable(path_planning_test test/path_planning_test.cpp)
46target_link_libraries(path_planning_test ${catkin_LIBRARIES} path_planning_lib splines)

2.2.5.1.1.2.2. package.xml

 1<?xml version="1.0"?>
 2<package format="2">
 3  <name>path_planning</name>
 4  <version>3.0.0</version>
 5  <description>Package for Path Planning</description>
 6
 7  <maintainer email="birk.blumhoff@curemannheim.de">Birk Blumhoff</maintainer>
 8  <maintainer email="ole.kettern@curemannheim.de">Ole Kettern</maintainer>
 9  <maintainer email="nechirvan.zibar@curemannheim.de">Nechirvan Zibar</maintainer>
10
11  <license>TODO</license>
12
13  <buildtool_depend>catkin</buildtool_depend>
14  <build_depend>roslib</build_depend>
15  <build_depend>roscpp</build_depend>
16  <build_depend>rospy</build_depend>
17  <build_depend>std_msgs</build_depend>
18  <build_depend>utilities</build_depend>
19  <build_export_depend>roslib</build_export_depend>
20  <build_export_depend>roscpp</build_export_depend>
21  <build_export_depend>rospy</build_export_depend>
22  <build_export_depend>std_msgs</build_export_depend>
23  <build_export_depend>utilities</build_export_depend>
24  <exec_depend>roslib</exec_depend>
25  <exec_depend>roscpp</exec_depend>
26  <exec_depend>rospy</exec_depend>
27  <exec_depend>std_msgs</exec_depend>
28  <exec_depend>utilities</exec_depend>
29
30  <export>
31  </export>
32</package>