-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
53 lines (43 loc) · 1.11 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
cmake_minimum_required(VERSION 2.8.3)
project(rb5_ros_wrapper)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
tf
nav_msgs
actionlib
actionlib_msgs
geometry_msgs
urdf
controller_manager
joint_state_controller
robot_state_publisher
message_generation
)
add_message_files(
FILES rx.msg
)
add_action_files(
DIRECTORY action
FILES Motion.action
)
generate_messages(DEPENDENCIES actionlib_msgs std_msgs geometry_msgs)
include_directories(${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS})
add_executable(rb5_ros_wrapper src/wrapper.cpp src/lanros2podo.cpp)
target_link_libraries(rb5_ros_wrapper ${catkin_LIBRARIES})
add_executable(rb5_update src/update.cpp src/lanpodo2ros.cpp)
target_link_libraries(rb5_update ${catkin_LIBRARIES})
add_executable(RB5_Client src/RB5_Client.cpp)
target_link_libraries(RB5_Client ${catkin_LIBRARIES})
add_executable(cobot_controller src/main.cpp)
target_link_libraries(cobot_controller ${catkin_LIBRARIES})
catkin_package(
CATKIN_DEPENDS
roscpp
std_msgs
actionlib
actionlib_msgs
geometry_msgs
message_runtime
)