-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from M0rtzz/master
📝 doc: add docs for ros and ros2
- Loading branch information
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: ROS 镜像使用帮助 | ||
sidebar_label: ROS | ||
--- | ||
|
||
## ROS 介绍 | ||
|
||
ROS(机器人操作系统,Robot Operating System),是专为机器人软件开发所设计出来的一套电脑操作系统架构。其托管在 [http://packages.ros.org/ros](http://packages.ros.org/ros) 上。 | ||
|
||
## ROS 软件源替换 | ||
|
||
1. 导入 key: | ||
|
||
```bash | ||
sudo gpg --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 | ||
sudo gpg --export C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 | sudo tee /usr/share/keyrings/ros.gpg > /dev/null | ||
``` | ||
|
||
2. 将软件源添加至系统: | ||
|
||
```bash | ||
sudo tee /etc/apt/sources.list.d/ros-latest.list > /dev/null << EOF | ||
deb [signed-by=/usr/share/keyrings/ros.gpg] https://mirrors.hust.edu.cn/ros/ubuntu $(lsb_release -sc) main | ||
EOF | ||
``` | ||
|
||
3. 刷新软件源缓存`sudo apt update`,安装所需的 ROS 发行版。 | ||
|
||
## 引用 | ||
|
||
1. [中科大镜像源使用帮助](https://mirrors.ustc.edu.cn/help/ros.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: ROS2 镜像使用帮助 | ||
sidebar_label: ROS2 | ||
--- | ||
|
||
## ROS2 介绍 | ||
|
||
ROS2(Robot Operating System 2)是ROS(机器人操作系统,Robot Operating System)的下一代版本,它是一个用于机器人开发的开源平台,提供了一系列工具和库,用于构建机器人应用程序。其托管在 [http://packages.ros.org/ros2](http://packages.ros.org/ros2) 上。 | ||
|
||
## ROS2 软件源替换 | ||
|
||
1. 导入 key: | ||
|
||
```bash | ||
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg | ||
``` | ||
|
||
2. 将软件源添加至系统: | ||
|
||
```bash | ||
sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null << EOF | ||
deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://mirrors.hust.edu.cn/ros2/ubuntu $(lsb_release -sc) main | ||
EOF | ||
``` | ||
|
||
3. 刷新软件源缓存`sudo apt update`,安装所需的 ROS2 发行版。 | ||
|
||
## 引用 | ||
|
||
1. [中科大镜像源使用帮助](https://mirrors.ustc.edu.cn/help/ros2.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters