1 Star 0 Fork 1

gg / linux-ros

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
installROS.sh 835 Bytes
一键复制 编辑 原始数据 按行查看 历史
gg 提交于 2021-09-12 02:12 . newtoros-melodic
#!/bin/bash
echo ready to Install ROS
release_num=$(lsb_release -r --short)
code_name=$(lsb_release -c --short)
hw_arch=$(uname -m)
echo "release_num= $release_num"
echo "code_name= $code_name"
echo "hardware Architecture = $hw_arch"
if [ $release_num == "18.04" ];then
echo ready to Install ROS melodic For ubuntu 18.04
echo set_source
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'
echo Install key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
echo Install lie
sudo apt-get update
sudo apt-get install ros-melodic-desktop-full
sudo apt-get install ros-melodic-rqt*
echo rosdep init
sudo rosdep init
rosdep update
else
echo not suported,beg yourself
fi
1
https://gitee.com/fortrees/linux-ros.git
git@gitee.com:fortrees/linux-ros.git
fortrees
linux-ros
linux-ros
master

搜索帮助