11################################################################################
2- # CMake
2+ # Set minimum required version of cmake, project name and compile options
33################################################################################
44cmake_minimum_required (VERSION 2.8.3)
55project (turtlebot3_automatic_parking)
66
77################################################################################
8- # Packages
8+ # Find catkin packages and libraries for catkin and system dependencies
99################################################################################
1010find_package (catkin REQUIRED COMPONENTS
1111 rospy
@@ -16,36 +16,39 @@ find_package(catkin REQUIRED COMPONENTS
1616)
1717
1818################################################################################
19- # Declare ROS messages, services and actions
19+ # Setup for python modules and scripts
2020################################################################################
21+ catkin_python_setup()
2122
2223################################################################################
23- # Declare ROS dynamic reconfigure parameters
24- ################################################################################
25-
26- ################################################################################
27- # Catkin specific configuration
24+ # Declare catkin specific configuration to be passed to dependent projects
2825################################################################################
2926catkin_package(
30- CATKIN_DEPENDS rospy std_msgs sensor_msgs geometry_msgs nav_msgs
27+ CATKIN_DEPENDS
28+ rospy
29+ std_msgs
30+ sensor_msgs
31+ geometry_msgs
32+ nav_msgs
3133)
3234
3335################################################################################
3436# Build
3537################################################################################
3638include_directories (
39+ include
3740 ${catkin_INCLUDE_DIRS}
3841)
3942
4043################################################################################
4144# Install
4245################################################################################
4346catkin_install_python(PROGRAMS
44- scripts /automatic_parking.py
45- DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
47+ nodes /automatic_parking
48+ DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
4649)
4750
48- install (DIRECTORY rviz
51+ install (DIRECTORY launch rviz
4952 DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
5053)
5154
0 commit comments