-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
28 lines (21 loc) · 998 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# %Tag(FULLTEXT)%
cmake_minimum_required(VERSION 2.8.3)
project(suspension_control)
## Find catkin and any catkin packages
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package(Eigen REQUIRED)
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs geometry_msgs genmsg tf localization serial)
include_directories(${Eigen_INCLUDE_DIRS})
include_directories(${localization_INCLUDE_DIRS})
## Declare ROS messages and services
#add_message_files(DIRECTORY msg FILES xy_vector.msg scan_vector.msg scan_point.msg xy_point.msg beach_map.msg)
#add_service_files(DIRECTORY srv FILES InitLocalization.srv)
## Generate added messages and services
generate_messages(DEPENDENCIES std_msgs geometry_msgs)
##add executables
add_executable(suspension_control src/controller.cpp)
target_link_libraries(suspension_control ${catkin_LIBRARIES} serial)
add_dependencies(suspension_control suspension_control_gencpp)
## Declare a catkin package
catkin_package()
# %EndTag(FULLTEXT)%