1234567891011121314151617 |
- echo "nvidia" | sudo -S 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'
- echo "nvidia" | sudo -S apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
- echo "nvidia" | sudo -S apt-get update
- echo "nvidia" | sudo -S apt-get install ros-melodic-desktop-full
- echo "nvidia" | sudo -S apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
- echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
- source ~/.bashrc
- echo "nvidia" | sudo -S apt-get install python-rosdep
- echo "nvidia" | sudo -S pip3 install rosdepc
-
- echo "nvidia" | sudo -S rosdepc init
- rosdepc update
|