Skip to content

Commit d04e669

Browse files
New Crowdin translations - zh-CN (#24563)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
1 parent bd0a59e commit d04e669

File tree

180 files changed

+2458
-2443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+2458
-2443
lines changed

docs/zh/actuators/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
## See Also
1212

13-
- [外设](../peripherals/index.md) - 包括非核心执行器,如夹具, 降落伞等。
13+
- [外设](../peripherals/index.md) - 包括非核心执行器,如夹具, 降落伞等。

docs/zh/advanced/gimbal_control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ The on-screen gimbal control can be used to move/test a connected MAVLink camera
129129

130130
2. Open QGroundControl and enable the on-screen camera control (Application settings).
131131

132-
![Quadrotor(x500) with gimbal (Front-facing) in Gazebo](../../assets/qgc/fly/gimbal_control_x500gz.png)
132+
![Quadrotor(x500) with gimbal (Front-facing) in Gazebo](../../assets/qgc/fly/gimbal_control_x500gz.png)
133133

134134
3. Make sure the vehicle is armed and flying, e.g. by entering with `commander takeoff`.
135135

docs/zh/advanced/parameters_and_configurations.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,21 @@ You add some "boilerplate" code to regularly listen for changes in the [uORB Top
128128

129129
- **px4_platform_common/module_params.h** to get the `DEFINE_PARAMETERS` macro:
130130

131-
```cpp
132-
#include <px4_platform_common/module_params.h>
133-
```
131+
```cpp
132+
#include <px4_platform_common/module_params.h>
133+
```
134134

135135
- **parameter_update.h** to access the uORB `parameter_update` message:
136136

137-
```cpp
138-
#include <uORB/topics/parameter_update.h>
139-
```
137+
```cpp
138+
#include <uORB/topics/parameter_update.h>
139+
```
140140

141141
- **Subscription.hpp** for the uORB C++ subscription API:
142142

143-
```cpp
144-
#include <uORB/Subscription.hpp>
145-
```
143+
```cpp
144+
#include <uORB/Subscription.hpp>
145+
```
146146

147147
Derive your class from `ModuleParams`, and use `DEFINE_PARAMETERS` to specify a list of parameters and their associated parameter attributes.
148148
参数的名称必须与其参数元数据定义相同。
@@ -194,7 +194,7 @@ void Module::parameters_update()
194194
- `_parameter_update_sub.updated()` tells us if there is _any_ update to the `param_update` uORB message (but not what parameter is affected).
195195
- If there has been "some" parameter updated, we copy the update into a `parameter_update_s` (`param_update`), to clear the pending update.
196196
- Then we call `ModuleParams::updateParams()`.
197-
This "under the hood" updates all parameter attributes listed in our `DEFINE_PARAMETERS` list.
197+
This "under the hood" updates all parameter attributes listed in our `DEFINE_PARAMETERS` list.
198198

199199
The parameter attributes (`_sys_autostart` and `_att_bias_max` in this case) can then be used to represent the parameters, and will be updated whenever the parameter value changes.
200200

@@ -267,12 +267,12 @@ YAML meta data is intended as a full replacement for the **.c** definitions.
267267
- An example of YAML definitions being used can be found in the MAVLink parameter definitions: [/src/modules/mavlink/module.yaml](https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/mavlink/module.yaml).
268268
- 通过添加到 cmake 构建系统中注册一个 YAML 文件
269269

270-
```cmake
271-
MODULE_CONFIG
272-
module.yaml
273-
```
270+
```cmake
271+
MODULE_CONFIG
272+
module.yaml
273+
```
274274

275-
to the `px4_add_module` section of the `CMakeLists.txt` file of that module.
275+
to the `px4_add_module` section of the `CMakeLists.txt` file of that module.
276276

277277
#### 多实例(模块化)YAML 元数据
278278

docs/zh/advanced/system_tunes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ On Windows, one option is to use _Melody Master_ within _Dosbox_.
5252
7. 当您准备好时保存音乐:
5353
- Press **F2** to give the tune a name and save it in the _/Music_ sub folder of your Melody Master installation.
5454
- Press **F7**, the scroll down the list of output formats on the right to get to ANSI.
55-
The file will be exported to the _root_ of the Melody Master directory (with the same name and a file-type specific extension).
55+
The file will be exported to the _root_ of the Melody Master directory (with the same name and a file-type specific extension).
5656

5757
8. 打开文件。
5858
输出可能看起来像这样:

docs/zh/advanced_config/advanced_flight_controller_orientation_leveling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can locate the parameters in QGroundControl as shown below:
2323
1. Open QGroundControl menu: **Settings > Parameters > Sensor Calibration**.
2424
2. The parameters as located in the section as shown below (or you can search for them):
2525

26-
![FC Orientation QGC v2](../../assets/qgc/setup/sensor/fc_orientation_qgc_v2.png)
26+
![FC Orientation QGC v2](../../assets/qgc/setup/sensor/fc_orientation_qgc_v2.png)
2727

2828
## Parameter Summary
2929

docs/zh/advanced_config/bootloader_update.md

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -52,80 +52,80 @@ The following steps explain how you can "manually" update the bootloader using a
5252
1. Get a binary containing the bootloader (either from dev team or [build it yourself](#building-the-px4-bootloader)).
5353

5454
2. Get a [Debug Probe](../debug/swd_debug.md#debug-probes-for-px4-hardware).
55-
Connect the probe your PC via USB and setup the `gdbserver`.
55+
Connect the probe your PC via USB and setup the `gdbserver`.
5656

5757
3. Go into the directory containing the binary and run the command for your target bootloader in the terminal:
5858

59-
- FMUv6X
59+
- FMUv6X
6060

61-
```sh
62-
arm-none-eabi-gdb px4_fmu-v6x_bootloader.elf
63-
```
61+
```sh
62+
arm-none-eabi-gdb px4_fmu-v6x_bootloader.elf
63+
```
6464

65-
- FMUv6X-RT
65+
- FMUv6X-RT
6666

67-
```sh
68-
arm-none-eabi-gdb px4_fmu-v6xrt_bootloader.elf
69-
```
67+
```sh
68+
arm-none-eabi-gdb px4_fmu-v6xrt_bootloader.elf
69+
```
7070

71-
- FMUv5
71+
- FMUv5
7272

73-
```sh
74-
```
73+
```sh
74+
```
7575

76-
::: info
77-
H7 Bootloaders from [PX4/PX4-Autopilot](https://github.com/PX4/PX4-Autopilot) are named with pattern `*._bootloader.elf`.
78-
Bootloaders from [PX4/PX4-Bootloader](https://github.com/PX4/PX4-Bootloader) are named with the pattern `*_bl.elf`.
76+
::: info
77+
H7 Bootloaders from [PX4/PX4-Autopilot](https://github.com/PX4/PX4-Autopilot) are named with pattern `*._bootloader.elf`.
78+
Bootloaders from [PX4/PX4-Bootloader](https://github.com/PX4/PX4-Bootloader) are named with the pattern `*_bl.elf`.
7979

8080
:::
8181

8282
4. The _gdb terminal_ appears and it should display the following output:
8383

84-
```sh
85-
GNU gdb (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 8.0.50.20171128-git
86-
Copyright (C) 2017 Free Software Foundation, Inc.
87-
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
88-
This is free software: you are free to change and redistribute it.
89-
There is NO WARRANTY, to the extent permitted by law.
90-
Type "show copying" and "show warranty" for details.
91-
This GDB was configured as "--host=x86_64-linux-gnu --target=arm-none-eabi".
92-
Type "show configuration" for configuration details.
93-
For bug reporting instructions, please see:
94-
<http://www.gnu.org/software/gdb/bugs/>.
95-
Find the GDB manual and other documentation resources online at:
96-
<http://www.gnu.org/software/gdb/documentation/>.
97-
For help, type "help".
98-
Type "apropos word" to search for commands related to "word"...
99-
Reading symbols from px4fmuv5_bl.elf...done.
100-
```
84+
```sh
85+
GNU gdb (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 8.0.50.20171128-git
86+
Copyright (C) 2017 Free Software Foundation, Inc.
87+
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
88+
This is free software: you are free to change and redistribute it.
89+
There is NO WARRANTY, to the extent permitted by law.
90+
Type "show copying" and "show warranty" for details.
91+
This GDB was configured as "--host=x86_64-linux-gnu --target=arm-none-eabi".
92+
Type "show configuration" for configuration details.
93+
For bug reporting instructions, please see:
94+
<http://www.gnu.org/software/gdb/bugs/>.
95+
Find the GDB manual and other documentation resources online at:
96+
<http://www.gnu.org/software/gdb/documentation/>.
97+
For help, type "help".
98+
Type "apropos word" to search for commands related to "word"...
99+
Reading symbols from px4fmuv5_bl.elf...done.
100+
```
101101

102102
5. Find your `<dronecode-probe-id>` by running an `ls` command in the **/dev/serial/by-id** directory.
103103

104104
6. Now connect to the debug probe with the following command:
105105

106-
```sh
107-
tar ext /dev/serial/by-id/<dronecode-probe-id>
108-
```
106+
```sh
107+
tar ext /dev/serial/by-id/<dronecode-probe-id>
108+
```
109109

110110
7. Power on the Pixhawk with another USB cable and connect the probe to the `FMU-DEBUG` port.
111111

112-
::: info
113-
If using a Dronecode probe you may need to remove the case in order to connect to the `FMU-DEBUG` port (e.g. on Pixhawk 4 you would do this using a T6 Torx screwdriver).
112+
::: info
113+
If using a Dronecode probe you may need to remove the case in order to connect to the `FMU-DEBUG` port (e.g. on Pixhawk 4 you would do this using a T6 Torx screwdriver).
114114

115115
:::
116116

117117
8. Use the following command to scan for the Pixhawk\`s SWD and connect to it:
118118

119-
```sh
120-
(gdb) mon swdp_scan
121-
(gdb) attach 1
122-
```
119+
```sh
120+
(gdb) mon swdp_scan
121+
(gdb) attach 1
122+
```
123123

124124
9. 将二进制文件加载到 Pixhawk 中 :
125125

126-
```sh
127-
(gdb) load
128-
```
126+
```sh
127+
(gdb) load
128+
```
129129

130130
After the bootloader has updated you can [Load PX4 Firmware](../config/firmware.md) using _QGroundControl_.
131131

@@ -146,8 +146,8 @@ Currently only FMUv2 and some custom firmware includes the desired bootloader.
146146

147147
2. [Update the Firmware](../config/firmware.md#custom) with an image containing the new/desired bootloader.
148148

149-
::: info
150-
The updated bootloader might be supplied in custom firmware (i.e. from the dev team), or it or may be included in the latest main branch.
149+
::: info
150+
The updated bootloader might be supplied in custom firmware (i.e. from the dev team), or it or may be included in the latest main branch.
151151

152152
:::
153153

@@ -156,7 +156,7 @@ Currently only FMUv2 and some custom firmware includes the desired bootloader.
156156
4. [Find and enable](../advanced_config/parameters.md) the parameter [SYS_BL_UPDATE](../advanced_config/parameter_reference.md#SYS_BL_UPDATE).
157157

158158
5. 重新启动(断开/重新连接飞控板)。
159-
Bootloader 更新只需要几秒钟即可完成。
159+
Bootloader 更新只需要几秒钟即可完成。
160160

161161
Generally at this point you may then want to [update the firmware](../config/firmware.md) again using the correct/newly installed bootloader.
162162

@@ -176,25 +176,25 @@ Early FMUv2 [Pixhawk-series](../flight_controller/pixhawk_series.md#fmu_versions
176176
1. 插入 SD 卡(使能引导日志记录,便于调试任何可能的问题)。
177177

178178
2. [Update the Firmware](../config/firmware.md) to PX4 _master_ version (when updating the firmware, check **Advanced settings** and then select **Developer Build (master)** from the dropdown list).
179-
_QGroundControl_ will automatically detect that the hardware supports FMUv2 and install the appropriate Firmware.
179+
_QGroundControl_ will automatically detect that the hardware supports FMUv2 and install the appropriate Firmware.
180180

181-
![FMUv2 update](../../assets/qgc/setup/firmware/bootloader_update.jpg)
181+
![FMUv2 update](../../assets/qgc/setup/firmware/bootloader_update.jpg)
182182

183-
等待飞控重启。
183+
等待飞控重启。
184184

185185
3. [Find and enable](../advanced_config/parameters.md) the parameter [SYS_BL_UPDATE](../advanced_config/parameter_reference.md#SYS_BL_UPDATE).
186186

187187
4. 重新启动(断开/重新连接飞控板)。
188-
Bootloader 更新只需要几秒钟即可完成。
188+
Bootloader 更新只需要几秒钟即可完成。
189189

190190
5. Then [Update the Firmware](../config/firmware.md) again.
191-
This time _QGroundControl_ should autodetect the hardware as FMUv3 and update the Firmware appropriately.
191+
This time _QGroundControl_ should autodetect the hardware as FMUv3 and update the Firmware appropriately.
192192

193-
![FMUv3 update](../../assets/qgc/setup/firmware/bootloader_fmu_v3_update.jpg)
193+
![FMUv3 update](../../assets/qgc/setup/firmware/bootloader_fmu_v3_update.jpg)
194194

195-
::: info
196-
If the hardware has the [Silicon Errata](../flight_controller/silicon_errata.md#fmuv2-pixhawk-silicon-errata) it will still be detected as FMUv2 and you will see that FMUv2 was re-installed (in console).
197-
在这种情况下,您将无法安装 FMUv3 硬件。
195+
::: info
196+
If the hardware has the [Silicon Errata](../flight_controller/silicon_errata.md#fmuv2-pixhawk-silicon-errata) it will still be detected as FMUv2 and you will see that FMUv2 was re-installed (in console).
197+
在这种情况下,您将无法安装 FMUv3 硬件。
198198

199199
:::
200200

docs/zh/advanced_config/compass_power_compensation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The process is demonstrated for a multicopter, but is equally valid for other ve
4848
- 解锁无人机,然后缓缓将油门推到最大。
4949
- 慢慢将油门降到0
5050
- 给无人机加锁
51-
&#062; <strong x-id="1">Note</strong> 谨慎地进行测试,并密切注意振动情况。
51+
&#062; <strong x-id="1">Note</strong> 谨慎地进行测试,并密切注意振动情况。
5252

5353
::: info
5454
Perform the test carefully and closely monitor the vibrations.

docs/zh/advanced_config/esc_calibration.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,29 +94,29 @@ Flight control systems that can't power the autopilot via USB will need a [diffe
9494

9595
- The minimum value for a motor (default: `1100us`) should make the motor spin slowly but reliably, and also spin up reliably after it was stopped.
9696

97-
You can confirm that a motor spins at minimum (still without propellers) in [Actuator Testing](../config/actuators.md#actuator-testing), by enabling the sliders, and then moving the test output slider for the motor to the first snap position from the bottom.
98-
当你将滑块从解锁到最小值时,正确的值应该使电机立即和可靠地旋转。
97+
You can confirm that a motor spins at minimum (still without propellers) in [Actuator Testing](../config/actuators.md#actuator-testing), by enabling the sliders, and then moving the test output slider for the motor to the first snap position from the bottom.
98+
当你将滑块从解锁到最小值时,正确的值应该使电机立即和可靠地旋转。
9999

100-
要找到“最佳”最小值,请将滑块移动到底部(禁用)。
101-
Then increase the PWM output's `disarmed` setting in small increments (e.g. 1025us, 1050us, etc), until the motor starts to spin reliably (it is better to be a little too high than a little too low).
102-
Enter this value into the `minimum` setting for all the motor PWM outputs, and restore the `disarmed` output to `1100us`.
100+
要找到“最佳”最小值,请将滑块移动到底部(禁用)。
101+
Then increase the PWM output's `disarmed` setting in small increments (e.g. 1025us, 1050us, etc), until the motor starts to spin reliably (it is better to be a little too high than a little too low).
102+
Enter this value into the `minimum` setting for all the motor PWM outputs, and restore the `disarmed` output to `1100us`.
103103

104104
- The maximum value for a motor (default: `1900us`) should be chosen such that increasing the value doesn't make the motor spin any faster.
105105

106-
You can confirm that the motor spins quickly at the maximum setting in [Actuator Testing](../config/actuators.md#actuator-testing), by moving the associated test output slider to the top position.
106+
You can confirm that the motor spins quickly at the maximum setting in [Actuator Testing](../config/actuators.md#actuator-testing), by moving the associated test output slider to the top position.
107107

108-
To find the "optimal" maximum value, first move the slider to the bottom (disarmed).
109-
Then increase the PWM output's `disarmed` setting to near the default maximum (`1900`) - the motors should spin up.
110-
Listen to the tone of the motor as you increase the PWM maximum value for the output in increments (e.g. 1925us, 1950us, etc).
111-
The optimal value is found at the point when the sound of the motors does not change as you increase the value of the output.
112-
Enter this value into the `maximum` setting for all the motor PWM outputs, and restore the `disarmed` output to `1100us`.
108+
To find the "optimal" maximum value, first move the slider to the bottom (disarmed).
109+
Then increase the PWM output's `disarmed` setting to near the default maximum (`1900`) - the motors should spin up.
110+
Listen to the tone of the motor as you increase the PWM maximum value for the output in increments (e.g. 1925us, 1950us, etc).
111+
The optimal value is found at the point when the sound of the motors does not change as you increase the value of the output.
112+
Enter this value into the `maximum` setting for all the motor PWM outputs, and restore the `disarmed` output to `1100us`.
113113

114114
- The disarmed value for a motor (default: `1000us`) should make the motor stop and stay stopped.
115115

116-
You can confirm this in [Actuator Testing](../config/actuators.md#actuator-testing) by moving the test output slider to the snap position at the bottom of the slider and observing that the motor does not spin.
116+
You can confirm this in [Actuator Testing](../config/actuators.md#actuator-testing) by moving the test output slider to the snap position at the bottom of the slider and observing that the motor does not spin.
117117

118-
If the ESC spins with the default value of 1000us then the ESC is not properly calibrated.
119-
If using an ESC that can't be calibrated, you should reduce the PWM output value for the output to below where the motor does not spin anymore (such as 950us or 900us).
118+
If the ESC spins with the default value of 1000us then the ESC is not properly calibrated.
119+
If using an ESC that can't be calibrated, you should reduce the PWM output value for the output to below where the motor does not spin anymore (such as 950us or 900us).
120120

121121
::: info
122122
VTOL and fixed-wing motors do not need any special PWM configuration.

0 commit comments

Comments
 (0)