在树莓派4b的ubuntu20.04中安装ros noetic的笔记

在树莓派4b的ubuntu20.04中安装ros noetic的笔记

1.添加ros源地址
sudo sh -c ‘echo “deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main” > /etc/apt/sources.list.d/ros-latest.list’
2.添加keys
sudo apt-key adv --keyserver ‘hkp://keyserver.ubuntu.com:80’ --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
3.sudo apt-get update
4.sudo apt install ros-noetic-desktop-full
5.sudo rosdep init
(如果这个步骤出错,在/etc/hosts中添加“199.232.28.133 raw.githubusercontent.com”)
6.rosdep update
7.echo “source /opt/ros/melodic/setup.bash” >> ~/.bashrc
8.source ~/.bashrc
9.sudo apt install python3-rosinstall python3-rosinstall-generator python3-wstool build-essential

你可能感兴趣的:(笔记,raspberry,pi,ubuntu)