一、编译指定包 1、catkin_make -DCATKIN_WHITELIST_PACKAGES="package1;package2" 2、恢复编译所有包 catkin_make -DCATKIN_WHITELIST_PACKAGES=""