- Learning Robotics using Python
- Lentin Joseph
- 219字
- 2021-06-25 21:04:05
Introducing catkin
Catkin is the official build system of ROS. Before catkin, ROS used the rosbuild system to build packages. Its replacement is catkin on the latest ROS version. Catkin combines CMake macros and Python scripts to provide the same normal workflow that CMake produces. Catkin provides better distribution of packages, better cross-compilation, and better portability than the rosbuild system. For more information, refer to wiki.ros.org/catkin.
Catkin workspace is a folder where you can modify, build, and install catkin packages.
Let's check how to create an ROS catkin workspace.
The following command will create a parent directory called catkin_ws and a subfolder called src:
$ mkdir -p ~/catkin_ws/src
Switch directory to the src folder using the following command. We will create our packages in the src folder:
$ cd ~/catkin_ws/src
Initialize the catkin workspace using the following command:
$ catkin_init_workspace
After you initialize the catkin workspace, you can simply build the package (even if there is no source file) using the following command:
$ cd ~/catkin_ws/ $ catkin_make
The catkin_make command is used to build packages inside the src directory. After building the packages, we will see a build and devel folder in catkin_ws The executables are stored in the build folder. In the devel folder, there are shell script files to add the workspace on the ROS environment.
- 醫(yī)學(xué)文獻(xiàn)管理
- 博物館新視覺:博物館管理叢書
- 人文通識(shí)講演錄:人文教育卷
- 《葉赫那拉氏族譜》整理與研究
- 博物館與文化浙江建設(shè):浙江省博物館學(xué)會(huì)2017年學(xué)術(shù)研討會(huì)論文集
- 西夏檔案及其管理制度研究
- 守望與思索:人文清華講壇實(shí)錄III
- 圖書館服務(wù)管理內(nèi)化:概念、過程及整合因素
- 高校圖書館建設(shè)與知識(shí)管理
- 檔案記憶觀的理論與實(shí)踐
- 茶與咖啡:張信剛文化與經(jīng)濟(jì)講座
- 武大老照片
- 中外學(xué)術(shù)論文中英文摘要語(yǔ)料庫(kù)的創(chuàng)建及應(yīng)用
- 手機(jī)出版產(chǎn)業(yè)鏈博弈分析
- 浩蕩游絲:何焯與清代的批校文化(精裝)