创建catkin工作空间
# 创建一个文件夹
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
# 编译
cd ~/catkin_ws/
catkin_make
# 设置环境变量到 ROS_PACKAGE_PATH
source devel/setup.bash
# 查看环境变量
echo $ROS_PACKAGE_PATH
来源:oschina
链接:https://my.oschina.net/u/4228078/blog/3139219