Skip to content

Commit c41aab6

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

26 files changed

+687
-313
lines changed

docs/zh/SUMMARY.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,14 @@
5656
- [DJI F450 (CUAV v5 nano)](frames_multicopter/dji_f450_cuav_5nano.md)
5757

5858
- [Planes (Fixed-Wing)](frames_plane/index.md)
59+
- [Features](features_fw/index.md)
60+
- [Gain compression](features_fw/gain_compression.md)
5961
- [Assembly](assembly/assembly_fw.md)
6062
- [Config/Tuning](config_fw/index.md)
6163
- [Auto-tune](config/autotune_fw.md)
6264
- [Rate/Attitude Controller Tuning Guide](config_fw/pid_tuning_guide_fixedwing.md)
6365
- [Altitude/Position Controller Tuning Guide](config_fw/position_tuning_guide_fixedwing.md)
66+
- [Airspeed Scale Estimate Handling](config_fw/airspeed_scale_handling.md)
6467
- [Weight & Altitude Tuning](config_fw/weight_and_altitude_tuning.md)
6568
- [Trimming Guide](config_fw/trimming_guide_fixedwing.md)
6669
- [Flying (Basics)](flying/basic_flying_fw.md)
@@ -692,8 +695,6 @@
692695
- [RoverSpeedStatus](msg_docs/RoverSpeedStatus.md)
693696
- [RoverSteeringSetpoint](msg_docs/RoverSteeringSetpoint.md)
694697
- [RoverThrottleSetpoint](msg_docs/RoverThrottleSetpoint.md)
695-
- [RoverVelocitySetpoint](msg_docs/RoverVelocitySetpoint.md)
696-
- [RoverVelocityStatus](msg_docs/RoverVelocityStatus.md)
697698
- [Rpm](msg_docs/Rpm.md)
698699
- [RtlStatus](msg_docs/RtlStatus.md)
699700
- [RtlTimeEstimate](msg_docs/RtlTimeEstimate.md)
@@ -715,6 +716,7 @@
715716
- [SensorOpticalFlow](msg_docs/SensorOpticalFlow.md)
716717
- [SensorPreflightMag](msg_docs/SensorPreflightMag.md)
717718
- [SensorSelection](msg_docs/SensorSelection.md)
719+
- [SensorTemp](msg_docs/SensorTemp.md)
718720
- [SensorUwb](msg_docs/SensorUwb.md)
719721
- [SensorsStatus](msg_docs/SensorsStatus.md)
720722
- [SensorsStatusImu](msg_docs/SensorsStatusImu.md)
@@ -785,6 +787,7 @@
785787
- [Rpm Sensor](modules/modules_driver_rpm_sensor.md)
786788
- [Radio Control](modules/modules_driver_radio_control.md)
787789
- [Transponder](modules/modules_driver_transponder.md)
790+
- [adc](modules/modules_driver_adc.md)
788791
- [估计器](modules/modules_estimator.md)
789792
- [仿真](modules/modules_simulation.md)
790793
- [系统](modules/modules_system.md)

