mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 00:53:34 +08:00
* Add vitepress tree * Update existing workflows so they dont trigger on changes in the docs path * Add nojekyll, package.json, LICENCE etc * Add crowdin docs upload/download scripts * Add docs flaw checker workflows * Used docs prefix for docs workflows * Crowdin obvious fixes * ci: docs move to self hosted runner runs on a beefy server for faster builds Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: don't run build action for docs or ci changes Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: update runners Signed-off-by: Ramon Roche <mrpollo@gmail.com> * Add docs/en * Add docs assets and scripts * Fix up editlinks to point to PX4 sources * Download just the translations that are supported * Add translation sources for zh, uk, ko * Update latest tranlsation and uorb graphs * update vitepress to latest --------- Signed-off-by: Ramon Roche <mrpollo@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
33 lines
2.0 KiB
Markdown
33 lines
2.0 KiB
Markdown
# Симуляція аварійного стану машини
|
|
|
|
<Badge type="tip" text="PX4 v1.14" />
|
|
|
|
Цю сторінку можна використовувати для моделювання дій машини стану PX4 аварійного режиму за всіх можливих конфігурацій та умов.
|
|
|
|
Симуляція запускає той самий код у браузері, який виконується на транспортному засобі в реальному часі (симуляція автоматично синхронізується з останньою версією коду).
|
|
Note that any delayed action (`COM_FAIL_ACT_T`) will also be delayed in the simulation.
|
|
|
|
Щоб використовувати це:
|
|
|
|
1. Спочатку налаштуйте параметри зліва.
|
|
Початкові значення відповідають значенням за замовчуванням PX4.
|
|
2. Встановіть тип транспортного засобу
|
|
3. Set the other values in the **State** or any of the flags under **Conditions**
|
|
- The **Intended Mode** corresponds to the commanded mode via RC or GCS (or external script).
|
|
Станова машина аварійного відновлення може перевизначити це у разі аварійного відновлення.
|
|
4. Check the action under **Output**
|
|
5. Check what happens when changing mode or **Move the RC sticks**
|
|
6. Грайте з різними налаштуваннями та умовами!
|
|
|
|
Симуляцію також можна виконати локально для тестування конкретної версії або набору змін:
|
|
|
|
```sh
|
|
make run_failsafe_web_server
|
|
```
|
|
|
|
<iframe :src="withBase('/config/failsafe/index.html')" frameborder="0" height="1400px" style="text-align: center; margin-left: -20px; margin-right: -230px;" width="1200"></iframe>
|
|
|
|
<script setup>
|
|
import { withBase } from 'vitepress';
|
|
</script>
|