mkdir -p /tmp/quickstart_ws/src # Make a new workspace and source spacecd /tmp/quickstart_ws # Navigate to the workspace rootcatkin init # Initialize it with a hidden marker filecatkin create pkg pkg_a # Populate the source space with packages...catkin create pkg pkg_bcatkin create pkg pkg_c --catkin-deps pkg_acatkin create pkg pkg_d --catkin-deps pkg_a pkg_bcatkin list # List the packages in the workspacecatkin build # Build all packages in the workspacesource /tmp/quickstart_ws/devel/setup.bash # Load the workspace's environmentcatkin clean # Clean all the build products
ros编译系统详解
https://www.jianshu.com/p/7fccfe18d7d3