123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- cmake_minimum_required(VERSION 3.0.2)
- project(lst_robot_r)
- #
- # add_compile_options(-std=c++11)
- #
- #
- #
- find_package(catkin REQUIRED COMPONENTS
- roscpp
- rospy
- std_msgs
- message_generation
- )
- #
- # find_package(Boost REQUIRED COMPONENTS system)
- #
- #
- #
- # catkin_python_setup()
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- add_message_files(
- FILES
- JointTrajectoryPoint_ex.msg
- JointTrajectory_ex.msg
-
- )
- #
- # add_service_files(
- # FILES
- # Service1.srv
- # Service2.srv
- # )
- #
- # add_action_files(
- # FILES
- # Action1.action
- # Action2.action
- # )
- #
- generate_messages(
- DEPENDENCIES
- std_msgs
- )
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- #
- # generate_dynamic_reconfigure_options(
- # cfg/DynReconf1.cfg
- # cfg/DynReconf2.cfg
- # )
- #
- #
- #
- #
- #
- #
- #
- #
- #
- catkin_package(
- # INCLUDE_DIRS include
- # LIBRARIES lstrobot_planning
- CATKIN_DEPENDS roscpp rospy std_msgs message_runtime
- # DEPENDS system_lib
- )
- #
- #
- #
- #
- #
- include_directories(
- include_directories(include ${catkin_INCLUDE_DIRS} )
- # include
- ${catkin_INCLUDE_DIRS}
- )
- #
- # add_library(${PROJECT_NAME}
- # src/${PROJECT_NAME}/lstrobot_planning.cpp
- # )
- #
- #
- #
- # add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
- #
- #
- #
- # add_executable(${PROJECT_NAME}_node src/lstrobot_planning_node.cpp)
- #
- #
- #
- #
- # set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "")
- #
- #
- # add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
- #
- # target_link_libraries(${PROJECT_NAME}_node
- # ${catkin_LIBRARIES}
- # )
- #
- #
- #
- # all install targets should use catkin DESTINATION variables
- # See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
- #
- #
- catkin_install_python(PROGRAMS
- DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
- )
- #
- #
- # install(TARGETS lstrobot_planning_node
- # RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
- # )
- #
- #
- # install(TARGETS set_update
- # ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
- # LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
- # RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
- # )
- #
- # install(DIRECTORY include/${PROJECT_NAME}/
- # DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
- # FILES_MATCHING PATTERN "*.h"
- # PATTERN ".svn" EXCLUDE
- # )
- #
- # install(FILES
- #
- #
- # DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
- # )
- install(DIRECTORY launch
- DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
- )
- #
- #
- #
- #
- # catkin_add_gtest(${PROJECT_NAME}-test test/test_lstrobot_planning.cpp)
- # if(TARGET ${PROJECT_NAME}-test)
- # target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
- # endif()
- #
- # catkin_add_nosetests(test)
- # add_executable(set_update scripts/set_update_paramter_p.py)
- #set_target_properties(moveit_cartesian_demo PROPERTIES LINKER_LANGUAGE PYTHON)
- #add_executable(add_objects src/add_objects.cpp)
- #add_dependencies(add_objects ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
- #target_link_libraries(add_obje
- # ${catkin_LIBRARIES}
- # ${OpenCV_LIBRARIES}
- # ${PCL_LIBRARIES}
- #)
|