-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakeLists.txt
48 lines (39 loc) · 1.29 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cmake_minimum_required(VERSION 2.8.3)
project(tightly_coupled)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
mavros_msgs
roscpp
rospy
std_msgs
sensor_msgs
nlink_parser
)
find_package(Eigen3 REQUIRED)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
include_directories(
include
${catkin_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
)
catkin_package(
LIBRARIES tightly_coupled_ekf tightly_coupled_eskf tightly_coupled_liekf
CATKIN_DEPENDS geometry_msgs sensor_msgs roscpp rospy std_msgs message_runtime nlink_parser
INCLUDE_DIRS ${EIGEN3_INCLUDE_DIRS}
)
add_library(tightly_coupled_ekf src/tightlyCoupledFusionEKF.cpp)
add_executable(ekfNode src/ekfNode.cpp)
target_link_libraries(ekfNode ${catkin_LIBRARIES} tightly_coupled_ekf)
add_library(tightly_coupled_eskf src/tightlyCoupledFusionESKF.cpp)
add_executable(eskfNode src/eskfNode.cpp)
target_link_libraries(eskfNode ${catkin_LIBRARIES} tightly_coupled_eskf)
add_library(tightly_coupled_liekf src/tightlyCoupledFusionLIEKF.cpp)
add_executable(liekfNode src/liekfNode.cpp)
target_link_libraries(liekfNode ${catkin_LIBRARIES} tightly_coupled_liekf)
add_library(tightly_coupled_ukf src/tightlyCoupledFusionUKF.cpp)
add_executable(ukfNode src/ukfNode.cpp)
target_link_libraries(ukfNode ${catkin_LIBRARIES} tightly_coupled_ukf)