forked from ClemensElflein/xbot_positioning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
66 lines (52 loc) · 1.24 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
cmake_minimum_required(VERSION 3.0.2)
project(xbot_positioning)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
xbot_msgs
roscpp
tf2_geometry_msgs
tf2
tf2_ros
message_generation
geometry_msgs
)
find_package(
Boost
)
add_message_files(
FILES
KalmanState.msg
)
add_service_files(
FILES
GPSControlSrv.srv
SetPoseSrv.srv
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES mower_comms
# CATKIN_DEPENDS mower_msgs roscpp serial
# DEPENDS system_lib
)
###########
## Build ##
###########
include_directories(
include
${catkin_INCLUDE_DIRS}
)
add_executable(xbot_positioning
src/xbot_positioning_core.h
src/xbot_positioning_core.cpp
src/xbot_positioning.cpp
src/OrientationMeasurementModel.hpp
src/OrientationMeasurementModel2.hpp
src/PositionMeasurementModel.hpp
src/SystemModel.hpp)
add_dependencies(xbot_positioning ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(xbot_positioning ${catkin_LIBRARIES})