参考
ROS
安装步骤
- 选择安装源(中科大的镜像源)
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
- 添加key
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116
- 安装完整的ROS
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
- 初始化rosdep
sudo rosdep init
rosdep update
- 添加环境变量
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
- 安装building所需要的包
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
网友评论