2015-04-21 11:44:02 +00:00
|
|
|
cmake_minimum_required(VERSION 2.8.3)
|
|
|
|
project(hand_control)
|
|
|
|
|
|
|
|
find_package(catkin REQUIRED COMPONENTS
|
|
|
|
pcl_ros
|
2015-04-21 12:26:46 +00:00
|
|
|
pcl_msgs
|
2015-04-21 11:44:02 +00:00
|
|
|
roscpp
|
|
|
|
std_msgs
|
2015-04-30 19:04:03 +00:00
|
|
|
geometry_msgs
|
2015-04-23 15:58:31 +00:00
|
|
|
message_generation
|
2015-05-02 13:48:40 +00:00
|
|
|
ardrone_autonomy
|
2015-04-21 11:44:02 +00:00
|
|
|
)
|
2015-05-01 19:23:00 +00:00
|
|
|
find_package(
|
|
|
|
PkgConfig REQUIRED
|
|
|
|
)
|
|
|
|
|
2015-05-01 21:22:13 +00:00
|
|
|
pkg_check_modules ( ncursesw REQUIRED ncursesw)
|
2015-04-21 11:44:02 +00:00
|
|
|
|
2015-04-30 19:04:03 +00:00
|
|
|
add_message_files(
|
|
|
|
FILES
|
|
|
|
Plan.msg
|
|
|
|
)
|
2015-04-21 11:44:02 +00:00
|
|
|
|
2015-04-30 19:04:03 +00:00
|
|
|
generate_messages(
|
|
|
|
DEPENDENCIES
|
|
|
|
std_msgs
|
|
|
|
geometry_msgs
|
2015-04-21 11:44:02 +00:00
|
|
|
)
|
|
|
|
|
2015-05-02 16:02:58 +00:00
|
|
|
catkin_package(
|
|
|
|
CATKIN_DEPENDS message_runtime
|
|
|
|
)
|
2015-04-21 11:44:02 +00:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${catkin_INCLUDE_DIRS}
|
2015-05-02 13:48:40 +00:00
|
|
|
${ncursesw_INCLUDE_DIRS}
|
2015-04-21 11:44:02 +00:00
|
|
|
)
|
|
|
|
|
2015-04-22 14:53:52 +00:00
|
|
|
add_executable(filtre src/filtre.cpp)
|
|
|
|
target_link_libraries(filtre ${catkin_LIBRARIES})
|
2015-04-21 11:44:02 +00:00
|
|
|
|
2015-04-22 19:38:54 +00:00
|
|
|
add_executable(random_pcl_publisher src/random_pcl_publisher.cpp)
|
|
|
|
target_link_libraries(random_pcl_publisher ${catkin_LIBRARIES})
|
2015-04-23 17:35:16 +00:00
|
|
|
|
|
|
|
add_executable(pcl_displayer src/pcl_displayer.cpp)
|
|
|
|
target_link_libraries(pcl_displayer ${catkin_LIBRARIES})
|
2015-04-23 18:42:40 +00:00
|
|
|
|
2015-05-01 21:22:13 +00:00
|
|
|
add_library(display src/display.cpp)
|
2015-05-01 19:23:00 +00:00
|
|
|
|
|
|
|
add_executable(keyboard_cmd src/keyboard_cmd.cpp)
|
2015-05-01 21:22:13 +00:00
|
|
|
target_link_libraries(keyboard_cmd display ${catkin_LIBRARIES} ${ncursesw_LIBRARIES})
|
2015-05-01 19:23:00 +00:00
|
|
|
|
2015-05-06 14:03:29 +00:00
|
|
|
add_executable(filtreRGB src/filtreRGB.cpp)
|
|
|
|
target_link_libraries(filtreRGB ${catkin_LIBRARIES})
|
|
|
|
|
2015-04-23 18:42:40 +00:00
|
|
|
add_executable(normal_estimator src/normal_estimator.cpp)
|
|
|
|
target_link_libraries(normal_estimator ${catkin_LIBRARIES})
|
2015-04-30 19:04:03 +00:00
|
|
|
add_dependencies(normal_estimator hand_control_generate_messages_cpp)
|
2015-05-06 17:44:31 +00:00
|
|
|
|
|
|
|
add_executable(commande src/commande.cpp)
|
|
|
|
target_link_libraries(commande ${catkin_LIBRARIES})
|