- 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.
- 圖書館學(xué)是什么
- 文獻(xiàn)保護(hù)中英雙解詞語(yǔ)手冊(cè)
- 國(guó)外圖書館動(dòng)漫資源建設(shè)與服務(wù)
- 從私藏到公共展覽:民國(guó)時(shí)期廣州的博物館和展覽會(huì)
- 高校圖書館門戶網(wǎng)站建設(shè)(谷臻小簡(jiǎn)·AI導(dǎo)讀版)
- 高校圖書館閱讀推廣與宣傳促進(jìn)研究
- 科學(xué)名家
- 檔案智慧化管理與開發(fā)利用的探索研究
- 大學(xué)圖書館信息服務(wù)與信息素養(yǎng)教育理論與實(shí)踐研究
- 基于價(jià)值全面實(shí)現(xiàn)的檔案信息資源配置
- 高校圖書館休閑功能開發(fā)研究
- 天南學(xué)術(shù)(第一輯)
- 且為繁華寄書香:高校圖書館閱讀推廣理論與實(shí)務(wù)
- 中外學(xué)術(shù)論文中英文摘要語(yǔ)料庫(kù)的創(chuàng)建及應(yīng)用
- 手機(jī)出版產(chǎn)業(yè)鏈博弈分析