mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Autotune - make the conditional code simpler (#24564)
This commit is contained in:
@@ -94,7 +94,17 @@ The test steps are:
|
|||||||
4. The drone will first start to perform quick roll motions followed by pitch and yaw motions.
|
4. The drone will first start to perform quick roll motions followed by pitch and yaw motions.
|
||||||
The progress is shown in the progress bar, next to the _Autotune_ button.
|
The progress is shown in the progress bar, next to the _Autotune_ button.
|
||||||
|
|
||||||
5. <div style="display: inline;" v-if="$frontmatter.frame === 'Multicopter'">Manually land and disarm to apply the new tuning parameters. Takeoff carefully and manually test that the vehicle is stable.</div><div v-else-if="$frontmatter.frame === 'Plane'">The tuning will be immediately/automatically be applied and tested in flight (by default). PX4 will then run a 4 second test and revert the new tuning if a problem is detected.</div>
|
<div style="display: inline;" v-if="$frontmatter.frame === 'Multicopter'">
|
||||||
|
|
||||||
|
5. Manually land and disarm to apply the new tuning parameters.
|
||||||
|
Takeoff carefully and manually test that the vehicle is stable.
|
||||||
|
|
||||||
|
</div><div v-else-if="$frontmatter.frame === 'Plane'">
|
||||||
|
|
||||||
|
5. The tuning will be immediately/automatically be applied and tested in flight (by default).
|
||||||
|
PX4 will then run a 4 second test and revert the new tuning if a problem is detected.
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
If any strong oscillations occur, land immediately and follow the instructions in the [Troubleshooting](#troubleshooting) section below.
|
If any strong oscillations occur, land immediately and follow the instructions in the [Troubleshooting](#troubleshooting) section below.
|
||||||
|
|||||||
Reference in New Issue
Block a user