-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCMakeLists.txt
39 lines (27 loc) · 951 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
29
30
31
32
33
34
35
36
cmake_minimum_required(VERSION 2.8.3)
project(aerial_manipulation)
find_package(catkin REQUIRED COMPONENTS
gazebo_ros
roscpp
mav_msgs
geometry_msgs
std_msgs
sensor_msgs
cmake_modules
)
find_package(gazebo REQUIRED)
link_directories(${GAZEBO_LIBRARY_DIRS})
include_directories(${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS} ${GAZEBO_INCLUDE_DIRS} /usr/include/eigen3)
catkin_package(
DEPENDS
roscpp
gazebo_ros
)
add_library(control_plugin SHARED src/controller.cpp)
target_link_libraries(control_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
add_library(gear_pub SHARED src/gear_joint_sensor.cpp)
target_link_libraries(gear_pub ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
add_executable(kinova_tele src/robot_teleop_node.cpp)
target_link_libraries(kinova_tele ${catkin_LIBRARIES} gazebo_math gazebo_common)
add_executable(harrier_tele src/uav_teleop_node.cpp)
target_link_libraries(harrier_tele ${catkin_LIBRARIES} )