-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
62 lines (53 loc) · 1.17 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
cmake_minimum_required(VERSION 3.0.2)
project(spot_collector)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
roscpp
rospy
sensor_msgs
std_msgs
tf2
tf2_ros
tf2_py
tf2_sensor_msgs
ros_numpy
depth_image_proc
std_srvs
spot_msgs
pcl_ros
message_generation
)
find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED COMPONENTS system)
catkin_python_setup()
add_service_files(
FILES
MultiGrasp.srv
)
generate_messages(
DEPENDENCIES
geometry_msgs sensor_msgs std_msgs
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES spot_collector
# CATKIN_DEPENDS rospy std_msgs
DEPENDS EIGEN3
)
include_directories(
# include
${catkin_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIRS}
)
catkin_install_python(PROGRAMS
scripts/cloud2grid.py
scripts/move_spot_pose.py
scripts/pick_place_srv.py
scripts/yolo_garbage_spot.py
scripts/interface.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
add_executable(lidar_filter src/lidar_filter.cpp)
target_link_libraries(lidar_filter ${catkin_LIBRARIES})
add_executable(traversability_builder src/traversability_builder.cpp)
target_link_libraries(traversability_builder ${catkin_LIBRARIES})