Ubuntu 16.04 catkin_make 常见操做

参考博客:https://answers.ros.org/question/54178/how-to-build-just-one-package-using-catkin_make/html

1. catkin_make 构建单个包python

catkin_make --only-pkg-with-deps <target_package>

构建单个包完成以后可使用以下指令恢复构建所有包的状态ui

catkin_make -DCATKIN_WHITELIST_PACKAGES=""

2. 另一种更好的方式是使用Catkin-Toolsthis

sudo apt-get install python-catkin-tools

2.1构建单个包htm

catkin build <target_package>

2.2能够再包的根目录下构建当前包blog

catkin build --this

  

相关文章
相关标签/搜索