-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
92 lines (79 loc) · 1.91 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
cmake_minimum_required(VERSION 2.8.3)
project(elikos_sim)
set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
find_package(catkin REQUIRED COMPONENTS
elikos_main
elikos_roomba
geometry_msgs
roscpp
std_msgs
control_toolbox
tf
elikos_msgs
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES elikos_decisionmaking
CATKIN_DEPENDS elikos_main elikos_roomba geometry_msgs roscpp std_msgs control_toolbox tf
# DEPENDS system_lib
)
include_directories(
../elikos_main/src/
${catkin_INCLUDE_DIRS}
)
add_executable(elikos_sim
src/rviz_sim/GameManager.cpp
src/rviz_sim/GameManager.hpp
src/rviz_sim/MAV.cpp
src/rviz_sim/MAV.h
src/rviz_sim/ObstacleRobot.cpp
src/rviz_sim/ObstacleRobot.hpp
src/rviz_sim/Robot.cpp
src/rviz_sim/Robot.hpp
src/rviz_sim/simulation.cpp
src/rviz_sim/Simulation.hpp
src/rviz_sim/TargetRobot.cpp
src/rviz_sim/TargetRobot.hpp)
target_link_libraries(elikos_sim
${catkin_LIBRARIES}
)
add_executable(gazebo_tf_fix
src/gazebo_sim/gazebo_tf_fix/gazebo_tf_fix.cpp
)
target_link_libraries(gazebo_tf_fix
${catkin_LIBRARIES}
)
add_executable(robots_sim
src/gazebo_sim/robots_sim/Obstacle.h
src/gazebo_sim/robots_sim/Obstacle.cpp
src/gazebo_sim/robots_sim/Robot.h
src/gazebo_sim/robots_sim/Robot.cpp
src/gazebo_sim/robots_sim/robots_sim.cpp
)
target_link_libraries(robots_sim
${catkin_LIBRARIES}
)
# roomba_sim
add_executable(sim_roombas
src/roomba_sim/sim_roombas.cpp
src/roomba_sim/Quad.cpp
src/roomba_sim/Quad.h
src/roomba_sim/BoundedPID.cpp
src/roomba_sim/BoundedPID.h
)
target_link_libraries(sim_roombas
${catkin_LIBRARIES}
)
add_executable(sim_detection
src/roomba_sim/SimDetection.cpp
src/roomba_sim/SimDetection.h
)
target_link_libraries(sim_detection
${catkin_LIBRARIES}
)
add_executable(sim_pose2tf
src/roomba_sim/pose2tf.cpp
)
target_link_libraries(sim_pose2tf
${catkin_LIBRARIES}
)