docs/zh/advanced_config/airspeed_validation.md

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,13 @@ By default, the [Missing Data](#missing-data-check), [Data Stuck](#data-stuck-ch
1010
You can configure which checks are active using the [ASPD_DO_CHECKS](#aspd_do_checks_table) parameter.
1111
:::
1212

13-
## Airspeed in PX4
14-
15-
PX4 handles multiple types of airspeed:
16-
17-
- **IAS (Indicated Airspeed):** The raw measurement from the airspeed sensor, directly influenced by sensor characteristics and installation effects (e.g., pitot-static errors).
18-
19-
- **CAS (Calibrated Airspeed):** IAS corrected for sensor-specific and installation-related errors.
20-
21-
- **EAS (Equivalent Airspeed):** _Not explicitly handled by PX4_ - Calibrated airspeed corrected for compressibility effects.
22-
While PX4 does not currently model EAS separately, this correction is negligible at low speeds and altitudes, so EAS is treated as equivalent to CAS for simplicity.
23-
24-
- **TAS (True Airspeed):** CAS adjusted for atmospheric effects such as air pressure and temperature (i.e., altitude and atmospheric conditions).
25-
26-
The standard conversion chain used in PX4 is: `IAS → CAS (= EAS) → TAS`.
27-
2813
## CAS Scale Estimation
2914

30-
PX4 estimates the IAS to CAS scale (referred to as the CAS scale) during flight using GNSS ground speed and wind estimation.
31-
To compute the final TAS, standard environment conversions are applied (CAS → TAS).
32-
33-
This CAS scaling plays an important role in keeping the [innovation check](#innovation-check) reliable, since a well-estimated CAS is key to spotting inconsistencies between measured and predicted airspeed.
15+
Calibrated Airspeed (CAS) is the measured Indicated Airspeed (IAS) scaled to correct for sensor-specific and installation-related errors.
16+
CAS scaling plays an important role in keeping the [innovation check](#innovation-check) reliable, since a well-estimated CAS is key to spotting inconsistencies between measured and predicted airspeed.
3417
If the estimated CAS scale is inaccurate, it can mask real airspeed faults or trigger false positives.
3518

36-
If you observe that the CAS scale estimate is consistently off, or if it is converging too slowly, you can manually set it using [ASPD_SCALE_n](#aspd_scale_n_table) (where `n` is the sensor number).
37-
[ASPD_SCALE_APPLY](#aspd_scale_apply_table) can be used to configure when/if the estimated scale is applied.
38-
39-
:::info
40-
For a quick manual CAS scale estimate, compare groundspeed minus windspeed (from the [VehicleLocalPosition](../msg_docs/VehicleLocalPosition.md) and [Wind](../msg_docs/Wind.md) messages, respectively) to indicated airspeed values (in the [Airspeed](../msg_docs/Airspeed.md) message).
41-
The ratio of indicated airspeed to groundspeed minus windspeed can provide a reasonable starting estimate for [ASPD_SCALE_n](#aspd_scale_n_table).
42-
:::
19+
If you observe that the CAS scale estimate is consistently off, or if it is converging too slowly, follow the steps outlined in [Airspeed Scale Handling](../config_fw/airspeed_scale_handling.md#recommended-first-flight-process).
4320

4421
## Validation Checks
4522

docs/zh/advanced_config/prearm_arm_disarm.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,17 @@ RC controllers will use different sticks for throttle and yaw [based on their mo
5555
- _Arm:_ Left-stick to right, right-stick to bottom.
5656
- _Disarm:_ Left-stick to left, right-stick to the bottom.
5757

58-
The required hold time can be configured using [COM_RC_ARM_HYST](#COM_RC_ARM_HYST).
5958
Note that by default ([COM_DISARM_MAN](#COM_DISARM_MAN)) you can also disarm in flight using gestures/buttons: you may choose to disable this to avoid accidental disarming.
6059

61-
| 参数 | 描述 |
62-
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
63-
| <a id="MAN_ARM_GESTURE"></a>[MAN_ARM_GESTURE](../advanced_config/parameter_reference.md#MAN_ARM_GESTURE) | Enable arm/disarm stick guesture. `0`: Disabled, `1`: Enabled (default). |
64-
| <a id="COM_DISARM_MAN"></a>[COM_DISARM_MAN](../advanced_config/parameter_reference.md#COM_DISARM_MAN) | Enable disarming in flight via switch/stick/button in MC manual thrust modes. `0`: Disabled, `1`: Enabled (default). |
65-
| <a id="COM_RC_ARM_HYST"></a>[COM_RC_ARM_HYST](../advanced_config/parameter_reference.md#COM_RC_ARM_HYST) | Time that RC stick must be held in arm/disarm position before arming/disarming occurs (default: `1` second). |
60+
| 参数 | 描述 |
61+
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
62+
| <a id="MAN_ARM_GESTURE"></a>[MAN_ARM_GESTURE](../advanced_config/parameter_reference.md#MAN_ARM_GESTURE) | Enable arm/disarm stick guesture. `0`: Disabled, `1`: Enabled (default). |
63+
| <a id="COM_DISARM_MAN"></a>[COM_DISARM_MAN](../advanced_config/parameter_reference.md#COM_DISARM_MAN) | Enable disarming in flight via switch/stick/button in MC manual thrust modes. `0`: Disabled, `1`: Enabled (default). |
6664

6765
## Arming Button/Switch {#arm_disarm_switch}
6866

6967
An _arming button_ or "momentary switch" can be configured to trigger arm/disarm _instead_ of [gesture-based arming](#arm_disarm_gestures) (setting an arming switch disables arming gestures).
70-
The button should be held down for ([nominally](#COM_RC_ARM_HYST)) one second to arm (when disarmed) or disarm (when armed).
68+
The button should be held down for one second to arm (when disarmed) or disarm (when armed).
7169

7270
A two-position switch can also be used for arming/disarming, where the respective arm/disarm commands are sent on switch _transitions_.
7371

@@ -80,7 +78,7 @@ The switch or button is assigned (and enabled) using [RC_MAP_ARM_SW](#RC_MAP_ARM
8078
| 参数 | 描述 |
8179
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8280
| <a id="RC_MAP_ARM_SW"></a>[RC_MAP_ARM_SW](../advanced_config/parameter_reference.md#RC_MAP_ARM_SW) | RC arm switch channel (default: 0 - unassigned). If defined, the specified RC channel (button/switch) is used for arming instead of a stick gesture. <br>**Note:**<br>- This setting _disables the stick gesture_!<br>- This setting applies to RC controllers. It does not apply to Joystick controllers that are connected via _QGroundControl_. |
83-
| <a id="COM_ARM_SWISBTN"></a>[COM_ARM_SWISBTN](../advanced_config/parameter_reference.md#COM_ARM_SWISBTN) | Arm switch is a momentary button. <br>- `0`: Arm switch is a 2-position switch where arm/disarm commands are sent on switch transitions.<br>-`1`: Arm switch is a button or momentary button where the arm/disarm command ae sent after holding down button for set time ([COM_RC_ARM_HYST](#COM_RC_ARM_HYST)). |
81+
| <a id="COM_ARM_SWISBTN"></a>[COM_ARM_SWISBTN](../advanced_config/parameter_reference.md#COM_ARM_SWISBTN) | Arm switch is a momentary button. <br>- `0`: Arm switch is a 2-position switch where arm/disarm commands are sent on switch transitions.<br>-`1`: Arm switch is a momentary button where the arm/disarm command is sent after holding down the button for one second. |
8482

8583
:::info
8684
The switch can also be set as part of _QGroundControl_ [Flight Mode](../config/flight_mode.md) configuration.

docs/zh/advanced_config/tuning_the_ecl_ekf.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,60 @@ The `hpos_drift_rate`, `vpos_drift_rate` and `hspd` are calculated over a period
350350
Note that `ekf2_gps_drift` is not logged!
351351
:::
352352

353+
#### GNSS Fault Detection
354+
355+
PX4's GNSS fault detection protects against malicious or erroneous GNSS signals using selective fusion control based on measurement validation.
356+
357+
The fault detection logic depends on the GPS mode, and also operates differently for horizontal position and altitude measurements.
358+
The mode is set using the [EKF2_GPS_MODE](../advanced_config/parameter_reference.md#EKF2_GPS_MODE) parameter:
359+
360+
- **Automatic (`0`)** (Default): Assumes that GNSS is generally reliable and is likely to be recovered.
361+
EKF2 resets on fusion timeouts if no other source of position is available.
362+
- **Dead-reckoning (`1`)**: Assumes that GNSS might be lost indefinitely, so resets should be avoided while we have other estimates of position data.
363+
EKF2 may reset if no other sources of position or velocity are available.
364+
If GNSS altitude OR horizontal position data drifts, the system disables fusion of both measurements simultaneously (even if one would still pass validation) and avoids performing resets.
365+
366+
##### Detection Logic
367+
368+
Horizontal Position:
369+
370+
- **Automatic mode**: Horizontal position resets to GNSS data if no other horizontal position source is currently being fused (e.g., Auxiliary Global Position - AGP).
371+
- **Dead-reckoning mode**: Horizontal position resets to GNSS data only if no other horizontal position OR velocity source is currently being fused (e.g., AGP, airspeed, optical flow).
372+
373+
Altitude:
374+
375+
- The altitude logic is more complex due to the height reference sensor ([EKF2_HGT_REF](../advanced_config/parameter_reference.md#EKF2_HGT_REF)) parameter, which is typically set to GNSS or baro in GNSS-denied scenarios.
376+
- If height reference is set to baro, GNSS-based height resets are prevented (except when baro fusion fails completely and height reference automatically switches to GNSS).
377+
- When height reference is set to GNSS:
378+
- **Automatic mode**: Resets occur on drifting GNSS altitude measurements.
379+
- **Dead-reckoning mode**: When validation starts failing, the system prevents GNSS altitude resets and labels the GNSS data as faulty.
380+
381+
##### Faulty GNSS Data During Boot
382+
383+
The system cannot automatically detect faulty GNSS data during vehicle boot as no baseline comparison exists.
384+
385+
If GNSS fusion is enabled ([EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL)), operators will observe incorrect positions on maps and should disable GNSS fusion, then manually set the correct position via ground control station.
386+
The global position gets corrected, and if [SENS_BAR_AUTOCAL](../advanced_config/parameter_reference.md#SENS_BAR_AUTOCAL) was enabled, baro offsets are automatically adjusted (through bias correction, not parameter changes).
387+
388+
##### Enabling GNSS Fusion Mid-Flight
389+
390+
With Faulty GNSS Data:
391+
392+
- **Automatic mode**: Vehicle will reset to faulty position - potentially dangerous.
393+
- **Dead-reckoning mode**: Large measurement differences cause GNSS rejection and fault detection activation.
394+
395+
With Valid GNSS Data:
396+
397+
- **Automatic mode**: Vehicle will reset to GNSS measurements.
398+
- **Dead-reckoning mode**: If estimated position/altitude is close enough to measurements, fusion resumes; if too far apart, data gets labeled as faulty.
399+
400+
##### 备注
401+
402+
- **Dual Detection**: Horizontal and altitude checks run completely separately but both lead to the same result when triggered - all GNSS fusion gets disabled.
403+
- **Recovery**: Only the specific check that labeled data as invalid can re-enable fusion.
404+
- **Alternative Sources**: Dead-reckoning mode provides enhanced protection by requiring absence of alternative navigation sources before allowing resets.
405+
- **Boot Vulnerability**: Initial faulty GNSS data cannot be detected automatically; requires operator intervention and manual position correction.
406+
353407
### 测距仪
354408

355409
[Range finder](../sensor/rangefinders.md) distance to ground is used by a single state filter to estimate the vertical position of the terrain relative to the height datum.

0 commit comments

Comments
 (0)