Advertisement
CyberSage87

Week_1 Cmake

Feb 16th, 2020
612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. cmake_minimum_required(VERSION 2.8.3)
  2. project(hrwros_msgs)
  3. find_package(catkin REQUIRED COMPONENTS roscpp geometry_msgs std_msgs trajectory_msgs message_generation moveit_msgs actionlib actionlib_msgs)
  4.  
  5. ################################################
  6. ## Declare ROS messages, services and actions ##
  7. ################################################
  8.  
  9. ## Generate messages in the 'msg' folder
  10. add_message_files(DIRECTORY msg
  11. FILES
  12. ObjectDetection.msg
  13. TargetToolPoses.msg
  14. RobotTrajectories.msg
  15. SensorInformation.msg
  16. BoxHeightInformation.msg
  17. )
  18.  
  19. ## Generate messages in the 'srv' folder
  20. add_service_files(DIRECTORY srv
  21. FILES
  22. ConvertMetresToFeet.srv
  23. )
  24.  
  25. ## Generate messages in the 'action' folder
  26. add_action_files(DIRECTORY action
  27. FILES
  28. CounterWithDelay.action
  29. )
  30.  
  31. ## Generate added messages and services with any dependencies listed here
  32. generate_messages(
  33. DEPENDENCIES
  34. std_msgs
  35. geometry_msgs
  36. trajectory_msgs
  37. moveit_msgs
  38. actionlib_msgs
  39. )
  40.  
  41.  
  42. ###################################
  43. ## catkin specific configuration ##
  44. ###################################
  45. catkin_package(
  46. CATKIN_DEPENDS message_runtime roscpp geometry_msgs std_msgs trajectory_msgs moveit_msgs actionlib_msgs
  47. )
  48.  
  49. ###########
  50. ## Build ##
  51. ###########
  52.  
  53.  
  54. #############
  55. ## Install ##
  56. #############
  57.  
  58.  
  59. #############
  60. ## Testing ##
  61. #############
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement