Skip to content

Commit 1f8a897

Browse files
committed
refactor: update the path of img
1 parent 83a9ce3 commit 1f8a897

20 files changed

Lines changed: 206 additions & 8 deletions

docs/10.lidar_2d_slam.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ roslaunch tianracer_rviz view_mapping.launch
7979
2. 观察 Rviz 界面,白色的区域是路,黑色的线条是墙。
8080
3. **关键点**:速度要慢,转弯要稳,让激光雷达有足够的时间“看清”环境。
8181

82-
![建图过程](https://tianbot-pic.oss-cn-beijing.aliyuncs.com/tianbot-pic/Tianbot-Doc20240528164438.png)
82+
![建图过程](assets/10/2d_lidar_slam.png)
8383

8484
---
8585

docs/11.multi_machine_communicate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ROS 采用**分布式**网络通信:
4747

4848
## 1.2 通信原理图解
4949

50-
![width:750px](https://tianbot-pic.oss-cn-beijing.aliyuncs.com/tianbot/202109241858758.webp)
50+
![width:750px](assets/11/ros-node-communication-architecture.webp)
5151

5252
**说明**:上图展示了 Talker 和 Listener 如何通过 Master 建立联系
5353

docs/12.multi_goals_navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ roslaunch tianracer_rviz view_teb_planner.launch
9595
- `goalListX`:X 坐标列表(如 `[1.0, 2.0, 3.0]`
9696
- `goalListY`:Y 坐标列表(如 `[0.5, 1.5, 0.5]`
9797

98-
![width:500px](https://tianbot-pic.oss-cn-beijing.aliyuncs.com/tianbot/202112211740915.png)
98+
![width:800px](assets/12/multi_goals_launch_param.png)
9999

100100
---
101101

@@ -160,7 +160,7 @@ roslaunch tianracer_rviz view_teb_planner.launch
160160

161161
## 完整操作演示 🎥
162162

163-
![width:700px](https://tianbot-pic.oss-cn-beijing.aliyuncs.com/tianbot-pic/Tianbot-Docwaypoints_multi_goals_rc3.gif)
163+
![width:700px](assets/12/waypoints_multi_goals_rc3.gif)
164164

165165
**说明**:该策略会根据赛车距离当前目标点的距离自动发布下一个点。
166166

docs/3-1.reconnect_and_software_env_config.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SSH 是一种超安全的远程控制方式。如果你遇到连接报错,通
5151
- 插入 `Formula Mini` 上位机板卡的 **USB2** 接口。
5252

5353
---
54-
![width:600px](assets/3/1-connect-usb-typec-with-cable.jpg)
54+
![width:600px](assets/3/1-connect-usb-typec-with-cable.png)
5555

5656
**说明**:上图为 T110 的连接方式,其他 Jetson 车型也类似。
5757

@@ -271,6 +271,8 @@ ssh sunrise@192.168.0.72
271271
- **极速有线**:输入 `192.168.128.10`(需要插线)。
272272
- **自由无线**:输入小车的 WiFi IP(如 `192.168.0.72`)。
273273

274+
---
275+
274276
![width:600px](assets/3/1-rustdesk-enter-ether-ip.png)
275277

276278
---
@@ -284,7 +286,7 @@ ssh sunrise@192.168.0.72
284286
- **密码**`Tianbot_2016`
285287
- 点击 OK 后,你就进入了无人车的图形界面。
286288

287-
![width:600px](https://tianbot-pic.oss-cn-beijing.aliyuncs.com/tianbot-pic/Tianbot-Docimage-20240604153305404.png)
289+
![width:600px](assets/3/1-rustdesk-enter-passwd.png)
288290

289291
---
290292

@@ -304,7 +306,7 @@ ssh sunrise@192.168.0.72
304306

305307
再次输入密码 `Tianbot_2016`
306308

307-
![width:600px](https://tianbot-pic.oss-cn-beijing.aliyuncs.com/tianbot-pic/Tianbot-Docimage-20240604153305404.png)
309+
![width:600px](assets/3/1-rustdesk-enter-passwd.png)
308310

309311
---
310312

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
---
2+
marp: true
3+
theme: TsinghuaPPT
4+
paginate: true
5+
---
6+
<style>
7+
img {
8+
display: block;
9+
margin: 0 auto;
10+
}
11+
</style>
12+
13+
# 3-2 SSH 工具:MobaXterm 与 X11 转发
14+
15+
**目标**:掌握 MobaXterm 远程连接及图形界面显示
16+
17+
---
18+
19+
## 📋 本节目录
20+
21+
1. 认识 MobaXterm
22+
2. 使用 SSH 远程登录
23+
3. 神奇的 X11 转发
24+
4. 实战练习
25+
26+
---
27+
28+
# 1️⃣ 认识 MobaXterm
29+
30+
---
31+
32+
## 为什么需要 MobaXterm?
33+
34+
**痛点**
35+
普通的黑白命令行窗口(CMD/PowerShell):
36+
- 功能太单一
37+
- 传文件很麻烦
38+
- 记不住复杂的命令
39+
40+
---
41+
42+
**解决方案**
43+
**MobaXterm** 就像是 SSH 界的 "瑞士军刀"
44+
- ✅ 集成了终端(输命令)
45+
- ✅ 集成了文件管理(拖拽传文件)
46+
- ✅ 界面好看,功能强大
47+
48+
---
49+
50+
## 下载与安装 📥
51+
52+
**步骤简单**
53+
54+
1. 访问官网下载免费便携版([Home Edition portable](https://download.mobatek.net/2542025111600034/MobaXterm_Portable_v25.4.zip)
55+
2. 解压下载的压缩包
56+
3. 直接双击运行 `.exe` 文件(绿色免安装),仅仅支持`Windows`客户端
57+
58+
> **💡 提示**:建议将软件放在专门的工具文件夹中,方便查找。
59+
60+
---
61+
62+
![](assets/3/2-mobaxterm-open.png)
63+
64+
---
65+
66+
67+
![](assets/3/2-mobaxterm-start-session.png)
68+
69+
---
70+
71+
# 2️⃣ 使用 SSH 远程登录
72+
73+
---
74+
## 第一步:创建会话 🔌
75+
76+
点击左上角的 `Session`(会话)按钮,选择 `SSH`
77+
78+
**说明**:这是连接远程计算机的第一步。
79+
80+
81+
---
82+
83+
![](assets/3/2-mobaxterm-select-ssh.png)
84+
85+
---
86+
87+
## 第二步:填写连接信息
88+
我们需要填写三个核心信息:
89+
90+
1. **Remote host** (远程主机):目标电脑的 IP 地址
91+
2. **Specify username** (用户名):登录账号(如 `ubuntu`
92+
3. **Port** (端口):默认是 `22`
93+
94+
---
95+
96+
![enter target ip and login user name](assets/3/2-mobaxterm-enter-ip-login-name.png)
97+
98+
---
99+
100+
101+
**类比**
102+
- IP = 房子的地址 🏠
103+
- 用户名 = 你的名字 👤
104+
- 端口 = 房门号 🚪
105+
106+
---
107+
108+
## 第三步:输入密码 🔑
109+
110+
点击 `OK` 后,会提示输入密码:
111+
112+
1. 在黑框中输入密码
113+
2. **注意**:输入密码时**屏幕上不会显示任何字符**(这是为了安全!)
114+
3. 输完直接按 `Enter` 回车
115+
116+
> **⚠️ 常见错误**:以为键盘坏了没反应,其实已经输进去了。
117+
118+
---
119+
120+
![enter passwd](assets/3/2-mobaxterm-enter-passwd.png)
121+
122+
---
123+
124+
![continue yes](assets/3/2-mobaxterm-ssh-continue.png)
125+
126+
---
127+
128+
## 登录成功界面
129+
130+
![success connect](assets/3/2-mobaxterm-connect-success.png)
131+
132+
---
133+
134+
![glxgears display](assets/3/2-mobaxterm-x11-display.png)
135+
136+
---
137+
138+
**界面分区**
139+
- **左侧**:文件管理器(可以直接拖拽上传/下载文件)
140+
- **右侧**:黑色的终端窗口(输入命令的地方)
141+
142+
---
143+
144+
# 3️⃣ 神奇的 X11 转发
145+
146+
---
147+
## 什么是 X11 转发? 🖼️
148+
149+
**普通 SSH**
150+
只能看到黑底白字的文字,无法运行图形化软件。
151+
152+
**X11 转发 (Forwarding)**
153+
让远程电脑的图形软件,显示在你的本地屏幕上!
154+
155+
**类比**
156+
就像**云游戏** 🎮 —— 游戏在服务器上运行,画面传到你的屏幕上。
157+
158+
---
159+
160+
## 如何开启 X11 转发? ✅
161+
162+
只需要在使用`ssh`命令是加上`-X`的参数
163+
164+
### 使用原生ssh
165+
```bash
166+
ssh -X sunrise@192.168.0.71
167+
```
168+
169+
### 使用压缩加速ssh
170+
```bash
171+
#使用 -C 开启压缩,-c 使用更轻量的加密方式(如 blowfish 或 aes128-ctr)
172+
ssh -X -C -c aes128-ctr sunrise@192.168.0.71
173+
```
174+
175+
---
176+
177+
## 验证 X11 是否开启
178+
179+
```bash
180+
glxgears # 会在宿主机器上开启一个图形化终端
181+
```
182+
183+
---
184+
185+
### 原生ssh X11 转发
186+
187+
![ssh 原生 X11 转发](assets/3/2-ssh-X-no-compress.png)
188+
189+
---
190+
191+
### 压缩加速ssh X11 转发
192+
193+
![ssh 原生 X11 转发](assets/3/2-ssh-X-compress.png)
194+
195+
---
196+
![bg opacity:.](../images/thanks.png)

docs/9.npu-ius-algorithm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ speed = 2.4 * (0.3 * math.exp(-np.clip(abs(angle), 0, 0.5)) + 0.7)
237237

238238
**有问题请查阅:**
239239
- [docs/8.follow_the_gap.md](docs/8.follow_the_gap.md)
240-
- [src/tianracer/tianracer_navigation/script/use_to_battle_fast1.py](src/tianracer/tianracer_navigation/script/use_to_battle_fast1.py)
240+
- [src/tianracer/tianracer_navigation/script/use_to_battle_fast1.py](https://github.com/tianbot/tianracer/blob/formula-mini/tianracer_navigation/script/use_to_battle_fast1.py)
241241

242242
<!-- _footer: ■ 实践出真知,代码跑起来! -->
243243

docs/assets/10/2d_lidar_slam.png

293 KB
Loading
18.1 KB
Loading
15.6 KB
Loading
29.7 MB
Loading

0 commit comments

Comments
 (0)