Ubuntu 20.04安装ROS noetic
安装ROS noetic
官网步骤
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt install ros-noetic-desktop-full
sudo apt install python3-rosdep
sudo rosdep init
rosdep update
会遇到rosdep update超时,按https://zhuanlan.zhihu.com/p/611657421方法运行脚本即可
工作环境初始化
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc