Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add chinese readme files in subfolders #426

Merged
merged 26 commits into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/gpt-translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ jobs:
prompt: |
Please translate the README source file to {targetLanguage}. \
Make the translation sound as natural as possible. \
Keep the HTML snippet in the same place as in the source file or add it below the top heading and keep existing languages. \
{targetLanguage} should be shown in plaintext and other languages as links to the corresponding README files using the Language Culture Name. \
For example, for English, Chinese and German the top of the German README should look like this:
Keep the HTML snippet in the same place as in the source file or add it below the first heading (#) and keep existing languages. \
ONLY {targetLanguage} should be shown in plaintext (between span tags). \
All other languages should be shown as links using the Language Culture Name, e.g. "README.de-DE.md" for German. \
Exception: English is the default language and always points to "README.md". \
For example, the HTML snippet of the German README should look something like this:
<p align="center">
<a href="README.md">English</a> |
<a href="README.zh-CN.md">简体中文</a> |
Expand Down
2 changes: 1 addition & 1 deletion README.de-DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<p align="center">
<a href="README.md">English</a> |
<a href="README_CN.md">简体中文</a> |
<a href="README.zh-CN.md">简体中文</a> |
<span>Deutsch</span>
</p>

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<p align="center">
<span>English</span> |
<a href="README_CN.md">简体中文</a> |
<a href="README.zh-CN.md">简体中文</a> |
<a href="README.de-DE.md">Deutsch</a>
</p>

Expand Down
95 changes: 95 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<a href="https://www.openbot.org/" target="_blank">
<img align="center" alt="Banner" width="100%" src="docs/images/banner.jpg" />
</a>

<h1 align="center"><a>将智能手机变成机器人</a></h1>

<p align="center">
<img alt="GitHub build" src="https://img.shields.io/github/actions/workflow/status/isl-org/OpenBot/gradle.yml?branch=master"></a>
<img alt="GitHub issues" src="https://img.shields.io/github/issues/isl-org/OpenBot"></a>
<img alt="GitHub pull requests" src="https://img.shields.io/github/issues-pr/isl-org/OpenBot"></a>
<img alt="GitHub forks" src="https://img.shields.io/github/forks/isl-org/OpenBot"></a>
<img alt="GitHub stars" src="https://img.shields.io/github/stars/isl-org/OpenBot"></a>
<img alt="Github downloads" src="https://img.shields.io/github/downloads/isl-org/OpenBot/total"></a>
<img alt="Github size" src="https://img.shields.io/github/repo-size/isl-org/OpenBot"></a>
<img alt="Github license" src="https://img.shields.io/github/license/isl-org/OpenBot"></a>
</p>

<p align="center">
<a href="README.md">English</a> |
<span>简体中文</span> |
<a href="README.de-DE.md">Deutsch</a>
</p>

OpenBot 利用智能手机作为低成本机器人的大脑。我们设计了一款小型电动车,成本约为 50 美元,作为机器人的主体。我们的 Android 智能手机软件栈支持高级机器人工作负载,如跟随人和实时自主导航。

## 开始使用 OpenBot
- 构建你自己的 [机器人主体](body/README.md)
- 刷写 [Arduino 固件](firmware/README.md)
- 安装 [Android 应用](android/README.md)
- 通过 [控制器](controller/README.md) 驾驶机器人
- 训练你自己的 [驾驶策略](policy/README.md)

## 获取源代码

- 你可以下载仓库为 [zip 文件](https://github.com/intel-isl/OpenBot/archive/master.zip) 并将其解压到你选择的文件夹中。
- 你可以使用以下命令从 GitHub 克隆 OpenBot 仓库:
```bash
git clone https://github.com/intel-isl/OpenBot.git
```
- 你可以 fork OpenBot 仓库,然后克隆你的本地副本。特别是如果你想要 [贡献](CONTRIBUTING.md),我们推荐这种方式。

## 视频

<a href="https://www.youtube.com/watch?v=RbzPXywJifA" >
<img align="center" width="300" alt="youtube video" src="https://img.youtube.com/vi/RbzPXywJifA/hqdefault.jpg" />
</a>

<a href="https://www.youtube.com/watch?v=qc8hFLyWDOM" >
<img align="center" width="300" alt="youtube video" src="https://img.youtube.com/vi/qc8hFLyWDOM/hqdefault.jpg" />
</a>

## 使用 OpenBot 的酷项目

已经有很多使用 OpenBot 的酷项目。以下是其中的一小部分。点击图片可跳转到相应的项目。

<p float="left">
<a href="https://www.thingiverse.com/thing:4670884" target="_blank">
<img alt="Tank OpenBot" width="24%" src="docs/images/openbot_tank.jpg" />
</a>
<a href="https://diyrobocars.com/2020/12/14/an-improved-version-of-the-intel-openbot" target="_blank">
<img alt="2WD OpenBot" width="24%" src="docs/images/openbot_2wd.jpg" />
</a>
<a href="https://custom-build-robots.com/raspberry-pi-robot-cars/openbot-your-smartphone-controls-a-robot-car-introduction/13860?lang=en" target="_blank">
<img alt="Cardboard OpenBot" width="24%" src="docs/images/chassis_cardboard_1.jpg" />
</a>
<a href="https://www.youtube.com/watch?v=PEj8jWapGt4" target="_blank">
<img alt="Baby Yoda OpenBot" width="24%" src="docs/images/openbot_yoda.jpg" />
</a>
</p>

## 联系

- 加入我们的 [Slack](https://join.slack.com/t/openbot-community/shared_invite/zt-jl8ygxqt-WNRNi9yzh7Lu60qui6Nh6w) 频道,与 OpenBot 社区联系。
- 通过 [电子邮件](mailto:[email protected]) 联系我们。

## 贡献

请阅读 [贡献指南](CONTRIBUTING.md)。如果你不确定从哪里开始,可以查看 [开放问题](https://github.com/intel-isl/OpenBot/issues)。

## 引用

如果你使用 OpenBot,请引用我们的 [论文](https://arxiv.org/abs/2008.10631)。

```bib
@inproceedings{mueller2021openbot,
title = {OpenBot: Turning Smartphones into Robots},
author = {M{\"u}ller, Matthias and Koltun, Vladlen},
booktitle = {Proceedings of the International Conference on Robotics and Automation (ICRA)},
year = {2021},
}
```

<a href="https://www.openbot.org//" target="_blank">
<img align="center" alt="Footer" width="100%" src="docs/images/footer.gif" />
</a>
62 changes: 0 additions & 62 deletions README_CN.md

This file was deleted.

2 changes: 1 addition & 1 deletion android/README.de-DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p align="center">
<a href="README.md">English</a> |
<a href="README_CN.md">简体中文</a> |
<a href="README.zh-CN.md">简体中文</a> |
<span>Deutsch</span>
</p>

Expand Down
2 changes: 1 addition & 1 deletion android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p align="center">
<span>English</span> |
<a href="README_CN.md">简体中文</a> |
<a href="README.zh-CN.md">简体中文</a> |
<a href="README.de-DE.md">Deutsch</a>
</p>

Expand Down
66 changes: 66 additions & 0 deletions android/README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Android Apps

<p align="center">
<a href="README.md">English</a> |
<span>简体中文</span> |
<a href="README.de-DE.md">Deutsch</a>
</p>

## 功能

点击下面的链接阅读应用程序的功能。

- [机器人应用](robot/README.md)
- [控制器应用](controller/README.md)

## 安装应用程序

获取应用程序的最简单方法是使用相应的二维码直接下载到手机上。如果你在手机浏览器上,也可以直接点击二维码。然后你可以在手机上打开apk并[安装](https://www.lifewire.com/install-apk-on-android-4177185)它。请注意,apk仅使用调试密钥签名。

<table style="width:100%;border:none;text-align:center">
<tr>
<td> <a href="https://app.openbot.org/robot" target="_blank">
<img alt="🤖 App" width="50%" src="../docs/images/robot_app_qr_code.png" />
</a>
</td>
<td>
<a href="https://app.openbot.org/controller" target="_blank">
<img alt="🎮 App" width="50%" src="../docs/images/controller_app_qr_code.png" />
</a>
</td>
</tr>
<tr>
<td>🤖 App</td>
<td>🎮 App</td>
</tr>
</table>

或者,你可以从任何[发布](https://github.com/intel-isl/OpenBot/releases)的资产中下载apk。如果你想要来自主分支的最新应用程序,你也可以从构建工件[这里](https://github.com/intel-isl/OpenBot/actions?query=workflow%3A%22Java+CI+with+Gradle%22)下载。请注意,它可能不稳定。如果你以后想对应用程序进行更改,请按照以下步骤编译应用程序并将其部署到手机上。

## 构建应用程序

### 先决条件

- [Android Studio Electric Eel | 2022.1.1或更高版本](https://developer.android.com/studio/index.html)用于构建和安装apk。
- Android设备和最低API 21的Android开发环境。
- 目前,我们使用API 33作为编译SDK和API 32作为目标SDK。它应该会自动安装,但如果没有,你可以手动安装SDK。进入Android Studio -> Preferences -> Appearance & Behaviour -> System Settings -> Android SDK。确保API 33已选中并点击应用。

![Android SDK](../docs/images/android_studio_sdk.jpg)

### 构建过程

1. 打开Android Studio并选择*打开现有的Android Studio项目*。
2. 选择OpenBot/android目录并点击确定。
3. 如果你想安装[OpenBot应用](app/README.md),请确保选择*app*配置。如果你想安装[控制器应用](controller/README.md),请选择*controller*配置。如有必要,确认Gradle同步。要手动执行Gradle同步,请点击gradle图标。
![Gradle Sync](../docs/images/android_studio_bar_gradle.jpg)
4. 连接你的Android设备,并确保在[开发者选项](https://developer.android.com/studio/debug/dev-options)中启用USB调试。根据你的开发环境,可能需要[进一步的步骤](https://developer.android.com/studio/run/device)。现在你应该可以在顶部的导航栏中看到你的设备。
![Phone](../docs/images/android_studio_bar_phone.jpg)
5. 点击运行按钮(绿色箭头)或从顶部菜单中选择运行 > 运行'android'。你可能需要使用构建 > 重建项目来重新构建项目。
![Run](../docs/images/android_studio_bar_run.jpg)
6. 如果它要求你使用即时运行,请点击*继续不使用即时运行*。

### 故障排除

#### 版本

如果你收到类似`项目正在使用不兼容版本(AGP 7.4.0)的Android Gradle插件。最新支持的版本是AGP 7.3.0`的消息,你需要升级Android Studio或降级你的gradle插件。你可以在[这里](https://developer.android.com/studio/releases/gradle-plugin#android_gradle_plugin_and_android_studio_compatibility)阅读更多关于Android Studio和gradle插件之间版本兼容性的信息。
Loading
Loading