Files
teleoperation/CMakeLists.txt
2019-01-30 17:37:26 +01:00

53 lines
1013 B
CMake

cmake_minimum_required(VERSION 2.8.3)
project(teleoperation)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_transport
roscpp
rospy
sensor_msgs
std_msgs
tf
aruco
message_generation
actionlib_msgs
)
add_service_files(
DIRECTORY srv
FILES
InformController.srv
)
add_action_files(
DIRECTORY action
FILES
RequestSpeech.action
)
generate_messages(DEPENDENCIES actionlib_msgs std_msgs)
catkin_package(
CATKIN_DEPENDS message_runtime actionlib_msgs
INCLUDE_DIRS include
)
include_directories(
include
${catkin_INCLUDE_DIRS}
)
catkin_install_python(PROGRAMS
./script/controller.py
./script/walker.py
./script/fall_detector.py
./script/imitator.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
add_executable(aruco_detector src/aruco_detector.cpp)
add_executable(speech src/speech.cpp)
target_link_libraries(aruco_detector ${catkin_LIBRARIES} ${aruco_LIB})
target_link_libraries(speech ${catkin_LIBRARIES} ${aruco_LIB})