docs(i18n): PX4 guide translations (Crowdin) - uk (#28190)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
PX4 Build BotandCrowdin Bot authored and GitHub committed 2026-08-09 10:38:00 +10:00
1 parent eb0fa4baa6
commit 5b3487bb31
65 files changed
+1735 -173

No files matched your search

+6 -1
View File
@@ -71,7 +71,7 @@
- [Trimming Guide](config_fw/trimming_guide_fixedwing.md)
- [Flying (Basics)](flying/basic_flying_fw.md)
- [Режим польоту](flight_modes_fw/index.md)
- [Position Mode (FW)](flight_modes_fw/position.md)
- [Cruise Mode (FW)](flight_modes_fw/cruise.md)
- [Altitude Mode (FW)](flight_modes_fw/altitude.md)
- [Stabilized Mode (FW)](flight_modes_fw/stabilized.md)
- [Acro Mode (FW)](flight_modes_fw/acro.md)
@@ -125,6 +125,7 @@
- [Flight Termination Configuration](advanced_config/flight_termination.md)
- [Посібник з Першого Польоту](flying/first_flight_guidelines.md)
- [Політ](flying/index.md)
- [Mode Requirements](flight_modes/mode_requirements.md)
- [Місії](flying/missions.md)
- [Звіт про польоти](getting_started/flight_reporting.md)
- [Аналіз журналу польотів](log/flight_log_analysis.md)
@@ -169,6 +170,7 @@
- [AEDROX AEDROXH7](flight_controller/aedrox_aedroxh7.md)
- [AirMind MindPX](flight_controller/mindpx.md)
- [AirMind MindRacer](flight_controller/mindracer.md)
- [Amovlab Flycore](flight_controller/amovlab_flycore.md)
- [ARK Electronics ARKV6X](flight_controller/ark_v6x.md)
- [ARK Electronics ARKV6S](flight_controller/ark_v6s.md)
- [ARK FPV Flight Controller](flight_controller/ark_fpv.md)
@@ -312,6 +314,7 @@
- [Актуатори](actuators/index.md)
- [Розподіл приводу](config/actuators.md)
- [Motor Failure Recovery](config/motor_failure_recovery.md)
- [Калібрування ESC (плати контролю двигунів)](advanced_config/esc_calibration.md)
- [ESCs & Двигуни](peripherals/esc_motors.md)
- [ESC Protocols](esc/esc_protocols.md)
@@ -392,6 +395,7 @@
- [Конфігурація Gimbal \(Mount\)](advanced/gimbal_control.md)
- [Grippers](peripherals/gripper.md)
- [Servo Gripper](peripherals/gripper_servo.md)
- [Electro-Permanent Magnet (EPM)](peripherals/gripper_epm.md)
- [Периферія](peripherals/index.md)
- [ADSB/FLARM/UTM (уникнення трафіку)](peripherals/adsb_flarm.md)
@@ -925,6 +929,7 @@
- [jMAVSim Simulation](sim_jmavsim/index.md)
- [Multi-Vehicle Sim with JMAVSim](sim_jmavsim/multi_vehicle.md)
- [JSBSim Simulation](sim_jsbsim/index.md)
- [PteroSim Simulation](sim_pterosim/index.md)
- [RotorPy Simulation](sim_rotorpy/index.md)
- [X-Plane Simulation](sim_xplane/index.md)
- [Hardware Simulation](simulation/hardware.md)
+2
View File
@@ -4,6 +4,8 @@
- [Розподіл приводів](../config/actuators.md) — Налаштування виводів керуючого контролера для конкретних функцій та типів ЕСП/сервоприводів.
- [Motor Failure Recovery](../config/motor_failure_recovery.md) — How allocation is reconfigured if a motor fails.
- [ESCs & двигуни](../peripherals/esc_motors.md) — ESCs такі як[DShot](../peripherals/dshot.md) (рекомендовано) та DroneCAN.
- [ESC Калібрування](../advanced_config/esc_calibration.md) — Калібрування для ЕСП зі звичайним PWM (не потрібно для ESC/сервоприводів з DShot/CAN).
@@ -13,7 +13,7 @@ This section discusses the _param_ subsystem in detail.
[Системна консоль PX4](../debug/system_console.md) пропонує інструмент [param](../modules/modules_command.md#param), за допомогою якого можна встановлювати параметри, зчитувати їх значення, зберігати їх, а також експортувати й зберігати у файлах та відновлювати з них.
### Отримання та встановлення параметрів
### Getting Parameters
Команда `param show` виводить усі параметри системи:
@@ -42,6 +42,22 @@ param show -c
Ви можете використати `param show-for-airframe`, щоб показати всі параметри, які було змінено від значень за замовчуванням лише для поточного файлу літального апарату (та значень за замовчуванням, які він імпортує).
### Setting Parameters
Use `param set` to change a specific parameter:
```sh
param set SYS_AUTOSTART 1103 # Load airframe 1103 on next boot if SYS_AUTOCONFIG==1
param set FW_T_F_ALT_ERR 20 # Enable TECS fast descend if >20m above altitude setpoint
```
Use `param bitset` and `param bitclear` to modify individual bits of a parameter (only for `INT32`):
```sh
param bitclear EKF2_SENS_EN 3 # Disable GPS fusion (lowest 2 bits -> 0b11), leaving other settings intact
param bitset PWM_MAIN_REV 24 # Set output range for main PWM 4 and 5 to reversed (0b11000), leaving others intact
```
### Параметри експорту та завантаження
Ви можете зберігати будь-які параметри, які були _змінені_ (які відрізняються від параметрів за замовчуванням).
+14
View File
@@ -111,6 +111,20 @@ commander mode auto:precland
:::
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_auto_precland -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position`](../flight_modes/mode_requirements.md#mode_req_local_position) — Position relative to EKF2 origin ('0') point
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_auto_precland -->
## Налаштування програмного забезпечення
### Налаштування IR Сенсора/Бікона
+2 -2
View File
@@ -40,7 +40,7 @@ The airframe must fly well enough to handle moderate disturbances, and should be
1. Виконайте звичайний контрольний перелік безпеки перед польотом, щоб переконатися, що зона польоту чиста і має достатньо місця.
2. Take off and <div style="display: inline;" v-if="$frontmatter.frame === 'Multicopter'">hover at 1m above ground in [Altitude mode](../flight_modes_mc/altitude.md) or [Stabilized mode](../flight_modes_mc/manual_stabilized.md)</div><div style="display: inline;" v-else-if="$frontmatter.frame === 'Plane'">fly at cruise speed in [Position mode](../flight_modes_fw/position.md) or [Altitude mode](../flight_modes_fw/altitude.md)</div>.
2. Take off and <div style="display: inline;" v-if="$frontmatter.frame === 'Multicopter'">hover at 1m above ground in [Altitude mode](../flight_modes_mc/altitude.md) or [Stabilized mode](../flight_modes_mc/manual_stabilized.md)</div><div style="display: inline;" v-else-if="$frontmatter.frame === 'Plane'">fly at cruise speed in [Cruise mode](../flight_modes_fw/cruise.md) or [Altitude mode](../flight_modes_fw/altitude.md)</div>.
3. Use the RC transmitter roll stick to perform the following maneuver, tilting the vehicle just a few degrees: _roll left > roll right > center_ (The whole maneuver should take about 3 seconds).
Транспортний засіб повинен стабілізуватися протягом 2 коливань.
@@ -131,7 +131,7 @@ Additional notes:
</div>
<div v-else-if="$frontmatter.frame === 'Plane'">
- Autotuning can also be run in [Altitude mode](../flight_modes_fw/altitude.md) or [Position mode](../flight_modes_fw/position.md).
- Autotuning can also be run in [Altitude mode](../flight_modes_fw/altitude.md) or [Cruise mode](../flight_modes_fw/cruise.md).
However running the test while flying straight requires a larger safe area for tuning, and does not give a significantly better tuning result.
</div>
+3 -1
View File
@@ -132,7 +132,9 @@ If bidiectional motors are used, make sure to select the **Reversible** checkbox
![Reversible](../../assets/config/actuators/qgc_geometry_reversible_marked.png)
Note that you will need to also ensure that the ESC associated with bidirectional motors is configured appropriately (e.g. 3D mode enabled for DShot ESCs, which can be achieved via [DShot commands](../peripherals/dshot.md#commands)).
Note that you will also need to ensure that the ESC associated with bidirectional motors is configured appropriately.
For DShot ESC you will need to enable 3D mode using [DShot commands](../peripherals/dshot.md#commands).
For DroneCAN ESC you will need [firmware that supports reversal](../dronecan/escs.md#reversible-motors) and an appropriate configuration.
### Геометрія поверхонь керування
+108
View File
@@ -0,0 +1,108 @@
# Motor Failure Recovery
<Badge type="tip" text="main (PX4 v2.0)" /> <Badge type="tip" text="Multicopter" />
PX4 can reconfigure [control allocation (mixing)](../concept/control_allocation.md) in flight when a motor failure is detected, so that the vehicle can keep flying on the motors that are left.
The failure action is selected with [CA_FAILURE_MODE](#CA_FAILURE_MODE).
This can be set to `0` (the default) to simply warn the user, or `1` to remove the failed motor from allocation.
Hexarotor frames provide additional recovery options, which are outlined in the following sections.
:::warning
A vehicle flying with a failed motor has less control authority and thrust margin than a healthy one.
Fly gently and land as soon as it is safe to do so.
:::
## Гексаротор
### Stop or Reverse the Opposite Motor
Modes `1` and `2` only differ on a hexarotor; on any other airframe both simply remove the failed motor.
On a hexarotor the rotor opposite the failed one is the rotor that used to cancel its drag (yaw) torque, so what happens to it decides how much yaw authority is left:
- Mode `1` stops it, leaving four symmetric rotors and no yaw bias to trim, but a third of the thrust is gone and the heading can still drift.
- Mode `2` keeps it in the allocation and lets it spin backwards. Driving a rotor in reverse inverts both its thrust and its drag torque, so it can still generate yaw torque. This needs an ESC that can actually reverse the motor.
The opposite motor is taken from the configured [geometry](actuators.md#motor-geometry-multicopter): it is the counter-rotating rotor closest to the failed rotor's antipode, and it is only computed for a 6-rotor multirotor geometry.
### Reverse Thrust Fraction
A propeller spun backwards produces less thrust than it does forwards, and [CA_REV_THR_FRAC](#CA_REV_THR_FRAC) tells the allocator what fraction to expect (default `0.4`, i.e. 40%, which is representative of a standard multicopter propeller).
A symmetric (3D) propeller produces almost the same thrust either way, so it should be set closer to `1.0`.
A value in the right region is best, but it is not critical: a hexarotor still recovers with `1.0` set on a propeller whose real fraction is 0.4.
### ESC Requirements for Reversing
Mode `2` reverses whichever motor sits opposite the one that failed, and any of the six can fail, so every motor on the vehicle has to be able to reverse (not just one of them).
Reversing needs all of the following:
1. Motors and ESCs that can be driven backwards.
2. Reversal enabled in the ESC configuration.
This is set in the ESC (PX4 does not set it for you).
3. [CA_FAILURE_MODE](#CA_FAILURE_MODE) = `2`.
4. For DShot ESCs only: [DSHOT_3D_ENABLE](../advanced_config/parameter_reference.md#DSHOT_3D_ENABLE) = `1`.
Nothing else is required, in particular the motors do _not_ have to be marked as [bidirectional](actuators.md#bidirectional-motors) ([CA_R_REV](../advanced_config/parameter_reference.md#CA_R_REV)).
PX4 makes the recovery motor reversible by itself while handling the failure, and returns it to forward-only if the failure clears.
#### DroneCAN
Reverse is part of the protocol: PX4 sends the recovery motor a negative `RawCommand`, and an ESC configured for bidirectional operation spins it backwards.
No additional PX4 parameter is needed.
See [Reversible motors](../dronecan/escs.md#reversible-motors) in _DroneCAN ESCs_.
#### DShot
A reversible output is encoded using the DShot 3D split range, where neutral sits in the middle of the range
The ESC has to be running in 3D mode, which is a persistent ESC setting (see [ESC Commands](../peripherals/dshot.md#commands)), and PX4 has to be told about it with [DSHOT_3D_ENABLE](../advanced_config/parameter_reference.md#DSHOT_3D_ENABLE).
`DSHOT_3D_ENABLE` puts every motor on the matching encoding.
This has nothing to do with [Bidirectional DShot](../peripherals/dshot.md#bidirectional-dshot-telemetry), which is about eRPM telemetry rather than reversing a motor.
:::warning
`DSHOT_3D_ENABLE` and the 3D setting in the ESCs must always agree, whether or not a motor has failed.
If the ESCs run in 3D mode while `DSHOT_3D_ENABLE` is `0`, the lower part of the throttle range is sent in the range those ESCs read as reverse, and the vehicle is not flyable.
:::
#### PWM, OneShot, and Other Protocols
These cannot reverse a motor, so [CA_FAILURE_MODE](#CA_FAILURE_MODE) has to be `1` or `0`.
With mode `2` the recovery motor would sit at around half throttle forwards instead of reversing, which is worse than stopping it.
:::warning
PX4 does not check whether an ESC can reverse, and a reverse command sent to an ESC that is not set up for it comes out as forward thrust.
Before flying with mode `2`, confirm on the bench that each motor really does spin backwards, for example from the sign of the reported RPM.
:::
## Failure Detection
Recovery reacts to the motor failure flag raised by the [failure detector](safety.md#motor-failure-trigger), which is set when either:
- an ESC stops sending telemetry, or reports a fault.
This requires [COM_ARM_CHK_ESCS](../advanced_config/parameter_reference.md#COM_ARM_CHK_ESCS) to be enabled.
- the current reported by an ESC is outside the band expected for its commanded thrust.
This requires [FD_ACT_EN](safety.md#FD_ACT_EN) to be enabled, and the [MOTFAIL\_\*](safety.md#motor-failure-trigger) thresholds to be tuned for the vehicle.
Either path needs ESC telemetry, so recovery is only possible with telemetry-capable ESCs (such as [DroneCAN](../dronecan/escs.md) or [DShot with telemetry](../peripherals/dshot.md#esc-telemetry)).
Note that the two are gated by different parameters: an ESC that goes silent triggers recovery with `FD_ACT_EN` disabled, as long as `COM_ARM_CHK_ESCS` is enabled.
The current-based check **latches**: once a motor is flagged it stays flagged until the vehicle disarms.
This is deliberate, because the recovery stops the failed motor, which would otherwise make it look healthy again and clear the failure.
The ESC offline/fault check does clear if the ESC starts reporting again, in which case all motors are restored to the allocation and any runtime reverse is removed.
To exercise the whole chain you can take an ESC offline with [failure injection](../debug/failure_injection.md): `failure esc off -i <n>`.
## Параметри
| Parameter | Опис |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="CA_FAILURE_MODE"></a>[CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE) | What to do on a single motor failure. <br>`0` (default): Ignore and report failure.<br>`1`: Remove failed motor from allocation. Hexarotor: also stop the opposite motor.<br>`2`: Remove failed motor from allocation. Hexarotor: also reverse the opposite motor. |
| <a id="CA_REV_THR_FRAC"></a>[CA_REV_THR_FRAC](../advanced_config/parameter_reference.md#CA_REV_THR_FRAC) | Fraction of forward thrust that the recovery motor is expected to produce in reverse (default `0.4`). Only used by mode `2`. |
## Дивіться також
- [Safety Configuration (Failsafes)](../config/safety.md), covering the failure detector and motor failure detection.
- [Control Allocation (Mixing)](../concept/control_allocation.md)
- [Actuator Configuration and Testing](actuators.md), covering geometry, motor order and bidirectional motors.
+50 -23
View File
@@ -80,13 +80,28 @@ You can configure both the levels and the failsafe actions at each level in QGro
![Safety - Battery (QGC)](../../assets/qgc/setup/safety/safety_battery.png)
The most common configuration is to set the values and action as above (with `Warn > Failsafe > Emergency`), and to set the [Failsafe Action](#COM_LOW_BAT_ACT) to warn at "warn level", trigger Return mode at "Failsafe level", and land immediately at "Emergency level".
You should set the failsafe levels with `Warn > Failsafe > Emergency` as shown above.
Note that PX4 will warn if the battery drops to the "Warn level" for any of action settings.
The failsafe actions can then be set to one of:
- `0: Warning` — Warn only.
- `2: Land mode` — Land at the "Failsafe level".
- `3: Return at critical level, land at emergency level`: (recommended) — Return mode at "Failsafe" level, Land at "Emergency level".
- `4: Return at critical level, terminate at emergency level`<Badge type="tip" text="main (PX4 v2.0)" /> — Return mode at "Failsafe" level, [Flight termination](#act_term) at "Emergency level".
::: tip
This option may be preferred for vehicles that have a [parachute](../peripherals/parachute.md), as it enables controlled landing when there is no power at all.
If it is not available in the setup screen, [set the parameter](../advanced_config/parameters.md) directly to [COM_LOW_BAT_ACT = 4](../advanced_config/parameter_reference.md#COM_LOW_BAT_ACT).
:::
Налаштування та вибрані параметри показані нижче.
| Налаштування | Parameter | Опис |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| <a id="COM_LOW_BAT_ACT"></a>Failsafe Action | [COM_LOW_BAT_ACT](../advanced_config/parameter_reference.md#COM_LOW_BAT_ACT) | Warn, Return, or Land based when capacity drops below the trigger levels. |
| <a id="COM_LOW_BAT_ACT"></a>Failsafe Action | [COM_LOW_BAT_ACT](../advanced_config/parameter_reference.md#COM_LOW_BAT_ACT) | Warn, Land, or Return and then Land or Terminate when capacity drops below the trigger levels. |
| <a id="BAT_LOW_THR"></a>Battery Warn Level | [BAT_LOW_THR](../advanced_config/parameter_reference.md#BAT_LOW_THR) | Відсоткова ємність для попереджень (або інших дій). |
| <a id="BAT_CRIT_THR"></a>Battery Failsafe Level | [BAT_CRIT_THR](../advanced_config/parameter_reference.md#BAT_CRIT_THR) | Відсоткова ємність для дії Повернення (або інших дій, якщо вибрано одну дію). |
| <a id="BAT_EMERGEN_THR"></a>Battery Emergency Level | [BAT_EMERGEN_THR](../advanced_config/parameter_reference.md#BAT_EMERGEN_THR) | Відсоткова ємність для спрацьовування дії Land (негайно). |
@@ -220,18 +235,27 @@ The relevant parameters shown below.
### Position Loss Failsafe Action
Multicopters will switch to [Altitude mode](../flight_modes_mc/altitude.md) if a height estimate is available, otherwise [Stabilized mode](../flight_modes_mc/manual_stabilized.md).
Multicopters flying in a position-dependent manual mode, such as [Position mode](../flight_modes_mc/position.md), will switch to [Altitude mode](../flight_modes_mc/altitude.md) if a height estimate is available, and otherwise [Stabilized mode](../flight_modes_mc/manual_stabilized.md).
Fixed-wing planes, and VTOLs not configured to land in hover ([NAV_FORCE_VT](../advanced_config/parameter_reference.md#NAV_FORCE_VT)), have a parameter ([FW_GPSF_LT](../advanced_config/parameter_reference.md#FW_GPSF_LT)) that defines how long they will loiter (circle with a constant roll angle ([FW_GPSF_R](../advanced_config/parameter_reference.md#FW_GPSF_R)) at the current altitude) after losing position before attempting to land.
If VTOLs have are configured to switch to hover for landing ([NAV_FORCE_VT](../advanced_config/parameter_reference.md#NAV_FORCE_VT)) then they will first transition and then descend.
If manual control is lost as well, or in autonomous modes, PX4 instead attempts _Return mode_ (needs a valid global position and home position), falling back to _Land mode_ (needs a local position estimate), and finally to [Descend mode (MC)](../flight_modes_mc/descend.md) if no position estimate is available at all.
Fixed-wing planes flying in a position-dependent manual mode, such as [Cruise mode](../flight_modes_fw/cruise.md), will similarly switch to [Altitude mode](../flight_modes_fw/altitude.md) if a height estimate is available, and otherwise [Stabilized mode](../flight_modes_fw/stabilized.md).
If manual control is lost as well, or in autonomous modes, PX4 again attempts _Return mode_, falling back to _Land mode_, and finally to [Descend mode (FW)](../flight_modes_fw/descend.md).
In [Descend mode (FW)](../flight_modes_fw/descend.md), the vehicle first loiters — circling with a constant roll angle ([FW_GPSF_R](../advanced_config/parameter_reference.md#FW_GPSF_R)) at the current altitude — for [FW_GPSF_LT](../advanced_config/parameter_reference.md#FW_GPSF_LT) seconds, before descending.
VTOLs follow the fixed-wing behaviour above, unless configured to land in hover ([NAV_FORCE_VT](../advanced_config/parameter_reference.md#NAV_FORCE_VT)), in which case they instead first transition to hover and then follow the multicopter behaviour.
<Badge type="tip" text="main (PX4 v2.0)" />You can set [COM_POS_FS_ACT](#COM_POS_FS_ACT) to `Terminate` to engage [Flight termination](#act_term) instead of Descend mode.
This is is intended for unpiloted vehicles that carry a parachute.
Відповідними параметрами є:
| Parameter | Опис |
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="FW_GPSF_LT"></a>[FW_GPSF_LT](../advanced_config/parameter_reference.md#FW_GPSF_LT) | Fixed-wing only: Loiter time (waiting at current altitude for position estimation recovery before starting to descend). Установіть значення 0 для відключення. |
| <a id="FW_GPSF_R"></a>[FW_GPSF_R](../advanced_config/parameter_reference.md#FW_GPSF_R) | Фіксований кут крену/кочення під час кілочення. |
| <a id="NAV_FORCE_VT"></a>[NAV_FORCE_VT](../advanced_config/parameter_reference.md#NAV_FORCE_VT) | If true, force VTOL takeoff and landing, even in `Descend` failsafe. |
| Parameter | Опис |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <a id="COM_POS_FS_ACT"></a>[COM_POS_FS_ACT](../advanced_config/parameter_reference.md#COM_POS_FS_ACT) | <Badge type="tip" text="main (PX4 v2.0)" /> Action when the failsafe would otherwise Descend. `0`: Descend if possible (default), `1`: Terminate. |
| <a id="FW_GPSF_LT"></a>[FW_GPSF_LT](../advanced_config/parameter_reference.md#FW_GPSF_LT) | Fixed-wing only: Loiter time (waiting at current altitude for position estimation recovery before starting to descend). Установіть значення 0 для відключення. |
| <a id="FW_GPSF_R"></a>[FW_GPSF_R](../advanced_config/parameter_reference.md#FW_GPSF_R) | Фіксований кут крену/кочення під час кілочення. |
| <a id="NAV_FORCE_VT"></a>[NAV_FORCE_VT](../advanced_config/parameter_reference.md#NAV_FORCE_VT) | If true, force VTOL takeoff and landing, even in `Descend` failsafe. |
### Position Accuracy Low Failsafe
@@ -324,15 +348,15 @@ The quad-chute can also be triggered by sending a MAVLINK [MAV_CMD_DO_VTOL_TRANS
Параметри, які контролюють те, коли спрацює квадро-шнур, перераховані в таблиці нижче.
| Parameter | Опис |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="COM_QC_ACT"></a>[COM_QC_ACT](../advanced_config/parameter_reference.md#COM_QC_ACT) | Дія чотирьох канатів після переходу на польот на багатокоптер. Can be set to: [Warning](#act_warn), [Return](#act_return), [Land](#act_land), [Hold](#act_hold). |
| <a id="VT_FW_QC_HMAX"></a>[VT_FW_QC_HMAX](../advanced_config/parameter_reference.md#VT_FW_QC_HMAX) | Максимальна висота квадрокута, нижче якої не спрацьовує аварійний відпуск квадрокута. Це запобігає швидкому спуску квадрокутника на велику висоту, що може розрядити батарею (і саме це може спричинити крах). Висота є відносною до землі, дому або місцевого походження (за вподобанням, в залежності від доступності). |
| <a id="VT_QC_ALT_LOSS"></a>[VT_QC_ALT_LOSS](../advanced_config/parameter_reference.md#VT_QC_ALT_LOSS) | Uncommanded descent quad-chute altitude threshold.<br><br>In altitude controlled modes, such as [Hold mode](../flight_modes_fw/hold.md), [Position mode](../flight_modes_fw/position.md), [Altitude mode](../flight_modes_fw/altitude.md), or [Mission mode](../flight_modes_fw/mission.md), a vehicle should track its current "commanded" altitude setpoint. Запускається аварійний парашут у випадку, якщо транспортний засіб падає надто далеко нижче заданої точки (на величину, визначену в цьому параметрі).<br><br>Зверніть увагу, що аварійний парашут запускається лише у випадку, якщо транспортний засіб постійно втрачає висоту нижче заданої точки; він не запускається, якщо задана точка висоти зростає швидше, ніж може рухатися транспортний засіб. |
| <a id="VT_QC_T_ALT_LOSS"></a>[VT_QC_T_ALT_LOSS](../advanced_config/parameter_reference.md#VT_QC_T_ALT_LOSS) | Поріг втрати висоти для спрацьовування квадропарашута під час переходу VTOL до польоту на фіксованому крилі. Quad-chute спрацьовує, якщо транспортний засіб падає на таку висоту нижче своєї початкової висоти перед завершенням переходу. |
| <a id="VT_FW_MIN_ALT"></a>[VT_FW_MIN_ALT](../advanced_config/parameter_reference.md#VT_FW_MIN_ALT) | Мінімальна висота над домашнім місцем для польотів на фіксованих крилах. Коли висота падає нижче цієї величини під час польоту на фіксованому крилі, тригерується квадрокупол. |
| <a id="VT_FW_QC_R"></a>[VT_FW_QC_R](../advanced_config/parameter_reference.md#VT_FW_QC_R) | Абсолютний поріг обертання для спрацьовування квадро-шнура в режимі FW. |
| <a id="VT_FW_QC_P"></a>[VT_FW_QC_P](../advanced_config/parameter_reference.md#VT_FW_QC_P) | Абсолютний поріг чутливості для виклику квадро-шлюзу у режимі FW. |
| Parameter | Опис |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="COM_QC_ACT"></a>[COM_QC_ACT](../advanced_config/parameter_reference.md#COM_QC_ACT) | Дія чотирьох канатів після переходу на польот на багатокоптер. Can be set to: [Warning](#act_warn), [Return](#act_return), [Land](#act_land), [Hold](#act_hold). |
| <a id="VT_FW_QC_HMAX"></a>[VT_FW_QC_HMAX](../advanced_config/parameter_reference.md#VT_FW_QC_HMAX) | Максимальна висота квадрокута, нижче якої не спрацьовує аварійний відпуск квадрокута. Це запобігає швидкому спуску квадрокутника на велику висоту, що може розрядити батарею (і саме це може спричинити крах). Висота є відносною до землі, дому або місцевого походження (за вподобанням, в залежності від доступності). |
| <a id="VT_QC_ALT_LOSS"></a>[VT_QC_ALT_LOSS](../advanced_config/parameter_reference.md#VT_QC_ALT_LOSS) | Uncommanded descent quad-chute altitude threshold.<br><br>In altitude controlled modes, such as [Hold mode](../flight_modes_fw/hold.md), [Cruise mode](../flight_modes_fw/cruise.md), [Altitude mode](../flight_modes_fw/altitude.md), or [Mission mode](../flight_modes_fw/mission.md), a vehicle should track its current "commanded" altitude setpoint. Запускається аварійний парашут у випадку, якщо транспортний засіб падає надто далеко нижче заданої точки (на величину, визначену в цьому параметрі).<br><br>Зверніть увагу, що аварійний парашут запускається лише у випадку, якщо транспортний засіб постійно втрачає висоту нижче заданої точки; він не запускається, якщо задана точка висоти зростає швидше, ніж може рухатися транспортний засіб. |
| <a id="VT_QC_T_ALT_LOSS"></a>[VT_QC_T_ALT_LOSS](../advanced_config/parameter_reference.md#VT_QC_T_ALT_LOSS) | Поріг втрати висоти для спрацьовування квадропарашута під час переходу VTOL до польоту на фіксованому крилі. Quad-chute спрацьовує, якщо транспортний засіб падає на таку висоту нижче своєї початкової висоти перед завершенням переходу. |
| <a id="VT_FW_MIN_ALT"></a>[VT_FW_MIN_ALT](../advanced_config/parameter_reference.md#VT_FW_MIN_ALT) | Мінімальна висота над домашнім місцем для польотів на фіксованих крилах. Коли висота падає нижче цієї величини під час польоту на фіксованому крилі, тригерується квадрокупол. |
| <a id="VT_FW_QC_R"></a>[VT_FW_QC_R](../advanced_config/parameter_reference.md#VT_FW_QC_R) | Абсолютний поріг обертання для спрацьовування квадро-шнура в режимі FW. |
| <a id="VT_FW_QC_P"></a>[VT_FW_QC_P](../advanced_config/parameter_reference.md#VT_FW_QC_P) | Абсолютний поріг чутливості для виклику квадро-шлюзу у режимі FW. |
## High Wind Failsafe
@@ -390,7 +414,7 @@ If the vehicle descends more than [FD_ALT_LOSS](#FD_ALT_LOSS) meters below the s
### Motor Failure Trigger
The failure detector can be configured to detect a motor failure while armed (and trigger an associated action) if the ESC current falls outside expected threshold for more than [MOTFAIL_TIME](#MOTFAIL_TIME) seconds.
Motor failures are non-latching: if the failure condition clears, the failure is cleared.
A motor flagged by this current check stays flagged until the vehicle disarms, because the reaction to a failure may stop the motor and thereby make it look healthy again.
The undercurrent and overcurrent conditions are defined by:
@@ -399,14 +423,17 @@ undercurrent: {esc current} < {MOTFAIL_C2T} * {motor command [0,1]} - {MOTFAIL_O
overcurrent: {esc current} > {MOTFAIL_C2T} * {motor command [0,1]} + {MOTFAIL_OFF}
```
The action on motor failure is set with [CA_FAILURE_MODE](#CA_FAILURE_MODE).
Actions depend on the vehicle type, and might include warning the user, removing failed motors from control allocation, disabling symmetrically opposite motors, and so on.
For more information see [Motor Failure Recovery](motor_failure_recovery.md).
| Parameter | Опис |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="FD_ACT_EN"></a>[FD_ACT_EN](../advanced_config/parameter_reference.md#FD_ACT_EN) | Enable/disable the motor failure trigger completely. |
| <a id="MOTFAIL_C2T"></a>[MOTFAIL_C2T](../advanced_config/parameter_reference.md#MOTFAIL_C2T) | Slope between normalized motor command [0–1] and expected steady-state current (FD_ACT_MOT_C2T at 100%) (A/%). |
| <a id="MOTFAIL_OFF"></a>[MOTFAIL_OFF](../advanced_config/parameter_reference.md#MOTFAIL_OFF) | Under/over-current detection threshold offset (A). Added to the expected current to form the upper bound. Subtracted from the expected current to form the lower bound. |
| | |
| <a id="MOTFAIL_OFF"></a>[MOTFAIL_OFF](../advanced_config/parameter_reference.md#MOTFAIL_OFF) | Under/over-current detection threshold offset (A). Added/subtracted to the expected current to form the upper and lower bounds. |
| <a id="MOTFAIL_TIME"></a>[MOTFAIL_TIME](../advanced_config/parameter_reference.md#MOTFAIL_TIME) | Hysteresis time (s) for which the current threshold must remain exceeded before a motor failure is triggered. |
| <a id="CA_FAILURE_MODE"></a>[CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE) | Configure to not only warn about a motor failure but remove the first motor that detects a failure from the allocation effectiveness which turns off the motor and tries to operate the vehicle without it until disarming the next time. |
| <a id="CA_FAILURE_MODE"></a>[CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE) | Failure mode. See [Motor Failure Recovery](motor_failure_recovery.md). |
### External Automatic Trigger System (ATS)
@@ -74,7 +74,7 @@ Fly in stabilized mode, reduce throttle to `FW_THR_MIN` and adjust the pitch ang
Specify the target climb and sink rate for autonomous missions by adjusting [FW_T_CLMB_R_SP](../advanced_config/parameter_reference.md#FW_T_CLMB_R_SP) and [FW_T_SINK_R_SP](../advanced_config/parameter_reference.md#FW_T_SINK_R_SP).
Ці параметри вказують на швидкість, з якою транспортний засіб буде підніматися або сходити, щоб змінити висоту.
Furthermore, these two values define the height rate limits commanded by the user in [Altitude mode](../flight_modes_fw/altitude.md) and [Position mode](../flight_modes_fw/position.md).
Furthermore, these two values define the height rate limits commanded by the user in [Altitude mode](../flight_modes_fw/altitude.md) and [Cruise mode](../flight_modes_fw/cruise.md).
### Налаштування контролю траєкторії FW (Позиція)
+2
View File
@@ -96,6 +96,8 @@ You may need to [configure the following parameters](../dronecan/index.md#qgc-ca
| -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="CANNODE_NODE_ID"></a>[CANNODE_NODE_ID](../advanced_config/parameter_reference.md#CANNODE_NODE_ID) | CAN node ID (0 for dynamic allocation). If set to 0 (default), dynamic node allocation is used. Set to 1-125 to use a static node ID. |
| <a id="CANNODE_TERM"></a>[CANNODE_TERM](../advanced_config/parameter_reference.md#CANNODE_TERM) | Вбудована завершення шини CAN. Set to `1` if this is the last node on the CAN bus. |
| <a id="GPS_UBX_BAUD1"></a>[GPS_UBX_BAUD1](../advanced_config/parameter_reference.md#GPS_UBX_BAUD1) | UART1 baudrate after the link is auto-detected. Board default is `921600`. |
| <a id="GPS_UBX_BAUD2"></a>[GPS_UBX_BAUD2](../advanced_config/parameter_reference.md#GPS_UBX_BAUD2) | UART2 baudrate (default `230400`). |
### Setting Up Rover and Fixed Base
+2
View File
@@ -98,6 +98,8 @@ You may need to [configure the following parameters](../dronecan/index.md#qgc-ca
| -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="CANNODE_NODE_ID"></a>[CANNODE_NODE_ID](../advanced_config/parameter_reference.md#CANNODE_NODE_ID) | CAN node ID (0 for dynamic allocation). If set to 0 (default), dynamic node allocation is used. Set to 1-125 to use a static node ID. |
| <a id="CANNODE_TERM"></a>[CANNODE_TERM](../advanced_config/parameter_reference.md#CANNODE_TERM) | Вбудована завершення шини CAN. Set to `1` if this is the last node on the CAN bus. |
| <a id="GPS_UBX_BAUD1"></a>[GPS_UBX_BAUD1](../advanced_config/parameter_reference.md#GPS_UBX_BAUD1) | UART1 baudrate after the link is auto-detected. Board default is `921600`. |
| <a id="GPS_UBX_BAUD2"></a>[GPS_UBX_BAUD2](../advanced_config/parameter_reference.md#GPS_UBX_BAUD2) | UART2 baudrate (default `230400`). |
### Setting Up Rover and Fixed Base
+23
View File
@@ -31,3 +31,26 @@ In addition to the general setup, such as setting `UAVCAN_ENABLE` to `3`:
- Select the specific CAN interface(s) used for ESC data output using the [UAVCAN_ESC_IFACE](../advanced_config/parameter_reference.md#UAVCAN_ESC_IFACE) parameter (all that all interfaces are selected by default).
- Configure the [motor order and servo outputs](../config/actuators.md).
## Reversible Motors {#reversible-motors}
<Badge type="tip" text="main (PX4 v2.0)" />
Motors can be reversible "on the fly" (bidirectional) if the motor hardware supports reversal, the ESC firmware is configured for 3D/bidirectional operation, and the motor is set as [bidirectional](../config/actuators.md#bidirectional-motors) in the actuator configuration.
When configured as bidirectional, PX4 commands the motor with a _signed_ `uavcan.equipment.esc.RawCommand` value, as defined by the DroneCAN ESC message protocol:
- **Zero:** Motor stop / neutral
- **Positive values:** Forward thrust
- **Negative values:** Reverse thrust
Motors that are not configured as bidirectional continue to receive positive values only.
:::tip
Verifying Operation
Check the sign of the RPM reported in the ESC telemetry to confirm that the ESC is interpreting negative commands correctly and actively spinning the motor in reverse.
:::
Reversible motors may also be used in [Motor Failure Recovery](../config/motor_failure_recovery.md) to keep a hexarotor controllable after a single motor failure.
That case still needs ESCs configured for reversal.
However it is not necessary to set the motor as bidirectional in the actuator configuration, because PX4 makes the recovery motor reversible as it handles the failure.
+10
View File
@@ -76,6 +76,9 @@ DroneCAN was previously known as UAVCAN v0 (or just UAVCAN).
- [Avionics Anonymous Laser Altimeter UAVCAN Interface](../dronecan/avanon_laser_interface.md)
- [RaccoonLab uRangefidner and Rangefinders Adapter](https://docs.raccoonlab.co/guide/rangefinder/)
- Захоплювачі
- [DroneCAN Electro-Permanent Magnet (EPM)](../peripherals/gripper_epm.md)
- Оптичний потік(Optical Flow)
- [Ark Flow](ark_flow.md)
- [Ark Flow MR](ark_flow_mr.md)
@@ -280,6 +283,13 @@ If the rangefinder is connected via DroneCAN (whether inbuilt or separate), you
- [UAVCAN_PUB_ARM](../advanced_config/parameter_reference.md#UAVCAN_PUB_ARM) ([Arming Status](https://dronecan.github.io/Specification/7._List_of_standard_data_types/#armingstatus)): Publish when using DroneCAN components that require the PX4 arming status as a precondition for use.
#### Захоплювачі
DroneCAN grippers do not require any `UAVCAN_SUB_*`, `UAVCAN_PUB_*`, `CANNODE_SUB_*`, or `CANNODE_PUB_*` parameters.
When DroneCAN is enabled, PX4 automatically publishes [`uavcan.equipment.hardpoint.Command`](https://dronecan.github.io/Specification/7._List_of_standard_data_types/#uavcanequipmenthardpoint) messages to forward `MAV_CMD_DO_GRIPPER` commands.
See [Electro-Permanent Magnet (EPM)](../peripherals/gripper_epm.md) for an example setup.
### ESC & Servos
[DroneCAN ESCs and servos](../dronecan/escs.md) require the [motor order and servo outputs](../config/actuators.md) to be configured.
+1
View File
@@ -7,3 +7,4 @@ This section lists features that are specific to (or customised for) multicopter
- [Точна посадка](../advanced_features/precland.md)
- [Terrain Following/Holding](../flying/terrain_following_holding.md)
- [Запуск з катапульти або підкиданням](../flight_modes_mc/throw_launch.md)
- [Motor Failure Recovery](../config/motor_failure_recovery.md)
@@ -0,0 +1,344 @@
# Amovlab Flycore
<Badge type="tip" text="main (PX4 v2.0)" />
:::warning
PX4 не розробляє цей (або будь-який інший) автопілот.
Contact the [manufacturer](https://amovlab.com/) for hardware support or compliance issues.
:::
The Amovlab Flycore is an STM32H743-based flight controller for PX4-powered vehicles.
It integrates a UM982 GNSS module on the primary GPS interface, has dual onboard IMUs, an onboard barometer, 10 FMU PWM outputs, dual CAN, USB, three telemetry ports, an external GPS2 port, an external RC port, a standard SD card slot, and exposed buzzer and SWD pads.
![Amovlab Flycore flight controller](../../assets/flight_controller/amovlab_flycore/amovlab_flycore_product.jpg)
:::info
This flight controller is intended for inclusion in the [manufacturer supported](../flight_controller/autopilot_manufacturer_supported.md) board list.
:::
## Specifications {#specifications}
- **Processor**
- **Main FMU processor:** STM32H743 (32-bit Arm® Cortex®-M7, 480 MHz, 2 MB flash, 1 MB RAM)
- **IO processor:** None. This board does not have a PX4IO coprocessor.
- **Sensors**
- **IMU:** Bosch BMI088 (SPI), InvenSense ICM-42688P (SPI)
- **Barometer:** MS5611 (SPI)
- **GNSS:** Onboard UM982 module connected to `GPS1`
- **Magnetometer:** None fitted by default. `GPS1` and `GPS2` do not include compass I2C lines.
- **Interfaces**
- **PWM outputs:** 10 FMU outputs
- **Serial ports:** 7
- **Telemetry ports:** 3 (`TELEM1`, `TELEM2`, `TELEM3`)
- **GPS ports:** 2
- `GPS1`: internal connection to the onboard UM982 GNSS module
- `GPS2`: external GPS connector
- **I2C ports:** 2 external buses configured in firmware (`I2C1`, `I2C4`)
- **SPI buses:** 3
- `SPI1`: BMI088 IMU and MS5611 barometer
- `SPI2`: ICM-42688P IMU
- `SPI4`: onboard flash
- **CAN buses:** 2
- **USB:** Yes
- **RC input:** Yes, on the FMU `RC` port
- **Supported RC protocols:** SBUS, DSM/DSMX, CRSF, GHST, PPM
- **Analog battery inputs:** 1 voltage input and 1 current input
- **Additional analog inputs:** None exposed to users
- **Buzzer:** Exposed pads
- **SWD:** Exposed pads
- **SD card:** Standard SD card slot
- **Electrical data**
- **Power input:** XT30 connector, 15-28 V
- **Minimum input current:** 0.1 A
- **Battery voltage sensing range:** 3S-6S LiPo
- **Battery current sensing range:** 1-60 A
- **Servo/PWM output rail:** Externally powered. The board only provides PWM signal outputs.
- **Mechanical data**
- **Dimensions:** 120 mm x 55 mm x 26.3 mm
- **Weight:** 60 g
- **Mounting:** 50 mm x 115 mm hole spacing, 2.5 mm hole diameter
## Where to Buy {#store}
For purchasing, contact [shudajun@amovauto.com](mailto:shudajun@amovauto.com).
## З'єднання
The board includes the following main external connections:
- `POWER`: XT30, 15-28 V input
- `USB`
- `TELEM1`
- `TELEM2`
- `TELEM3`
- `GPS2`: external GPS connector, without compass I2C
- `RC`
- `CAN1`
- `CAN2`
- `I2C1`
- `I2C4`
- `PWM OUT 1-10`
- Standard SD card slot
- Buzzer pads
- SWD pads
- UART8 debug console pads
The external peripheral signal connectors use JST GH connectors with 1.25 mm pitch.
Flycore uses Pixhawk-style port names for common interfaces such as `TELEM`, `GPS`, `CAN`, `I2C`, and `RC`, but the fitted connectors and pin assignments are board-specific and are not claimed to fully comply with the DS-009 Pixhawk Connector Standard.
Use the [Pinouts](#pinouts) section as the authoritative connector definition for this board.
This does not apply to `POWER` (XT30), USB, the SD card slot, RTK antenna interfaces, or the exposed buzzer, SWD, and UART8 debug console pads.
`GPS1` is not exposed as an external connector on the flight controller.
It is connected internally to the onboard UM982 GNSS module and does not include safety-switch pins or compass I2C lines.
## Schematic Diagram
![Amovlab Flycore connector layout](../../assets/flight_controller/amovlab_flycore/amovlab_flycore_pinout.jpg)
## Схема розташування виводів
The following pinouts use the signal names from the manufacturer interface definition.
Pin 1 starts from the right side of the connector, as shown below:
![Amovlab Flycore pin 1 orientation](../../assets/flight_controller/amovlab_flycore/amovlab_flycore_pin1_orientation.png)
### CAN1 Port
| Pin | Сигнал |
| --- | -------------------------- |
| 1 | CAN_L |
| 2 | CAN_H |
| 3 | GND |
| 4 | VCC |
### GPS2 Port
| Pin | Сигнал |
| --- | ------ |
| 1 | RX |
| 2 | TX |
| 3 | GND |
| 4 | VCC |
### TELEM3 Port
| Pin | Сигнал |
| --- | ------ |
| 1 | RX |
| 2 | TX |
| 3 | GND |
| 4 | VCC |
### I2C1 Port
| Pin | Сигнал |
| --- | ------ |
| 1 | SDA |
| 2 | SCL |
| 3 | GND |
| 4 | VCC |
### I2C4 Port
| Pin | Сигнал |
| --- | ------ |
| 1 | SDA |
| 2 | SCL |
| 3 | GND |
| 4 | VCC |
### PWM Port
| Pin | Сигнал |
| --- | ---------------------------- |
| 1 | GND |
| 2 | BUZZER |
| 3 | FMU_CH8 |
| 4 | FMU_CH7 |
| 5 | FMU_CH6 |
| 6 | FMU_CH5 |
| 7 | FMU_CH4 |
| 8 | FMU_CH3 |
| 9 | FMU_CH2 |
| 10 | FMU_CH1 |
### TELEM2 Port
| Pin | Сигнал |
| --- | ------ |
| 1 | GND |
| 2 | RX |
| 3 | TX |
### RTK COM2 Port
| Pin | Сигнал |
| --- | ------ |
| 1 | RX |
| 2 | TX |
| 3 | GND |
| 4 | PPS |
## Sensor and Bus Configuration
The default Flycore PX4 port matches the hardware as shipped:
- **Onboard sensors:** BMI088, ICM-42688P, and MS5611.
- **Onboard GNSS:** UM982 connected to `GPS1`.
- **External GPS:** `GPS2` is available for an external GPS receiver, but does not provide compass I2C lines.
- **Default firmware:** `rc.board_sensors` starts only the onboard IMUs and barometer. It does not start magnetometers or other external sensors that are not fitted by default.
Flycore has no onboard magnetometer and its GPS connectors do not include compass I2C.
If a magnetometer is required, use a supported external magnetometer connected through `I2C1`, `I2C4`, or another compatible interface provided by the vehicle setup.
Without a magnetometer, yaw in flight relies on GPS course when available and other estimator settings as configured in QGroundControl.
Plan missions accordingly for GPS-denied operation.
## Power {#power}
The flight controller can be powered from the **POWER** connector.
Power ports:
- `POWER`: XT30 connector, 15-28 V input, 0.1 A minimum input current
:::warning
The PWM output ports are not powered by the POWER port.
The output rail must be [separately powered](../peripherals/pwm_escs_and_servo.md) if it needs to power servos or other hardware.
This is generally true for VTOL and fixed-wing vehicles, but not necessarily true for multicopters.
:::
The battery voltage sensing range is 3S-6S LiPo.
The battery current sensing range is 1-60 A.
PX4 configures analog battery monitoring using `BAT1_V_DIV=10.89` and `BAT1_A_PER_V=36.367515152` by default.
The board only provides PWM signal outputs; provide external rail power before connecting servos or other payloads that need power from the output rail.
For battery and power module configuration see [Battery and Power Module Setup](../config/battery.md).
## Налаштування послідовного порту
| UART | Пристрій | Порт | Flow Control |
| ------ | ---------- | --------------- | :----------: |
| USART2 | /dev/ttyS0 | `TELEM1` | Так |
| USART3 | /dev/ttyS1 | `TELEM2` | Ні |
| UART4 | /dev/ttyS2 | `GPS1` | Ні |
| UART5 | /dev/ttyS3 | `TELEM3` | Ні |
| USART6 | /dev/ttyS4 | `RC` | Ні |
| UART7 | /dev/ttyS5 | `GPS2` | Ні |
| UART8 | /dev/ttyS6 | `Debug Console` | Ні |
`GPS1` is used by the onboard UM982 GNSS module.
`GPS2` is the external GPS port.
The debug console is exposed on UART8 pads; no connector is fitted by default. The UART8 pad pinout is board-specific.
## Radio Control {#radio_control}
Для того щоб керувати транспортним засобом _вручну_, потрібна система радіоуправління (RC) (PX4 не потребує системи радіоуправління для автономних режимів польоту).
Вам потрібно [вибрати сумісний передавач/приймач](../getting_started/rc_transmitter_receiver.md) і _зв'язати_ їх таким чином, щоб вони взаємодіяли (ознайомтеся з інструкціями, що додаються до вашого конкретного передавача/приймача).
The RC port is connected to the FMU, not to a PX4IO coprocessor.
The `RC` port supports SBUS, DSM/DSMX, CRSF, GHST, and PPM receivers.
The board configuration enables PX4 RC input and maps the RC serial port to `/dev/ttyS4`.
For PPM and S.Bus receivers, a single signal wire carries all channels.
If your receiver outputs individual PWM signals (one wire per channel) it must be connected via a PPM encoder.
For more information, see [RC receivers](../getting_started/rc_transmitter_receiver.md).
## GPS & Compass {#gps_compass}
PX4 supports GPS modules connected to the GPS port(s) listed below.
GPS modules should be [mounted on the frame](../assembly/mount_gps_compass.md) as far away from other electronics as possible, with the direction marker pointing towards the front of the vehicle.
The GPS ports are:
- `GPS1` (FMU): Internal connection to the onboard UM982 GNSS module. This is not exposed as an external connector and does not include safety-switch pins or compass I2C lines.
- `GPS2` (FMU): External GPS connector. This port does not include compass I2C lines.
Flycore has no onboard magnetometer.
The `GPS1` and `GPS2` interfaces do not provide compass I2C, so a GPS/compass module connected to `GPS2` will only use the GPS serial interface unless the compass is connected through another compatible external interface.
## Telemetry Radios (Optional) {#telemetry}
[Телеметричні радіостанції](../telemetry/index.md) можуть використовуватися для зв'язку та управління транспортним засобом у польоті з наземної станції (наприклад, ви можете направляти БПЛА до певної позиції або завантажувати нове завдання).
The vehicle-based radio should be connected to a TELEM port — **TELEM1**, **TELEM2**, or **TELEM3**.
If connected to **TELEM1**, no further configuration is required.
Інша радіостанція підключається до вашого комп'ютера або мобільного пристрою наземної станції (зазвичай за допомогою USB).
## PWM Outputs {#pwm_outputs}
This flight controller supports up to 10 FMU PWM outputs (`MAIN`).
Outputs 1-7 support [DShot](../peripherals/dshot.md) and [Bidirectional DShot](../peripherals/dshot.md#bidirectional-dshot-telemetry).
Outputs 8-10 do not support DShot.
The 10 outputs are split into 3 groups:
- Outputs 1-4 are in group 1, using Timer 1.
- Outputs 5-7 are in group 2, using Timer 3.
- Outputs 8-10 are in group 3, using Timer 4.
All outputs within the same group must use the same output protocol and rate.
## SD-карта
This board has a standard SD card slot.
## Збірка прошивки
To [build PX4](../dev_setup/building_px4.md) for this target:
```sh
make amovlab_flycore_default
```
Build and upload via USB:
```sh
make amovlab_flycore_default upload
```
Build the bootloader:
```sh
make amovlab_flycore_bootloader
```
## Bootloader / Board ID
- **Board ID:** 1218 (`boards/amovlab/flycore/firmware.prototype`)
- **Bootloader USB product string:** `PX4 BL AMOV FLYCORE`
## Default Airframe
For hardware type `FLYCORE000000`, `rc.board_defaults` sets `SYS_AUTOSTART` to **4014** (generic multicopter airframe class).
Adjust the airframe in QGroundControl to match your vehicle.
Amovlab recommends this flight controller for the Amovlab SU17 platform.
## Відладочний порт
The PX4 system console is exposed on UART8 pads.
No connector is fitted by default.
The UART8 pad pinout is board-specific and does not use a standard fitted connector.
## Підтримувані платформи / Конструкції
The Flycore can be used with airframes supported by the selected PX4 configuration, including multicopters and other vehicles that match the available PWM, CAN, serial, and sensor interfaces.
Amovlab recommends Flycore for the Amovlab SU17 platform.
## Maintenance
- **Vendor:** Amovlab
- **PX4 board target:** `amovlab_flycore_default`
- **PX4 hardware architecture:** `AMOVLAB_FLYCORE`
- **PX4 hardware type:** `FLYCORE000000`
- **Hardware version/revision:** `0x000` / `0x000`
@@ -21,6 +21,7 @@ This category includes boards that are not fully compliant with the pixhawk stan
- [AEDROX AEDROXH7](../flight_controller/aedrox_aedroxh7.md)
- [AirMind MindPX](../flight_controller/mindpx.md)
- [AirMind MindRacer](../flight_controller/mindracer.md)
- [Amovlab Flycore](../flight_controller/amovlab_flycore.md)
- [ARK Electronics ARKV6X](../flight_controller/ark_v6x.md) (and [ARK Electronics Pixhawk Autopilot Bus Carrier](../flight_controller/ark_pab.md))
- [ARK Electronics ARKV6S](../flight_controller/ark_v6s.md)
- [ARK FPV Flight Controller](../flight_controller/ark_fpv.md)
+294
View File
@@ -0,0 +1,294 @@
# Mode Requirements
:::info
This documentation was auto-generated from the source code (see [docs/scripts/get_mode_requirements](https://github.com/PX4/PX4-Autopilot/tree/main/docs/scripts/get_mode_requirements)).
:::
Mode requirements define the set of conditions that must be met in order to arm in a particular flight mode, or to switch to the mode if it is already armed.
Requirements are defined for internal modes in [mode_requirements.cpp](https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/commander/ModeUtil/mode_requirements.cpp), and for ROS 2 external modes in [requirement_flags.hpp](https://github.com/Auterion/px4-ros2-interface-lib/blob/main/px4_ros2_cpp/include/px4_ros2/common/requirement_flags.hpp) (Github `Auterion/px4-ros2-interface-lib` repository).
The mode requirements are the same in both cases.
The following sections provide an overview of the requirements and what modes they are used in.
## Requirements Definitions
| Requirement | Example |
| ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="mode_req_angular_velocity">`mode_req_angular_velocity`</a> | Angular velocity (gyroscope) |
| <a id="mode_req_attitude">`mode_req_attitude`</a> | Attitude/pose (IMU, or theoretically a motion capture system) |
| <a id="mode_req_local_position">`mode_req_local_position`</a> | Position relative to EKF2 origin ('0') point (GNSS, VIO, mocap) |
| <a id="mode_req_local_position_relaxed">`mode_req_local_position_relaxed`</a> | Position relative to EKF2 origin ('0') point but accepts poor accuracy (Optical flow) <br><br>Typically optical flow. You set zero when you take off and just integrate up the flow. So the absolute position can be very inaccurate but better than nothing. Useful to not drift away quickly and roughly know where you are. |
| <a id="mode_req_global_position">`mode_req_global_position`</a> | Position measurement updates in a global coordinate frame (GNSS, or local position and global reference to EKF 0) |
| <a id="mode_req_global_position_relaxed">`mode_req_global_position_relaxed`</a> | Position measurement updates in a global coordinate frame but accepts poor accuracy <br><br>Local position and global reference to EKF2 origin |
| <a id="mode_req_local_alt">`mode_req_local_alt`</a> | Local altitude relative to EKF2 origin ('0') position (Barometer corrected by GNSS altitude over time, distance sensor) <br><br>Usually not the distance sensor because if the ground shifts then the coordinate frame would shift with it (range aid problem). |
| <a id="mode_req_mission">`mode_req_mission`</a> | Valid mission in autopilot's storage (Mission mode only requirement) <br><br>can be from last time no need to upload fresh |
| <a id="mode_req_offboard_signal">`mode_req_offboard_signal`</a> | Offboard heartbeat <br><br>MAVLink messages SET_ATTITUDE_TARGET or SET_POSITION_TARGET_LOCAL_NED or SET_POSITION_TARGET_GLOBAL_INT not timing out. Offboard mode specific requirement. |
| <a id="mode_req_home_position">`mode_req_home_position`</a> | Global home reference must be set <br><br>Specific requirement for Return mode |
| <a id="mode_req_wind_and_flight_time_compliance">`mode_req_wind_and_flight_time_compliance`</a> | Safety compliance limits on wind and flight time. <br><br>Blocks arming or switching into the mode when the estimated wind speed exceeds `COM_WIND_MAX` (if `COM_WIND_MAX_ACT` is set to an action stronger than a warning), or when the flight time exceeds `COM_FLT_TIME_MAX`. Both limits are disabled by default. Modes commanded by a failsafe are exempt (see also `COM_WIND_WARN`). |
| <a id="mode_req_prevent_arming">`mode_req_prevent_arming`</a> | Mode prevents arming <br><br>The vehicle cannot be armed while this mode is selected. Set for modes such as Land, Orbit, and Return that you can't take off in (they can only be entered in flight). |
| <a id="mode_req_manual_control">`mode_req_manual_control`</a> | Requires stick input <br><br>Manual control can come from an RC system (RC driver -> channel mapping/calibration -> [`manual_control_input`](../msg_docs/ManualControlSetpoint.md)) or from a joystick (MAVLink [MANUAL_CONTROL](https://mavlink.io/en/messages/common.html#MANUAL_CONTROL) message -> `manual_control_input`). A selector configured with [COM_RC_IN_MODE](../advanced_config/parameter_reference.md#COM_RC_IN_MODE) chooses which source is used and publishes it as `manual_control_setpoint`. The requirement is met while the selected source has not timed out. |
| <a id="mode_req_other">`mode_req_other`</a> | Others requirement. <br><br>This is used by external modes. It is intended to specify additional requirements not covered by the existing flags |
### Naming Conventions
In general requirement flag names are abstracted from specific sensors.
This is done because particular requirements can often be met by several sensors.
For example, GNSS is the most common source of global position, but it isn't the only one.
The requirements include frame and accuracy information hints in their names:
- `global` means an absolute world frame, such as that provided by GNSS.
- `local` means a frame that relative to an initialization point, such as the position of an IMU on boot.
- `relaxed` means that the mode does not require or rely on accurate data: as long as sensors are providing some data the state is considered valid.
Relaxed conditions are used for modes where some sensor data is considered more important than none at all, such as when calculating position via optical flow velocity measurements.
By contrast, a position mode that is not relaxed requires reliable sensor data, and will block arming if inaccuracy is detected.
Note that a global position requirement can be met if you have a valid _local position_, by mapping the local frame to a global position.
This can be done by setting the global position of the local origin using the MAVLink message [SET_GPS_GLOBAL_ORIGIN](https://mavlink.io/en/messages/common.html#SET_GPS_GLOBAL_ORIGIN), either directly or via a GCS (see [External Position Estimate > Enabling Auto Modes with a Local Position](../ros/external_position_estimation#enabling-auto-modes-with-a-local-position)).
Similarly, if the vehicle has `mode_req_local_position_relaxed`, then you can map to a global position in order to meet the `global_position_relaxed` requirement.
This allows PX4 automatic flight modes that require a global position to be used locally, such as Mission and Return.
## Fixed-wing (VEHICLE_TYPE_FIXED_WING)
### [Manual Mode](../flight_modes_fw/manual.md) (NAVIGATION_STATE_MANUAL)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Stabilized Mode](../flight_modes_fw/stabilized.md) (NAVIGATION_STATE_STAB)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Acro Mode](../flight_modes_fw/acro.md) (NAVIGATION_STATE_ACRO)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Altitude Mode](../flight_modes_fw/altitude.md) (NAVIGATION_STATE_ALTCTL)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Cruise Mode](../flight_modes_fw/cruise.md) (NAVIGATION_STATE_POSCTL)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Guided Course Mode](../flight_modes_fw/guided_course.md) (NAVIGATION_STATE_GUIDED_COURSE)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_wind_and_flight_time_compliance`](#mode_req_wind_and_flight_time_compliance)
### [Hold Mode](../flight_modes_fw/hold.md) (NAVIGATION_STATE_AUTO_LOITER)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_global_position_relaxed`](#mode_req_global_position_relaxed)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_wind_and_flight_time_compliance`](#mode_req_wind_and_flight_time_compliance)
### [Takeoff Mode](../flight_modes_fw/takeoff.md) (NAVIGATION_STATE_AUTO_TAKEOFF)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
### [Descend Mode](../flight_modes_fw/descend.md) (NAVIGATION_STATE_DESCEND)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
### [Land Mode](../flight_modes_fw/land.md) (NAVIGATION_STATE_AUTO_LAND)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
### [Return Mode](../flight_modes_fw/return.md) (NAVIGATION_STATE_AUTO_RTL)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_global_position_relaxed`](#mode_req_global_position_relaxed)
- [`mode_req_home_position`](#mode_req_home_position)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
### [Mission Mode](../flight_modes_fw/mission.md) (NAVIGATION_STATE_AUTO_MISSION)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_global_position_relaxed`](#mode_req_global_position_relaxed)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_mission`](#mode_req_mission)
- [`mode_req_wind_and_flight_time_compliance`](#mode_req_wind_and_flight_time_compliance)
### [Offboard Mode](../flight_modes_fw/offboard.md) (NAVIGATION_STATE_OFFBOARD)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_offboard_signal`](#mode_req_offboard_signal)
### Modes Without a Dedicated Page
The following internal navigation states have no distinct user-facing behaviour or documentation page on this frame type:
- **NAVIGATION_STATE_ALTITUDE_CRUISE** — Behaves identically to [Altitude Mode](../flight_modes_fw/altitude.md) on fixed-wing frames — the control-mode flags are the same and there is no separate implementation.
- **NAVIGATION_STATE_POSITION_SLOW** — Behaves identically to [Position Mode](../flight_modes_fw/position.md) on fixed-wing frames — the control-mode flags are the same and there is no separate implementation.
- **NAVIGATION_STATE_ORBIT** — Not implemented for fixed-wing frames; [Hold Mode](../flight_modes_fw/hold.md) is used instead for orbiting a point.
- **NAVIGATION_STATE_AUTO_VTOL_TAKEOFF** — VTOL-specific transition state used for vertical takeoff before transitioning to forward flight; not applicable to plain fixed-wing frames.
- **NAVIGATION_STATE_AUTO_PRECLAND** — Not implemented for fixed-wing frames (precision landing requires hover capability).
- **NAVIGATION_STATE_AUTO_FOLLOW_TARGET** — Not implemented for fixed-wing frames (Follow Me is a multicopter-only flight task).
- **NAVIGATION_STATE_TERMINATION** — Internal flight-termination failsafe state. Not user-selectable; entered automatically when a failsafe action escalates to termination.
## Multicopter (VEHICLE_TYPE_ROTARY_WING)
### [Manual/Stabilized Mode](../flight_modes_mc/manual_stabilized.md) (NAVIGATION_STATE_MANUAL)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Manual/Stabilized Mode](../flight_modes_mc/manual_stabilized.md) (NAVIGATION_STATE_STAB)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Acro Mode](../flight_modes_mc/acro.md) (NAVIGATION_STATE_ACRO)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Altitude Mode](../flight_modes_mc/altitude.md) (NAVIGATION_STATE_ALTCTL)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Altitude Cruise Mode](../flight_modes_mc/altitude_cruise.md) (NAVIGATION_STATE_ALTITUDE_CRUISE)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Position Mode](../flight_modes_mc/position.md) (NAVIGATION_STATE_POSCTL)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Position Slow Mode](../flight_modes_mc/position_slow.md) (NAVIGATION_STATE_POSITION_SLOW)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_manual_control`](#mode_req_manual_control)
### [Hold Mode](../flight_modes_mc/hold.md) (NAVIGATION_STATE_AUTO_LOITER)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_global_position`](#mode_req_global_position)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position`](#mode_req_local_position)
- [`mode_req_wind_and_flight_time_compliance`](#mode_req_wind_and_flight_time_compliance)
### [Orbit Mode](../flight_modes_mc/orbit.md) (NAVIGATION_STATE_ORBIT)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position`](#mode_req_local_position)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
- [`mode_req_wind_and_flight_time_compliance`](#mode_req_wind_and_flight_time_compliance)
### [Takeoff Mode](../flight_modes_mc/takeoff.md) (NAVIGATION_STATE_AUTO_TAKEOFF)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position`](#mode_req_local_position)
### [Descend Mode](../flight_modes_mc/descend.md) (NAVIGATION_STATE_DESCEND)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
### [Land Mode](../flight_modes_mc/land.md) (NAVIGATION_STATE_AUTO_LAND)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position_relaxed`](#mode_req_local_position_relaxed)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
### [Precision Landing](../advanced_features/precland.md) (NAVIGATION_STATE_AUTO_PRECLAND)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position`](#mode_req_local_position)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
### [Return Mode](../flight_modes_mc/return.md) (NAVIGATION_STATE_AUTO_RTL)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_global_position`](#mode_req_global_position)
- [`mode_req_home_position`](#mode_req_home_position)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position`](#mode_req_local_position)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
### [Mission Mode](../flight_modes_mc/mission.md) (NAVIGATION_STATE_AUTO_MISSION)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_global_position`](#mode_req_global_position)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position`](#mode_req_local_position)
- [`mode_req_mission`](#mode_req_mission)
- [`mode_req_wind_and_flight_time_compliance`](#mode_req_wind_and_flight_time_compliance)
### [Follow Me Mode](../flight_modes_mc/follow_me.md) (NAVIGATION_STATE_AUTO_FOLLOW_TARGET)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_local_alt`](#mode_req_local_alt)
- [`mode_req_local_position`](#mode_req_local_position)
- [`mode_req_prevent_arming`](#mode_req_prevent_arming)
- [`mode_req_wind_and_flight_time_compliance`](#mode_req_wind_and_flight_time_compliance)
### [Offboard Mode](../flight_modes_mc/offboard.md) (NAVIGATION_STATE_OFFBOARD)
- [`mode_req_angular_velocity`](#mode_req_angular_velocity)
- [`mode_req_attitude`](#mode_req_attitude)
- [`mode_req_offboard_signal`](#mode_req_offboard_signal)
### Modes Without a Dedicated Page
The following internal navigation states have no distinct user-facing behaviour or documentation page on this frame type:
- **NAVIGATION_STATE_GUIDED_COURSE** — Not implemented for multicopters (course-hold is a fixed-wing-only flight task).
- **NAVIGATION_STATE_AUTO_VTOL_TAKEOFF** — VTOL-specific transition state used for vertical takeoff before transitioning to forward flight; not applicable to plain multicopter frames.
- **NAVIGATION_STATE_TERMINATION** — Internal flight-termination failsafe state. Not user-selectable; entered automatically when a failsafe action escalates to termination.
+27 -1
View File
@@ -17,7 +17,9 @@ A good understanding of [PX4 controller diagrams](../flight_stack/controller_dia
Апарат зберігає данні про положення, швидкість, прискорення, орієнтацію, значення сили тяги, відповідно заданим значенням, наданим деяким джерелом, зовнішнім по відношенню до польотного контролера, наприклад комп’ютером.
The setpoints may be provided using MAVLink (or a MAVLink API such as [MAVSDK](https://mavsdk.mavlink.io/)) or by [ROS 2](../ros2/index.md).
PX4 requires that the external controller provides a continuous "proof of life" signal by streaming any of the supported MAVLink setpoint messages or the ROS 2 [OffboardControlMode](../msg_docs/OffboardControlMode.md) message.
## Технічний підсумок
PX4 requires that the external controller provides a continuous 2Hz "proof of life" signal, by streaming any of the supported MAVLink setpoint messages or the ROS 2 [OffboardControlMode](../msg_docs/OffboardControlMode.md) message.
The stream should be active before switching to Offboard mode, and PX4 will trigger the configured Offboard-loss failsafe action ([COM_OBL_RC_ACT](../advanced_config/parameter_reference.md#COM_OBL_RC_ACT)) if proof-of-life messages are not received within the timeout configured by [COM_OF_LOSS_T](#COM_OF_LOSS_T).
::: info
@@ -31,6 +33,30 @@ The stream should be active before switching to Offboard mode, and PX4 will trig
:::
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_offboard -->
### Mode Requirements — Fixed-Wing
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_offboard_signal`](../flight_modes/mode_requirements.md#mode_req_offboard_signal) — Offboard heartbeat
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_offboard -->
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_offboard -->
### Mode Requirements — Multicopter
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_offboard_signal`](../flight_modes/mode_requirements.md#mode_req_offboard_signal) — Offboard heartbeat
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_offboard -->
## Опис
Offboard mode is used for controlling vehicle movement and attitude, by setting position, velocity, acceleration, attitude, attitude rates or thrust/torque setpoints.
+1 -1
View File
@@ -1 +1 @@
<Redirect to="../flight_modes_fw/position" />
<Redirect to="../flight_modes_fw/cruise" />
+11
View File
@@ -16,6 +16,17 @@ _Acro mode_ is the manual mode for performing acrobatic maneuvers e.g. rolls, fl
Вхідні сигнали стіків крену-тангажу перетворюються на команди кутової швидкості, які стабілізуються автопілотом.
Передача дроселя здійснюється безпосередньо для керування розподілом.
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_acro -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_acro -->
## Параметри
| Parameter | Опис |
+15 -2
View File
@@ -8,8 +8,8 @@ The _Altitude_ flight mode is the safest and easiest non-GPS manual mode.
Швидкість активно контролюється, якщо встановлений датчик швидкості.
:::tip
_Altitude mode_ is similar to [Position mode](../flight_modes_fw/position.md) in that both modes level the vehicle and maintain altitude when sticks are released.
Різниця полягає в тому, що режим позиції утримує фактичний шлях польоту (курс) стабільним проти вітру, тоді як висота лише утримує напрямок.
_Altitude mode_ is similar to [Cruise mode](../flight_modes_fw/cruise.md) in that both modes level the vehicle and maintain altitude when sticks are released.
The difference is that Cruise mode holds the actual flight path (course) steady against wind, while altitude just holds the heading.
:::
The vehicle performs a [coordinated turn](https://en.wikipedia.org/wiki/Coordinated_flight) if the roll sticks are non-zero, while the pitch stick controls the rate of ascent/descent.
@@ -43,6 +43,19 @@ Altitude mode like [Stabilized mode](../flight_modes_fw/stabilized.md) but with
- Потрібен ручний ввід управління (наприклад, за допомогою пульта дистанційного керування, джойстика).
- Необхідне джерело вимірювання висоти (зазвичай барометр або GPS)
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_altctl -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_altctl -->
## Параметри
Режим впливає на наступні параметри:
+82
View File
@@ -0,0 +1,82 @@
# Cruise Mode (Fixed-Wing)
<img src="../../assets/site/difficulty_easy.png" title="Easy to fly" width="30px" />&nbsp;<img src="../../assets/site/remote_control.svg" title="Manual/Remote control required" width="30px" />&nbsp;<img src="../../assets/site/position_fixed.svg" title="Position fix required (e.g. GPS)" width="30px" />
_Cruise mode_ (also shown as _Position_ in some tools) is the easiest and safest manual mode.
It is supported on vehicles that have a position estimate (e.g. GPS).
Це полегшує пілотам контроль висоти транспортного засобу, і зокрема досягати і підтримувати фіксовану висоту.
The mode will hold the vehicle's course against wind.
Швидкість активно контролюється, якщо встановлений датчик швидкості.
The vehicle performs a [coordinated turn](https://en.wikipedia.org/wiki/Coordinated_flight) if the roll sticks are non-zero, while the pitch stick controls the rate of ascent/descent.
Засувка визначає швидкість повітря — при 50% засувки літак буде утримувати свою поточну висоту з заданою крейсерською швидкістю.
When all sticks are released/centered (no roll, pitch, yaw, and ~50% throttle) the aircraft will return to straight, level flight, and keep its current altitude and flight path irrespective of wind.
This makes it easy to recover from any problems when flying.
Roll and pitch are angle-controlled (so it is impossible to roll over or loop the vehicle).
Стік повороту може бути використана для збільшення/зменшення кута приводу автомобіля на поворотах.
Якщо контролер фіксований у центрі, то він самостійно здійснює координацію повороту, що означає, що він застосовує необхідну швидкість розвороту для поточного кута крену, щоб виконати плавний поворот.
The diagram below shows the mode behaviour visually (for a [mode 2 transmitter](../getting_started/rc_transmitter_receiver.md#transmitter_modes)).
![FW Cruise Mode](../../assets/flight_modes/position_fw.png)
## Технічний опис
Cruise mode is like [Altitude mode](../flight_modes_fw/altitude.md) but with course stabilization.
Швидкість також стабілізується, якщо встановлений датчик швидкості.
- Центровані вхідні показники крену/тангажу/рискання (в межах дедбенду):
- Autopilot levels vehicle and maintains altitude, airspeed and course over ground.
- Зовнішній центр:
- Стік регулює висота польоту.
- Резервний стік керує швидкістю літального апарату, якщо підключений датчик швидкості. Without an airspeed sensor the vehicle will fly level at trim throttle ([FW_THR_TRIM](../advanced_config/parameter_reference.md#FW_THR_TRIM)), increasing or decreasing throttle as needed to climb or descend.
- Стік керування використовує кут крена. Autopilot will maintain [coordinated flight](https://en.wikipedia.org/wiki/Coordinated_flight).
- Стік крену додає додатковий значення швидкості рискання (додається до розрахованого автопілотом для підтримки координованого польоту).
Може бути використаний для ручної зміни кута рискання безпілотного засобу.
- Потрібен ручний ввід управління (наприклад, за допомогою пульта дистанційного керування, джойстика).
- Необхідне джерело вимірювання висоти (зазвичай барометр або GPS)
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_posctl -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_posctl -->
## Параметри
Режим впливає на наступні параметри:
| Parameter | Опис |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="FW_AIRSPD_MIN"></a>[FW_AIRSPD_MIN](../advanced_config/parameter_reference.md#FW_AIRSPD_MIN) | Мінімальна швидкість. За замовчуванням: 10 м/с. |
| <a id="FW_AIRSPD_MAX"></a>[FW_AIRSPD_MAX](../advanced_config/parameter_reference.md#FW_AIRSPD_MAX) | Максимальна швидкість. За замовчуванням: 20 м/с. |
| <a id="FW_AIRSPD_TRIM"></a>[FW_AIRSPD_TRIM](../advanced_config/parameter_reference.md#FW_AIRSPD_TRIM) | Крейсерська швидкість. За замовчуванням: 15 м/с. |
| <a id="FW_MAN_P_MAX"></a>[FW_MAN_P_MAX](../advanced_config/parameter_reference.md#FW_MAN_P_MAX) | Установлення максимального кроку в режимі стабілізації кута нахилу. За замовчуванням: 45 градусів. |
| <a id="FW_MAN_R_MAX"></a>[FW_MAN_R_MAX](../advanced_config/parameter_reference.md#FW_MAN_R_MAX) | Максимальне значення крена в режимі стабілізації кута нахилу. За замовчуванням: 45 градусів. |
| <a id="FW_T_CLMB_R_SP"></a>[FW_T_CLMB_R_SP](../advanced_config/parameter_reference.md#FW_T_CLMB_R_SP) | Максимальна задана швидкість підйому. За замовчуванням: 3 м/с. |
| <a id="FW_T_SINK_R_SP"></a>[FW_T_SINK_R_SP](../advanced_config/parameter_reference.md#FW_T_SINK_R_SP) | Максимальне значення зниження швидкості. За замовчуванням: 2 м/с. |
| <a id="FW_PN_R_SLEW_MAX"></a>[FW_PN_R_SLEW_MAX](../advanced_config/parameter_reference.md#FW_PN_R_SLEW_MAX) | Roll setpoint slew rate limit. Default: 90 °/s. |
## MAVLink Commands
The following commands are relevant to this mode:
- [MAV_CMD_DO_CHANGE_SPEED](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_CHANGE_SPEED) — Sets the cruise airspeed for centred throttle stick.
This requires an airspeed sensor.
Only the airspeed speed type is handled (`param1` must be `0`); other speed types are ignored.
At centered throttle the vehicle holds the commanded airspeed (`param2`) if a positive value is set (non-positive values are ignored).
The value is constrained between [FW_AIRSPD_MIN](../advanced_config/parameter_reference.md#FW_AIRSPD_MIN) and [FW_AIRSPD_MAX](../advanced_config/parameter_reference.md#FW_AIRSPD_MAX), and defaults to [FW_AIRSPD_TRIM](../advanced_config/parameter_reference.md#FW_AIRSPD_TRIM) if no airspeed has been commanded.
Deflecting the throttle stick scales the airspeed toward `FW_AIRSPD_MIN` (back) or `FW_AIRSPD_MAX` (forward) around this value.
The commanded airspeed resets to `FW_AIRSPD_TRIM` on every flight mode change.
Note, other commands may be supported.
+33 -9
View File
@@ -1,7 +1,7 @@
# Descend Mode (Fixed-Wing)
_Descend_ is a [failsafe](../config/safety.md) fallback mode.
It is activated automatically by PX4 and cannot be selected by the pilot. It only appears as a status label.
_Descend_ is a [failsafe](../config/safety.md) fallback mode that is activated automatically by PX4.
The mode is published when active but cannot be selected by the pilot.
The vehicle descends open-loop: it circles at a fixed bank angle ([FW_GPSF_R](../advanced_config/parameter_reference.md#FW_GPSF_R)) and descends at a fixed 0.5 m/s, but does not control its ground position, so the circle drifts with the wind.
It is the last resort used when the vehicle must come down but has no valid position estimate for a controlled descent.
@@ -14,21 +14,45 @@ It is the last resort used when the vehicle must come down but has no valid posi
:::
## When It Occurs
## Технічний опис
Descend is the bottom of the failsafe chain (`Hold → Return → Land → Descend`).
PX4 falls through to it whenever a failsafe needs to bring the vehicle down or hold position but the position estimate is missing, so none of the higher options can run. Наприклад:
### When It Occurs
Descend mode is at the bottom of the failsafe chain (along with [Flight termination](../advanced_config/flight_termination.md)):
```text
Hold → Return → Land → ( Descend | Terminate )
```
:::tip
[COM_POS_FS_ACT](../advanced_config/parameter_reference.md#COM_POS_FS_ACT) <Badge type="tip" text="main (PX4 v2.0)" /> selects whether `Descend` or `Terminate` is used as the failsafe.
:::
PX4 falls through to Descend mode whenever a failsafe needs to bring the vehicle down or hold position but the position estimate is missing, so none of the higher options can run.
Наприклад:
- Losing the position estimate while landing, e.g. GNSS and airspeed sensors fail during [Land](../flight_modes_fw/land.md): the vehicle keeps descending, but now open-loop as _Descend_.
- Losing the position estimate in [Hold](../flight_modes_fw/hold.md), [Mission](../flight_modes_fw/mission.md) or [Return](../flight_modes_fw/return.md): with no position to hold, fly to, or return with, the failsafe escalates down to _Descend_.
- A Return or Land failsafe (from manual control loss, GCS/data link loss, low battery, geofence breach, …) triggered while no valid position estimate is available: Return and Land can't run, so it degrades to _Descend_.
## Exiting Descend
### Exiting Descend
Descend ends when either:
Descend ends when either the:
- the failsafe condition is resolved (e.g. the position estimate recovers), and the vehicle returns to its previous mode; or
- the pilot takes over by switching to a manual mode ([Position](../flight_modes_fw/position.md), [Altitude](../flight_modes_fw/altitude.md) or [Stabilized](../flight_modes_fw/stabilized.md)).
- failsafe condition is resolved (e.g. the position estimate recovers), and the vehicle returns to its previous mode; or
- pilot takes over by switching to a manual mode ([Cruise](../flight_modes_fw/cruise.md), [Altitude](../flight_modes_fw/altitude.md) or [Stabilized](../flight_modes_fw/stabilized.md)).
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_descend -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_descend -->
## Дивіться також
+16 -2
View File
@@ -3,7 +3,7 @@
<img src="../../assets/site/position_fixed.svg" title="Position required (e.g. GPS)" width="30px" />
_Guided Course mode_ maintains a constant ground track (course), altitude, and airspeed without any manual stick input.
The operator controls the vehicle entirely using [GCS commands](#supported-commands), making it the guided equivalent of [Position mode](../flight_modes_fw/position.md).
The operator controls the vehicle entirely using [GCS commands](#supported-commands), making it the guided equivalent of [Cruise mode](../flight_modes_fw/cruise.md).
:::tip
This mode is suited to situations where an operator wants to guide a fixed-wing vehicle from a GCS without manual control.
@@ -47,7 +47,21 @@ The navigator mode (`course.cpp`) sets a position setpoint with `course` (ground
The fixed-wing mode manager (`FixedWingModeManager`) detects the finite `course` field and bypasses normal waypoint sequencing, calling `navigateBearing()` from the directional guidance library to compute lateral acceleration and course setpoints.
Longitudinal control targets the altitude and airspeed from the setpoint.
## Failsafe Behaviour
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_guided_course -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_wind_and_flight_time_compliance`](../flight_modes/mode_requirements.md#mode_req_wind_and_flight_time_compliance) — Safety compliance limits on wind and flight time.
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_guided_course -->
### Failsafe Behaviour
Guided Course is classified as an `AUTO` mode for failsafe purposes.
The following failsafe exception parameters apply:
+15
View File
@@ -94,6 +94,21 @@ Any remaining altitude error is then removed by climbing or sinking once the veh
The ramp is (re)started whenever the target altitude changes; a reposition that keeps the same altitude does not change the vehicle's altitude.
:::
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_auto_loiter -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_global_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_global_position_relaxed) — Position measurement updates in a global coordinate frame but accepts poor accuracy
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_wind_and_flight_time_compliance`](../flight_modes/mode_requirements.md#mode_req_wind_and_flight_time_compliance) — Safety compliance limits on wind and flight time.
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_auto_loiter -->
## Параметри
Поведінку режиму утримання можна налаштувати за допомогою наведених нижче параметрів.
+2 -2
View File
@@ -11,12 +11,12 @@
Manual-Easy:
- [Режим позиції](../flight_modes_fw/position.md) — Найпростіший і найбезпечніший ручний режим для транспортних засобів, які мають фіксацію позиції/GPS.
- [Cruise mode](../flight_modes_fw/cruise.md) — Easiest and safest manual mode for vehicles that have a position fix/GPS.
Транспортний засіб виконує [координований поворот](https://en.wikipedia.org/wiki/Coordinated_flight), якщо руль не є нульовим, тоді як pitch-стік контролює швидкість підйому/спуску.
Якщо стіки відпущені, транспортний засіб вирівнюється і тримає прямий шлях польоту, навіть проти вітру.
Швидкість активно контролюється, якщо встановлений датчик швидкості.
- [Режим висоти](../flight_modes_fw/altitude.md) — Найпростіший і найбезпечніший _непідтримуваний GPS_ ручний режим.
Єдина відмінність порівняно з _Режимом положення_ полягає в тому, що пілот завжди безпосередньо керує кутом кочення літака і немає автоматичного утримання курсу.
The only difference compared to _Cruise mode_ is that the pilot always directly controls the roll angle of the plane and there is no automatic course holding.
- Altitude Cruise mode — It behaves exactly like _Altitude mode_, with the only difference being that the manual control failsafe can be disabled. This is done by setting the corresponding flag in [COM_RCL_EXCEPT](../advanced_config/parameter_reference.md#COM_RCL_EXCEPT). In that case the current altitude, airspeed and heading (by leveling out the roll angle) are kept until the manual control link is regained or the mode is exited.
It is highly recommended to only disable the manual control loss failsafe for this mode if there is a stable data link connection to the vehicle at all times, or to enable the data link loss failsafe through [NAV_DLL_ACT](../advanced_config/parameter_reference.md#NAV_DLL_ACT).
- [Режим стабілізації](../flight_modes_fw/stabilized.md) — Пілот напряму керує кутом крену та тангажу, і апарат зберігає задану точку до тих пір, поки стіки знову не будуть переміщені.
+14
View File
@@ -37,6 +37,20 @@ The vehicle will flare if configured to do so (see [Flaring](../flight_modes_fw/
[Manual nudging](../flight_modes_fw/mission.md#automatic-abort) and [automatic land abort](../flight_modes_fw/mission.md#nudging) are not available in land mode.
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_auto_land -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_auto_land -->
### Параметри
Поведінку режиму приземлення можна налаштувати за допомогою наведених нижче параметрів.
+10
View File
@@ -20,6 +20,16 @@ Unlike [Acro Mode](../flight_modes_fw/acro.md), if the roll-pitch stick is cente
Це єдиний режим, що перевизначає FMU (команди відправляються через копроцесор безпеки). Він забезпечує механізм безпечності, який дозволяє повний контроль газового засуву, елеватора, елеронів та руля через RC в разі виникнення несправності програмного забезпечення FMU.
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_manual -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_manual -->
## Параметри
| Parameter | Опис |
+20 -4
View File
@@ -8,12 +8,28 @@ _Режим місії_ змушує транспортний засіб вик
::: info
- Цей режим потребує глобальної оцінки 3D-позиції (з GPS або виведеної з [локальної позиції](../ros/external_position_estimation.md#enabling-auto-modes-with-a-local-position)).
- Транспортний засіб повинен бути озброєний перед тим, як цей режим може бути активований.
- The mission will start once the vehicle is armed.
- Цей режим є автоматичним - для керування автомобілем не потрібно втручання користувача.
- Перемикачі керування RC можуть використовуватися для зміни режимів польоту на будь-якому транспортному засобі.
- Sticks/switches can be used to switch out of mission mode on any vehicle.
:::
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_auto_mission -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_global_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_global_position_relaxed) — Position measurement updates in a global coordinate frame but accepts poor accuracy
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_mission`](../flight_modes/mode_requirements.md#mode_req_mission) — Valid mission in autopilot's storage
- [`mode_req_wind_and_flight_time_compliance`](../flight_modes/mode_requirements.md#mode_req_wind_and_flight_time_compliance) — Safety compliance limits on wind and flight time.
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_auto_mission -->
## Опис
Місії зазвичай створюються в земній контрольній станції (наприклад, [QGroundControl](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/plan_view/plan_view.html)) та завантажуються перед запуском.
@@ -57,7 +73,7 @@ _Режим місії_ змушує транспортний засіб вик
:::
Місії можна призупинити, переключившись з режиму місії на будь-який інший режим (наприклад, [режим утримання](../flight_modes_fw/hold.md) або [режим позиціонування](../flight_modes_fw/position.md)), і продовжити, переключившись назад в режим місії.
Missions can be paused by switching out of mission mode to any other mode (such as [Hold mode](../flight_modes_fw/hold.md) or [Cruise mode](../flight_modes_fw/cruise.md)), and resumed by switching back to mission mode.
Якщо транспортний засіб не захоплював зображення, коли він був призупинений, під час відновлення він рухатиметься зі своєї _поточної позиції_ до тієї ж точки шляху, до якої він спочатку рухався.
Якщо транспортний засіб захоплював зображення (має елементи спуску камери), він замість цього рухатиметься зі своєї поточної позиції до останньої точки шляху, якою він проїхав (перед зупинкою), а потім пройде свій шлях з тією самою швидкістю та з такою самою поведінкою спуску камери.
Це забезпечує, що планований шлях зафіксований під час місій з опитування/камери.
@@ -374,7 +390,7 @@ Landing configuration (e.g. flaps, spoilers, landing airspeed) is disabled durin
:::info
Відштовхування (Nudging) не повинно використовуватися для доповнення поганого налаштування контролю позиції.
If the vehicle is regularly showing poor tracking performance on a defined path, please refer to the [fixed-wing control tuning guide](../flight_modes_fw/position.md) for instruction.
If the vehicle is regularly showing poor tracking performance on a defined path, please refer to the [fixed-wing control tuning guide](../flight_modes_fw/cruise.md) for instruction.
:::
| Parameter | Опис |
+1 -68
View File
@@ -1,68 +1 @@
# Режим позиції (фіксоване крило)
<img src="../../assets/site/difficulty_easy.png" title="Easy to fly" width="30px" />&nbsp;<img src="../../assets/site/remote_control.svg" title="Manual/Remote control required" width="30px" />&nbsp;<img src="../../assets/site/position_fixed.svg" title="Position fix required (e.g. GPS)" width="30px" />
_Position mode_ is the easiest and safest manual mode.
Підтримується на транспортних засобах, які мають прогноз позиціонування (наприклад, GPS).
Це полегшує пілотам контроль висоти транспортного засобу, і зокрема досягати і підтримувати фіксовану висоту.
Режим буде утримувати курс транспортного засобу від вітру.
Швидкість активно контролюється, якщо встановлений датчик швидкості.
The vehicle performs a [coordinated turn](https://en.wikipedia.org/wiki/Coordinated_flight) if the roll sticks are non-zero, while the pitch stick controls the rate of ascent/descent.
Засувка визначає швидкість повітря — при 50% засувки літак буде утримувати свою поточну висоту з заданою крейсерською швидкістю.
Коли всі стіки управління відпущені/центровані (без крену, тангажу, курсу та близько 50% керування газом), літак повернеться до прямого, рівного польоту та збереже свою поточну висоту та траєкторію польоту не залежно від вітру.
This makes it easy to recover from any problems when flying.
Крен та тангаж - кутово-керовані (тому неможливо перевалюватися або робити петлю транспортному засобу).
Стік повороту може бути використана для збільшення/зменшення кута приводу автомобіля на поворотах.
Якщо контролер фіксований у центрі, то він самостійно здійснює координацію повороту, що означає, що він застосовує необхідну швидкість розвороту для поточного кута крену, щоб виконати плавний поворот.
The diagram below shows the mode behaviour visually (for a [mode 2 transmitter](../getting_started/rc_transmitter_receiver.md#transmitter_modes)).
![FW Position Mode](../../assets/flight_modes/position_fw.png)
## Технічний опис
Position mode is like [Stabilized mode](../flight_modes_fw/altitude.md) but with course stabilization.
Швидкість також стабілізується, якщо встановлений датчик швидкості.
- Центровані вхідні показники крену/тангажу/рискання (в межах дедбенду):
- Автопілот рівномірно підтримує транспортний засіб і утримує висоту, швидкість і курс над землею.
- Зовнішній центр:
- Стік регулює висота польоту.
- Резервний стік керує швидкістю літального апарату, якщо підключений датчик швидкості. Without an airspeed sensor the vehicle will fly level at trim throttle ([FW_THR_TRIM](../advanced_config/parameter_reference.md#FW_THR_TRIM)), increasing or decreasing throttle as needed to climb or descend.
- Стік керування використовує кут крена. Autopilot will maintain [coordinated flight](https://en.wikipedia.org/wiki/Coordinated_flight).
- Стік крену додає додатковий значення швидкості рискання (додається до розрахованого автопілотом для підтримки координованого польоту).
Може бути використаний для ручної зміни кута рискання безпілотного засобу.
- Потрібен ручний ввід управління (наприклад, за допомогою пульта дистанційного керування, джойстика).
- Необхідне джерело вимірювання висоти (зазвичай барометр або GPS)
## Параметри
Режим впливає на наступні параметри:
| Parameter | Опис |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="FW_AIRSPD_MIN"></a>[FW_AIRSPD_MIN](../advanced_config/parameter_reference.md#FW_AIRSPD_MIN) | Мінімальна швидкість. За замовчуванням: 10 м/с. |
| <a id="FW_AIRSPD_MAX"></a>[FW_AIRSPD_MAX](../advanced_config/parameter_reference.md#FW_AIRSPD_MAX) | Максимальна швидкість. За замовчуванням: 20 м/с. |
| <a id="FW_AIRSPD_TRIM"></a>[FW_AIRSPD_TRIM](../advanced_config/parameter_reference.md#FW_AIRSPD_TRIM) | Крейсерська швидкість. За замовчуванням: 15 м/с. |
| <a id="FW_MAN_P_MAX"></a>[FW_MAN_P_MAX](../advanced_config/parameter_reference.md#FW_MAN_P_MAX) | Установлення максимального кроку в режимі стабілізації кута нахилу. За замовчуванням: 45 градусів. |
| <a id="FW_MAN_R_MAX"></a>[FW_MAN_R_MAX](../advanced_config/parameter_reference.md#FW_MAN_R_MAX) | Максимальне значення крена в режимі стабілізації кута нахилу. За замовчуванням: 45 градусів. |
| <a id="FW_T_CLMB_R_SP"></a>[FW_T_CLMB_R_SP](../advanced_config/parameter_reference.md#FW_T_CLMB_R_SP) | Максимальна задана швидкість підйому. За замовчуванням: 3 м/с. |
| <a id="FW_T_SINK_R_SP"></a>[FW_T_SINK_R_SP](../advanced_config/parameter_reference.md#FW_T_SINK_R_SP) | Максимальне значення зниження швидкості. За замовчуванням: 2 м/с. |
| <a id="FW_PN_R_SLEW_MAX"></a>[FW_PN_R_SLEW_MAX](../advanced_config/parameter_reference.md#FW_PN_R_SLEW_MAX) | Обмеження швидкості нахилу вихідного значення. За замовчуванням: 90 °/с. |
## MAVLink Commands
The following commands are relevant to this mode:
- [MAV_CMD_DO_CHANGE_SPEED](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_CHANGE_SPEED) — Sets the cruise airspeed for centred throttle stick.
This requires an airspeed sensor.
Only the airspeed speed type is handled (`param1` must be `0`); other speed types are ignored.
At centered throttle the vehicle holds the commanded airspeed (`param2`) if a positive value is set (non-positive values are ignored).
The value is constrained between [FW_AIRSPD_MIN](../advanced_config/parameter_reference.md#FW_AIRSPD_MIN) and [FW_AIRSPD_MAX](../advanced_config/parameter_reference.md#FW_AIRSPD_MAX), and defaults to [FW_AIRSPD_TRIM](../advanced_config/parameter_reference.md#FW_AIRSPD_TRIM) if no airspeed has been commanded.
Deflecting the throttle stick scales the airspeed toward `FW_AIRSPD_MIN` (back) or `FW_AIRSPD_MAX` (forward) around this value.
The commanded airspeed resets to `FW_AIRSPD_TRIM` on every flight mode change.
Note, other commands may be supported.
<Redirect to="../flight_modes_fw/cruise" />
+16
View File
@@ -47,6 +47,22 @@ Fixed-wing supports the [other PX4 return types](../flight_modes/return.md#retur
Транспортний засіб може бути змушений приземлитися у пункті призначення, змінивши [RTL_LAND_DELAY](#RTL_LAND_DELAY) так, щоб він не був -1.
У цьому випадку транспортний засіб приземлиться так само, як [Режим посадки](../flight_modes_fw/land.md).
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_auto_rtl -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_global_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_global_position_relaxed) — Position measurement updates in a global coordinate frame but accepts poor accuracy
- [`mode_req_home_position`](../flight_modes/mode_requirements.md#mode_req_home_position) — Global home reference must be set
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_auto_rtl -->
## Параметри
Параметри RTL перелічені в [Референсі параметрів > Режим повернення](../advanced_config/parameter_reference.md#return-mode).
+12
View File
@@ -37,6 +37,18 @@ The diagram below shows the mode behaviour visually (for a [mode 2 transmitter](
Може бути використаний для ручної зміни кута рискання безпілотного засобу.
- Потрібен ручний ввід управління (наприклад, за допомогою пульта дистанційного керування, джойстика).
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_stab -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_stab -->
## Параметри
Режим впливає на наступні параметри:
+56 -2
View File
@@ -55,6 +55,18 @@ If the local position is invalid or becomes invalid while executing the takeoff,
:::
<!-- AUTO-GENERATED: mode_requirements_fixed_wing_auto_takeoff -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
<!-- END AUTO-GENERATED: mode_requirements_fixed_wing_auto_takeoff -->
### Параметри
Параметри, які впливають як на катапульту/ручний старт, так і на зліт зі злітно-посадкової смуги:
@@ -123,9 +135,38 @@ The _runway takeoff mode_ has the following phases:
2. **Clamped to runway**: Pitch fixed, no roll and takeoff path controlled until the rotation airspeed ([RWTO_ROT_AIRSPD](../advanced_config/parameter_reference.md#RWTO_ROT_AIRSPD)) is reached. Оператор може підганяти транспортний засіб ліворуч/праворуч за допомогою стіка рискання.
3. **Climbout**: Increase pitch setpoint and climb to takeoff altitude. Щоб уникнути ударів крил, контролер буде тримати встановлений кут кочення заблокованим на 0, коли близько до землі, а потім поступово дозволить більше кочення під час підйому. It is based on the vehicle geometry as configured in [FW_WING_SPAN](#FW_WING_SPAN) and [FW_WING_HEIGHT](#FW_WING_HEIGHT).
### Wheel Controller {#wheel_controller}
The wheel controller steers the vehicle on the ground using the steerable nose/tail wheel.
It is enabled with [FW_W_EN](#FW_W_EN) and only runs in automatic modes during runway takeoff and during the landing rollout.
Whenever it is not active (in all manual modes, or if it is disabled), the yaw stick is mapped directly to the wheel.
The controller is cascaded:
1. **Heading controller**: The heading (yaw) error is converted into a yaw rate setpoint with a fixed time constant of 0.1s, limited to [FW_W_RMAX](#FW_W_RMAX).
2. **Rate controller**: A P-I-FF controller ([FW_WR_P](#FW_WR_P), [FW_WR_I](#FW_WR_I), [FW_WR_FF](#FW_WR_FF), integrator limited by [FW_WR_IMAX](#FW_WR_IMAX)) turns the yaw rate setpoint into a normalized wheel steering command in the range [-1, 1].
The heading setpoint during the ground roll is the bearing from the takeoff position to the takeoff waypoint, so the nose is kept aligned with the intended runway direction.
If no navigation reference is available (takeoff without takeoff waypoint), and during the landing rollout, the controller instead holds the heading that was captured at the moment the wheel steering engaged.
![Wheel steering heading setpoint during the ground roll](../../assets/flight_modes/fw_runway_takeoff_wheel_steering.svg)
Operator yaw stick input is added on top of the controller output to "nudge" the vehicle (enabled with [RWTO_NUDGE](#RWTO_NUDGE) for takeoff, and [FW_LND_NUDGE](../advanced_config/parameter_reference.md#FW_LND_NUDGE) for landing).
:::info
For a smooth takeoff, the runway wheel controller possibly needs to be tuned.
It consists of a rate controller (P-I-FF-controller with the parameters [FW_WR_P](../advanced_config/parameter_reference.md#FW_WR_P), [FW_WR_I](../advanced_config/parameter_reference.md#FW_WR_I), [FW_WR_FF](../advanced_config/parameter_reference.md#FW_WR_FF)).
The gains are scaled with groundspeed (using [FW_AIRSPD_STALL](../advanced_config/parameter_reference.md#FW_AIRSPD_STALL) as the reference speed) so that the steering becomes less aggressive as the vehicle accelerates.
This means the controller should be tuned at low speed, around stall airspeed.
:::
For a smooth takeoff the wheel controller usually needs to be tuned:
1. Start with [FW_WR_P](#FW_WR_P) and [FW_WR_FF](#FW_WR_FF) only (set [FW_WR_I](#FW_WR_I) to 0) and taxi/roll the vehicle in _Mission mode_ with active Takeoff waypoint item at low speed.
2. Increase the gains until the vehicle tracks the runway heading without noticeable oscillation of the nose.
3. Add [FW_WR_I](#FW_WR_I) to remove a remaining constant heading offset (e.g. caused by wheel misalignment or crosswind).
:::warning
Excessive gains lead to oscillations of the nose during the ground roll, which can quickly become dangerous at higher groundspeed.
Always test with increasing speed step by step.
:::
### Параметри (зліт зі злітної смуги)
@@ -145,6 +186,19 @@ It consists of a rate controller (P-I-FF-controller with the parameters [FW_WR_P
| <a id="FW_WING_SPAN"></a>[FW_WING_SPAN](../advanced_config/parameter_reference.md#FW_WING_SPAN) | Розмах крила транспортного засобу. Використовується для запобігання ударів крилом. |
| <a id="FW_WING_HEIGHT"></a>[FW_WING_HEIGHT](../advanced_config/parameter_reference.md#FW_WING_HEIGHT) | Висота крил над землею (дорожній просвіт). Використовується для запобігання ударів крилом. |
### Parameters (Wheel Controller)
The [wheel controller](#wheel_controller) is affected by the following parameters:
| Parameter | Опис |
| ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [FW_W_EN](#FW_W_EN) | Увімкнути контролер колеса |
| <a id="FW_W_RMAX"></a>[FW_W_RMAX](../advanced_config/parameter_reference.md#FW_W_RMAX) | Maximum yaw rate setpoint the heading controller outputs |
| <a id="FW_WR_P"></a>[FW_WR_P](../advanced_config/parameter_reference.md#FW_WR_P) | Yaw rate controller proportional gain |
| <a id="FW_WR_I"></a>[FW_WR_I](../advanced_config/parameter_reference.md#FW_WR_I) | Yaw rate controller integrator gain (trims a constant heading error) |
| <a id="FW_WR_IMAX"></a>[FW_WR_IMAX](../advanced_config/parameter_reference.md#FW_WR_IMAX) | Yaw rate controller integrator limit |
| <a id="FW_WR_FF"></a>[FW_WR_FF](../advanced_config/parameter_reference.md#FW_WR_FF) | Yaw rate controller feed forward gain |
## Дивіться також
- [Takeoff Mode (MC)](../flight_modes_mc/takeoff.md)
+11
View File
@@ -25,6 +25,17 @@ RC Штоки кочення/тангажу/рискання (RPY) контро
- Дросель: Ручне керування за допомогою палиць RC.
RC ввід передається напряму до розподілу керування.
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_acro -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_acro -->
## Відображення стіку введення
The default values for expo and rate [parameters](#parameters) are _beginner friendly_, reducing the chance that users will flip the vehicle when first trying this mode, or when using Acro mode for manual rate tuning.
+13
View File
@@ -39,6 +39,19 @@ RC/manual mode like [Stabilized mode](../flight_modes_mc/manual_stabilized.md) b
- Курс: Допомога від автопілота для стабілізації швидкості польоту.
Положення палиці RC відображає швидкість обертання транспортного засобу в цій орієнтації.
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_altctl -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_altctl -->
## Параметри
Режим впливає на наступні параметри:
@@ -34,6 +34,19 @@ A manual mode that is similar to [Altitude mode](../flight_modes_mc/altitude.md)
- Manual control input is required (such as RC control, joystick) to enter this mode. Other than in all other manual modes, it's though possible to disable the manual control loss failsafe by setting the corresponding flag in [COM_RCL_EXCEPT](../advanced_config/parameter_reference.md#COM_RCL_EXCEPT). In that case the current altitude, tilt and heading are kept until the manual control link is regained or the mode is exited.
It is highly recommended to only disable the manual control loss failsafe for this mode if there is a stable data link connection to the vehicle at all times, and to enable the data link loss failsafe through [NAV_DLL_ACT](../advanced_config/parameter_reference.md#NAV_DLL_ACT).
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_altitude_cruise -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_altitude_cruise -->
## Параметри
Most of the relevant parameters are already covered in the corresponding section in the [Altitude mode](../flight_modes_mc/altitude.md). Here a list of parameters of particular importance for Altitude Cruise.
+34 -9
View File
@@ -1,7 +1,7 @@
# Descend Mode (Multicopter)
_Descend_ is a [failsafe](../config/safety.md) fallback mode.
It is activated automatically by PX4 and cannot be selected by the pilot. It only appears as a status label.
_Descend_ is a [failsafe](../config/safety.md) fallback mode that is activated automatically by PX4.
The mode is published when active but cannot be selected by the pilot.
The vehicle descends open-loop: it keeps its attitude and reduces altitude, but does not control its horizontal position, so it drifts with the wind.
It is the last resort used when the vehicle must come down but has no valid position estimate for a controlled descent.
@@ -14,21 +14,46 @@ It is the last resort used when the vehicle must come down but has no valid posi
:::
## When It Occurs
## Технічний опис
Descend is the bottom of the failsafe chain (`Hold → Return → Land → Descend`).
PX4 falls through to it whenever a failsafe needs to bring the vehicle down or hold position but the position estimate is missing, so none of the higher options can run. Наприклад:
### When It Occurs
Descend mode is at the bottom of the failsafe chain (along with [Flight termination](../advanced_config/flight_termination.md)):
```text
Hold → Return → Land → ( Descend | Terminate )
```
:::tip
[COM_POS_FS_ACT](../advanced_config/parameter_reference.md#COM_POS_FS_ACT) <Badge type="tip" text="main (PX4 v2.0)" /> selects whether `Descend` or `Terminate` is used as the failsafe.
:::
PX4 falls through to Descend mode whenever a failsafe needs to bring the vehicle down or hold position but the position estimate is missing, so none of the higher options can run.
Наприклад:
- Losing the position estimate while landing, e.g. GNSS fails during [Land](../flight_modes_mc/land.md): the vehicle keeps descending, but now open-loop as _Descend_.
- Losing the position estimate in [Hold](../flight_modes_mc/hold.md), [Mission](../flight_modes_mc/mission.md) or [Return](../flight_modes_mc/return.md): with no position to hold, fly to, or return with, the failsafe escalates down to _Descend_.
- A Return or Land failsafe (from manual control loss, GCS/data link loss, low battery, geofence breach, …) triggered while no valid position estimate is available: Return and Land can't run, so it degrades to _Descend_.
## Exiting Descend
### Exiting Descend
Descend ends when either:
Descend ends when either the:
- the failsafe condition is resolved (e.g. the position estimate recovers), and the vehicle returns to its previous mode; or
- the pilot takes over by switching to a manual mode ([Position](../flight_modes_mc/position.md), [Altitude](../flight_modes_mc/altitude.md) or [Stabilized](../flight_modes_mc/manual_stabilized.md)). On a multicopter, moving the sticks does this [by default](../flight_modes_mc/land.md#MAN_OVERRIDE_SPD).
- failsafe condition is resolved (e.g. the position estimate recovers), and the vehicle returns to its previous mode; or
- pilot takes over by switching to a manual mode ([Position](../flight_modes_mc/position.md), [Altitude](../flight_modes_mc/altitude.md) or [Stabilized](../flight_modes_mc/manual_stabilized.md)).
On a multicopter, moving the sticks does this [by default](../flight_modes_mc/land.md#MAN_OVERRIDE_SPD).
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_descend -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_descend -->
## Дивіться також
+15
View File
@@ -20,6 +20,21 @@ _Follow Me_ mode allows a multicopter to autonomously hold position and altitude
:::
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_auto_follow_target -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position`](../flight_modes/mode_requirements.md#mode_req_local_position) — Position relative to EKF2 origin ('0') point
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
- [`mode_req_wind_and_flight_time_compliance`](../flight_modes/mode_requirements.md#mode_req_wind_and_flight_time_compliance) — Safety compliance limits on wind and flight time.
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_auto_follow_target -->
## Загальний огляд
![Follow-me Concept](../../assets/flight_modes/followme_concept.png)
+15
View File
@@ -31,6 +31,21 @@ The vehicle will first ascend to [NAV_MIN_LTR_ALT](#NAV_MIN_LTR_ALT) if the mode
Stick movement will change the vehicle to [Position mode](../flight_modes_mc/position.md) (by [default](#MAN_OVERRIDE_SPD)).
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_auto_loiter -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_global_position`](../flight_modes/mode_requirements.md#mode_req_global_position) — Position measurement updates in a global coordinate frame
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position`](../flight_modes/mode_requirements.md#mode_req_local_position) — Position relative to EKF2 origin ('0') point
- [`mode_req_wind_and_flight_time_compliance`](../flight_modes/mode_requirements.md#mode_req_wind_and_flight_time_compliance) — Safety compliance limits on wind and flight time.
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_auto_loiter -->
### Параметри
Поведінку режиму утримання можна налаштувати за допомогою наведених нижче параметрів.
+14
View File
@@ -27,6 +27,20 @@ The vehicle descends at the rate specified in [MPC_LAND_SPEED](#MPC_LAND_SPEED)
Stick movement will change the vehicle to [Position mode](../flight_modes_mc/position.md) (by [default](#MAN_OVERRIDE_SPD)).
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_auto_land -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_auto_land -->
### Параметри
Поведінку режиму приземлення можна налаштувати за допомогою наведених нижче параметрів.
+34 -5
View File
@@ -1,4 +1,4 @@
# Stabilized Mode (Multicopter)
# Manual/Stabilized Mode (Multicopter)
<img src="../../assets/site/difficulty_medium.png" title="Medium difficulty to fly" width="30px" />&nbsp;<img src="../../assets/site/remote_control.svg" title="Manual/Remote control required" width="30px" />&nbsp;
@@ -6,14 +6,15 @@ The _Stabilized_ manual mode stabilizes and levels the multicopter when the RC c
To move/fly the vehicle you move the sticks outside of the centre.
:::info
This mode is also enabled if you set the flight mode to _Manual_.
PX4 has separate MC _Manual_ and _Stabilized_ navigation states, which correspond to separate flight modes that can be set (and displayed via MAVLink).
These modes behave identically in flight, but have different arming requirements — see [Mode Requirements](#mode-requirements) below.
:::
When sticks are outside the centre, the roll and pitch sticks control the _angle_ of the vehicle (attitude) around the respective axes, the yaw stick controls the rate of rotation above the horizontal plane, and the throttle controls altitude/speed.
Як тільки ви відпустите ручки керування, вони повернуться до центральної мертвої зони.
Багатороторник вирівняється і зупиниться, як тільки палиці кочення та тангажу будуть в центрі.
The vehicle will then hover in place/maintain altitude - provided it is properly balanced, throttle is set appropriately (see [below](#params)), and no external forces are applied (e.g. wind).
The vehicle will then hover in place/maintain altitude - provided it is properly balanced, throttle is set appropriately (see [below](#parameters)), and no external forces are applied (e.g. wind).
Літальний апарат буде дрейфувати в напрямку будь-якого вітру, і вам доведеться керувати реостатом, щоб утримати висоту.
![MC Manual Flight](../../assets/flight_modes/stabilized_mc.png)
@@ -27,7 +28,7 @@ RC mode where centered sticks level vehicle.
:::
Команди пілота передаються як команди кутів крену та тангажу, а рискання як команда швидкості.
Throttle is rescaled (see [below](#params)) and passed directly to control allocation.
Throttle is rescaled (see [below](#parameters)) and passed directly to control allocation.
Автопілот контролює положення, це означає що він регулює кути крену та тангажу до нуля коли органи керування пульту РК центровані всередині мертвої зони контролера (як наслідок вирівнюючи положення).
Автопілот не компенсує дрейф через вітер (або інші джерела).
@@ -44,7 +45,35 @@ Throttle is rescaled (see [below](#params)) and passed directly to control alloc
- Курс: Допомога від автопілота для стабілізації швидкості польоту.
Положення палиці RC відображає швидкість обертання транспортного засобу в цій орієнтації.
<a id="params"></a>
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_stab -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_stab -->
:::info
These requirements are form arming in Stabilized mode.
:::
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_manual -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_manual -->
:::info
These requirements are for arming in Manual mode.
:::
## Параметри
+16
View File
@@ -17,6 +17,22 @@ _Режим місії_ змушує транспортний засіб вик
:::
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_auto_mission -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_global_position`](../flight_modes/mode_requirements.md#mode_req_global_position) — Position measurement updates in a global coordinate frame
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position`](../flight_modes/mode_requirements.md#mode_req_local_position) — Position relative to EKF2 origin ('0') point
- [`mode_req_mission`](../flight_modes/mode_requirements.md#mode_req_mission) — Valid mission in autopilot's storage
- [`mode_req_wind_and_flight_time_compliance`](../flight_modes/mode_requirements.md#mode_req_wind_and_flight_time_compliance) — Safety compliance limits on wind and flight time.
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_auto_mission -->
## Опис
Місії зазвичай створюються в земній контрольній станції (наприклад, [QGroundControl](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/plan_view/plan_view.html)) та завантажуються перед запуском.
+17 -5
View File
@@ -8,18 +8,30 @@ The _Orbit_ guided flight mode allows you to command a multicopter (or VTOL in m
- Режим автоматичний - для керування апаратом не потрібно втручання користувача.
- Режим потребує принаймні дійсної локальної оцінки позиції (не потребує глобальної позиції).
- Літаючі транспортні засоби не можуть переключатися на цей режим без глобального положення.
- Літаючі транспортні засоби перейдуть в режим аварійної безпеки, якщо втратять оцінку положення.
- Mode prevents arming (vehicle cannot be armed while this mode is selected).
- Режим вимагає, щоб швидкість вітру та час польоту були в межах допустимих значень (вказано через параметри).
- Цей режим в даний час підтримується лише на багатокоптерних (або VTOL у режимі MC).
- Mode is currently only supported on multicopter (or VTOL in MC mode).
- Рух палиці RC може контролювати підйом/спуск та швидкість та напрямок оберту.
- The mode can be triggered using the [MAV_CMD_DO_ORBIT](https://mavlink.io/en/messages/common.html#MMAV_CMD_DO_ORBIT) MAVLink command.
<!-- https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/commander/ModeUtil/mode_requirements.cpp -->
- Mode can be triggered using the [MAV_CMD_DO_ORBIT](https://mavlink.io/en/messages/common.html#MMAV_CMD_DO_ORBIT) MAVLink command.
:::
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_orbit -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position`](../flight_modes/mode_requirements.md#mode_req_local_position) — Position relative to EKF2 origin ('0') point
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
- [`mode_req_wind_and_flight_time_compliance`](../flight_modes/mode_requirements.md#mode_req_wind_and_flight_time_compliance) — Safety compliance limits on wind and flight time.
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_orbit -->
## Загальний огляд
![Orbit Mode - MC](../../assets/flying/orbit.jpg)
+14
View File
@@ -56,6 +56,20 @@ While very rare on a well calibrated vehicle, sometimes there may be problems wi
- Курс: Допомога від автопілота для стабілізації швидкості польоту.
Положення палиці RC відображає швидкість обертання транспортного засобу в цій орієнтації.
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_posctl -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_posctl -->
### Параметри
All the parameters in the [Multicopter Position Control](../advanced_config/parameter_reference.md#multicopter-position-control) group are relevant. Декілька параметрів, на які варто звернути увагу, перераховані нижче.
+14
View File
@@ -14,6 +14,20 @@
Обмеження, встановлені за допомогою пульту керування RC, перевищують ті, що встановлені за допомогою MAVLink, які, зі свого боку, перевищують ті, що встановлені за допомогою параметрів.
Ліміти можуть бути зменшені тільки нижче тих, що діють для звичайного режиму _Position_.
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_position_slow -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position_relaxed`](../flight_modes/mode_requirements.md#mode_req_local_position_relaxed) — Position relative to EKF2 origin ('0') point but accepts poor accuracy
- [`mode_req_manual_control`](../flight_modes/mode_requirements.md#mode_req_manual_control) — Requires stick input
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_position_slow -->
## Встановлення обмежень за допомогою параметрів
Максимальні значення для горизонтальної швидкості у режимі повільного руху, вертикальної швидкості та швидкості кочання можна встановити за допомогою параметрів.
+16
View File
@@ -39,6 +39,22 @@ Multicopters use the [home/rally point return type](../flight_modes/return.md#rt
- Він чекає протягом налаштованого часу ([RTL_LAND_DELAY](#RTL_LAND_DELAY)), який може бути використаний для розгортання шасі посадки.
- Потім сідає на землю.
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_auto_rtl -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_global_position`](../flight_modes/mode_requirements.md#mode_req_global_position) — Position measurement updates in a global coordinate frame
- [`mode_req_home_position`](../flight_modes/mode_requirements.md#mode_req_home_position) — Global home reference must be set
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position`](../flight_modes/mode_requirements.md#mode_req_local_position) — Position relative to EKF2 origin ('0') point
- [`mode_req_prevent_arming`](../flight_modes/mode_requirements.md#mode_req_prevent_arming) — Mode prevents arming
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_auto_rtl -->
### Мінімальна висота повернення
За замовчуванням _мінімальна висота повернення_ встановлюється за допомогою [RTL_RETURN_ALT](#RTL_RETURN_ALT), і транспортний засіб просто повернеться на вищу з висоти `RTL_RETURN_ALT` або початкової висоти транспортного засобу.
+13 -2
View File
@@ -15,8 +15,6 @@ The _Takeoff_ flight mode causes the vehicle to take off to a specified height a
- Stick movement will [by default](#MAN_OVERRIDE_SPD) change the vehicle to [Position mode](../flight_modes_mc/position.md) unless prevented by the active failsafe state.
- The [Failure Detector](../config/safety.md#failure-detector) will automatically stop the engines if there is a problem on takeoff.
<!-- https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/commander/ModeUtil/mode_requirements.cpp -->
:::
## Технічний підсумок
@@ -25,6 +23,19 @@ A multi rotor ascends vertically to the altitude defined in [MIS_TAKEOFF_ALT](..
Stick movement will change the vehicle to [Position mode](../flight_modes_mc/position.md) (by [default](#MAN_OVERRIDE_SPD)).
<!-- AUTO-GENERATED: mode_requirements_rotary_wing_auto_takeoff -->
### Mode Requirements
The following requirements must be met to arm in this mode, or to switch to this mode when it is armed.
- [`mode_req_angular_velocity`](../flight_modes/mode_requirements.md#mode_req_angular_velocity) — Angular velocity
- [`mode_req_attitude`](../flight_modes/mode_requirements.md#mode_req_attitude) — Attitude/pose
- [`mode_req_local_alt`](../flight_modes/mode_requirements.md#mode_req_local_alt) — Local altitude relative to EKF2 origin ('0') position
- [`mode_req_local_position`](../flight_modes/mode_requirements.md#mode_req_local_position) — Position relative to EKF2 origin ('0') point
<!-- END AUTO-GENERATED: mode_requirements_rotary_wing_auto_takeoff -->
### Параметри
Взліт впливається наступними параметрами:
+2 -2
View File
@@ -41,7 +41,7 @@ We recommend using with the automatic modes instead, especially for inexperience
:::
[Stabilized mode](../flight_modes_fw/stabilized.md), [Acro mode](../flight_modes_fw/acro.md) or [Manual mode](../flight_modes_fw/manual.md) mode are recommended for manual takeoff.
[Position mode](../flight_modes_fw/position.md) and [Altitude mode](../flight_modes_fw/altitude.md) can also be used, but it is important to accelerate the vehicle sufficiently before bringing them airborne — strong thrust if hand-launched, long runway phase for runway takeoff (this is required because the controller in these modes can prioritize airspeed over altitude tracking).
[Cruise mode](../flight_modes_fw/cruise.md) and [Altitude mode](../flight_modes_fw/altitude.md) can also be used, but it is important to accelerate the vehicle sufficiently before bringing them airborne — strong thrust if hand-launched, long runway phase for runway takeoff (this is required because the controller in these modes can prioritize airspeed over altitude tracking).
Manual takeoffs with hand-launched planes:
@@ -106,7 +106,7 @@ The following three modes are highly recommended for new users:
- [Stabilized Mode](../flight_modes_fw/stabilized.md) - Vehicle hard to flip, and will level-out if the sticks are released (but not hold position)
- [Altitude Mode)](../flight_modes_fw/altitude.md) - Climb and drop are controlled to have a maximum rate.
- [Position Mode](../flight_modes_fw/position.md) - When sticks are released the vehicle will stop (and hold position against wind drift)
- [Cruise Mode](../flight_modes_fw/cruise.md) - When sticks are released the vehicle will stop (and hold position against wind drift)
:::info
You can also engage automatic modes through the _QGroundControl_ main flight screen.
+2 -2
View File
@@ -386,7 +386,7 @@ Load the file via QGC using the instructions at [Parameters> Tools](https://docs
### Налаштування радіо
Вам слід активувати ручні, акро та позиційні режими на вашому контролері (принаймні для першого польоту).
You should enable Manual, Acro, and Cruise modes on your controller (at least for the first flight).
For instructions see [Flight mode Configuration](../config/flight_mode.md)
We also recommend configuring an [autotuning switch](../config/autotune_fw.md#enable-disable-autotune-switch) for the first flight, as this makes it easier to enable/disable autotuning while flying.
@@ -452,7 +452,7 @@ With the propellers removed, power the airplane up and use the [Actuator](../con
Once the airplane is successfully airborne, cruise up to an altitude of a few hundred feet and switch to [Acro mode](../flight_modes_fw/acro.md).
This is a good time to use [Autotuning](../config/autotune_fw.md) to tune the airframe.
If the airplane is well behaved in _Acro mode_, switch to [Position mode](../flight_modes_fw/position.md).
If the airplane is well behaved in _Acro mode_, switch to [Cruise mode](../flight_modes_fw/cruise.md).
## Build Results & Performance
@@ -324,7 +324,7 @@ Next we load a [parameter file](https://github.com/PX4/PX4-Autopilot/raw/main/do
[Відкалібруйте ваш RC Controller](../config/radio.md) та налаштуйте [перемикач режиму польоту](../config/flight_mode.md).
Ми рекомендуємо вам призначити RC перемикачі для набору режимів, визначених у [Flight Mode Configuration > What Flight Modes and Switches Should I Set?](../config/flight_mode.md#what-flight-modes-and-switches-should-i-set).
Зокрема, ви повинні призначити _VTOL Transition Switch_, _Kill Switch_ та перемикач для вибору [Режиму стабілізації](../flight_modes_fw/stabilized.md) та [Режиму позиціювання](../flight_modes_fw/position.md).
In particular you should assign a _VTOL Transition Switch_, _Kill Switch_, and a switch to select [Stabilized mode](../flight_modes_fw/stabilized.md) and [Cruise mode](../flight_modes_fw/cruise.md).
### Налаштування приводу та калібрування ESC
@@ -397,5 +397,5 @@ Next we load a [parameter file](https://github.com/PX4/PX4-Autopilot/raw/main/do
- Якщо використовується [kill-switch](../config/safety.md#kill-switch), переконайтеся, що він працює належним чином і не буде активований випадково в повітрі!
- Включіть [режим стабілізації](../flight_modes_fw/stabilized.md) та перевірте, чи відповідають двигуни на команди, наприклад, перевалюємося вліво, збільшувати оберти на правому двигуні
- Злетайте у режимі [стабілізованого положення](../flight_modes_fw/stabilized.md) і виконайте деякі базові маневри
- Якщо все пройшло без проблем, злітайте у [Position mode](../flight_modes_fw/position.md) та зробіть перехід приблизно на висоті 50м.
- If everything went without any issue, takeoff in [Cruise mode](../flight_modes_fw/cruise.md) and do a transition at around 50m.
Якщо щось пішло не так, якнайшвидше перейдіть в режим мультикоптера (використовуючи перемикач переходу).
@@ -313,7 +313,7 @@ The airspeed sensor can be enabled in the [Parameters](../advanced_config/parame
[Відкалібруйте ваш RC Controller](../config/radio.md) та налаштуйте [перемикач режиму польоту](../config/flight_mode.md).
Ми рекомендуємо вам призначити RC перемикачі для набору режимів, визначених у [Flight Mode Configuration > What Flight Modes and Switches Should I Set?](../config/flight_mode.md#what-flight-modes-and-switches-should-i-set).
Зокрема, ви повинні призначити _VTOL Transition Switch_, _Kill Switch_ та перемикач для вибору [Режиму стабілізації](../flight_modes_fw/stabilized.md) та [Режиму позиціювання](../flight_modes_fw/position.md).
In particular you should assign a _VTOL Transition Switch_, _Kill Switch_, and a switch to select [Stabilized mode](../flight_modes_fw/stabilized.md) and [Cruise mode](../flight_modes_fw/cruise.md).
### Налаштування приводу
@@ -388,5 +388,5 @@ The direction can't be changed in software because the vehicle does not use [DSh
- Якщо використовується [kill-switch](../config/safety.md#kill-switch), переконайтеся, що він працює належним чином і не буде активований випадково в повітрі!
- Включіть [режим стабілізації](../flight_modes_fw/stabilized.md) та перевірте, чи відповідають двигуни на команди, наприклад, перевалюємося вліво, збільшувати оберти на правому двигуні
- Злетайте у режимі [стабілізованого положення](../flight_modes_fw/stabilized.md) і виконайте деякі базові маневри
- Якщо все пройшло без проблем, злітайте у [Position mode](../flight_modes_fw/position.md) та зробіть перехід приблизно на висоті 50м.
- If everything went without any issue, takeoff in [Cruise mode](../flight_modes_fw/cruise.md) and do a transition at around 50m.
Якщо щось пішло не так, якнайшвидше перейдіть в режим мультикоптера (використовуючи перемикач переходу).
@@ -40,6 +40,8 @@ Ideally the two antennas should be identical, on the same level/horizontal plane
- Головний GPS = Ровер
- Допоміжний GPS = Рухома База
- Set [GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) to `Heading` (1)
- Set [GPS_UBX_BAUD1](../advanced_config/parameter_reference.md#GPS_UBX_BAUD1) if a UART1 rate other than the default is required (0 keeps 115200). Use a higher rate for high update rates or when RTCM is sent on UART1 ([GPS_UBX_MODE](../advanced_config/parameter_reference.md#GPS_UBX_MODE) 3/4), and a lower rate on long serial cables.
- Set [GPS_UBX_BAUD2](../advanced_config/parameter_reference.md#GPS_UBX_BAUD2) if a UART2 rate other than the default (230400) is required. UART2 carries RTCM between the modules in this setup.
- [EKF2_GPS_CTRL](../advanced_config/parameter_reference.md#EKF2_GPS_CTRL) parameter bit 3 must be set (see [RTK GPS > GPS as Yaw/Heading Source](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)).
- [GPS_YAW_OFFSET](../advanced_config/parameter_reference.md#GPS_YAW_OFFSET) may need to be set (see [RTK GPS > GPS as Yaw/Heading Source](../gps_compass/rtk_gps.md#configuring-gps-as-yaw-heading-source)).
- Перезавантажте та зачекайте, доки обидва пристрої отримають сигнал GPS.
+1 -1
View File
@@ -48,7 +48,7 @@ FW vehicles support the following standard modes (some of these are supported by
| Standard Mode | PX4 Mode | Internal Mode |
| ---------------------------------------------------------------------- | -------------------------------------------------- | --------------------------------- |
| [MAV\_STANDARD\_MODE\_CRUISE][MAV_STANDARD_MODE_CRUISE] | [FW Position mode](../flight_modes_fw/position.md) | POSCTL |
| [MAV\_STANDARD\_MODE\_CRUISE][MAV_STANDARD_MODE_CRUISE] | [FW Cruise mode](../flight_modes_fw/cruise.md) | POSCTL |
| [MAV\_STANDARD\_MODE\_ALTITUDE\_HOLD][MAV_STANDARD_MODE_ALTITUDE_HOLD] | [FW Altitude mode](../flight_modes_fw/altitude.md) | ALTCTL |
| [MAV\_STANDARD\_MODE\_ORBIT][MAV_STANDARD_MODE_ORBIT] | [FW Hold mode](../flight_modes_fw/hold.md) | AUTO_LOITER |
| [MAV\_STANDARD\_MODE\_SAFE\_RECOVERY][MAV_STANDARD_MODE_SAFE_RECOVERY] | [Return mode](../flight_modes/return.md) | AUTO_RTL |
+8
View File
@@ -470,6 +470,14 @@ param <command> [arguments...]
<param_name> <value> Parameter name and value to set
[fail] If provided, let the command fail if param is not found
bitset Set bits of an int32 parameter (param |= mask)
<param_name> <mask> Parameter name and bitmask (decimal or 0x hex)
[fail] If provided, let the command fail if param is not found
bitclear Clear bits of an int32 parameter (param &= ~mask)
<param_name> <mask> Parameter name and bitmask (decimal or 0x hex)
[fail] If provided, let the command fail if param is not found
set-default Set parameter default to a value
[-s] If provided, silent errors if parameter doesn't exists
<param_name> <value> Parameter name and value to set
+24
View File
@@ -1110,6 +1110,30 @@ rgbled <command> [arguments...]
status print status info
```
## rgbled_apa102
Source: [drivers/lights/rgbled_apa102](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/lights/rgbled_apa102)
### Usage {#rgbled_apa102_usage}
```
rgbled_apa102 <command> [arguments...]
Commands:
start
[-s] Internal SPI bus(es)
[-S] External SPI bus(es)
[-b <val>] board-specific bus (default=all) (external SPI: n-th bus
(default=1))
[-c <val>] chip-select pin (for internal SPI) or index (for external SPI)
[-m <val>] SPI mode
[-f <val>] bus frequency in kHz
[-q] quiet startup (no message if no device found)
stop
status print status info
```
## rgbled_aw2023
Source: [drivers/lights/rgbled_aw2023](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/lights/rgbled_aw2023)
+7 -4
View File
@@ -90,10 +90,13 @@ Source: [drivers/cdcacm_autostart](https://github.com/PX4/PX4-Autopilot/tree/mai
### Опис
This module listens on USB and auto-configures the protocol depending on the bytes received.
The supported protocols are: MAVLink, nsh, and ublox serial passthrough. If the parameter SYS_USB_AUTO=2
the module will only try to start mavlink as long as the USB VBUS is detected. Otherwise it will spin
and continue to check for VBUS and start mavlink once it is detected.
Manages the USB CDC/ACM serial device (`/dev/ttyACM0`).
`SYS_USB_AUTO` selects the protocol policy once USB VBUS is detected:
- `0` Disabled: bring up the USB serial device only.
- `1` Auto-detect: wait for host bytes and start MAVLink, nsh, or u-blox passthrough.
- `2` MAVLink (default): start MAVLink immediately so the autopilot transmits first
### Usage {#cdcacm_autostart_usage}
+8 -6
View File
@@ -10,12 +10,13 @@ Auxiliary control fields for fixed-wing runway takeoff/landing.
## Fields
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
| -------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | time since system start |
| <a id="fld_runway_takeoff_state"></a>runway_takeoff_state | `uint8` | | | Current state of runway takeoff state machine |
| <a id="fld_wheel_steering_enabled"></a>wheel_steering_enabled | `bool` | | | Flag that enables the wheel steering. |
| <a id="fld_wheel_steering_nudging_rate"></a>wheel_steering_nudging_rate | `float32` | FRD | [-1 : 1] | Manual wheel nudging, added to controller output. NAN is interpreted as 0. |
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
| -------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | time since system start |
| <a id="fld_runway_takeoff_state"></a>runway_takeoff_state | `uint8` | | | Current state of runway takeoff state machine |
| <a id="fld_wheel_steering_enabled"></a>wheel_steering_enabled | `bool` | | | Flag that enables the wheel steering. |
| <a id="fld_wheel_steering_yaw_setpoint"></a>wheel_steering_yaw_setpoint | `float32` | rad | [-pi : pi] | For the wheel controller to track. NAN means hold the heading captured when steering engaged. |
| <a id="fld_wheel_steering_nudging_rate"></a>wheel_steering_nudging_rate | `float32` | FRD | [-1 : 1] | Manual wheel nudging, added to controller output. NAN is interpreted as 0. |
## Constants
@@ -48,6 +49,7 @@ uint8 STATE_FLYING = 3 # navigate freely
uint8 runway_takeoff_state # Current state of runway takeoff state machine
bool wheel_steering_enabled # Flag that enables the wheel steering.
float32 wheel_steering_yaw_setpoint # [rad] [@range -pi, pi] For the wheel controller to track. NAN means hold the heading captured when steering engaged.
float32 wheel_steering_nudging_rate # [norm] [@range -1, 1] [FRD] Manual wheel nudging, added to controller output. NAN is interpreted as 0.
```
+10 -4
View File
@@ -17,8 +17,9 @@ A gripper can instead be configured as a [generic RC or MAVLink actuator](../pay
PX4 підтримує захвати, які мають прості важелі для утримання та відпускання, та використовують наступні інтерфейси (див. зв'язані документи для деталей):
- [PWM Servo Gripper](gripper_servo.md) - Grippers connected to autopilot PWM outputs
- **MAVLink Gripper** (Untested) - Grippers that support the [MAV_CMD_DO_GRIPPER](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_GRIPPER) MAVLink command.
- [PWM Servo Gripper](../peripherals/gripper_servo.md) — Grippers connected to autopilot PWM outputs.
- [DroneCAN Electro-Permanent Magnet (EPM)](../peripherals/gripper_epm.md) — EPM grippers controlled using DroneCAN hardpoint commands.
- **MAVLink Gripper** (Untested) — Grippers that support the [MAV_CMD_DO_GRIPPER](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_GRIPPER) MAVLink command.
## Використання захоплювача
@@ -38,9 +39,14 @@ MAVLink applications, such as ground stations, can also control the gripper usin
Підтримка захоплювача PX4 пов'язана з функцією доставки пакетів, яка повинна бути увімкнена та налаштована для можливості використання захоплювача.
1. Ensure your board has the Payload Deliverer module enabled: CONFIG_MODULES_PAYLOAD_DELIVERER.
1. Ensure your board has the Payload Deliverer module enabled:
```ini
CONFIG_MODULES_PAYLOAD_DELIVERER=y
```
2. Set [PD_GRIPPER_TYPE](../advanced_config/parameter_reference.md#PD_GRIPPER_TYPE) to match your gripper.
For example, set to `Servo` for a [Servo Gripper](gripper_servo.md).
Set it to `Binary Grab/Release` for a [Servo Gripper](gripper_servo.md) or [DroneCAN EPM Gripper](../peripherals/gripper_epm.md).
### Відображення активатора захоплювача
+130
View File
@@ -0,0 +1,130 @@
# Electro-Permanent Magnet (EPM)
<Badge type="tip" text="PX4 v1.18" />
An electro-permanent magnet (EPM) uses a short electrical pulse to switch its magnetic state, and does not consume power continuously while holding a payload.
This topic explains how to connect and configure a [Zubax FluxGrip FG40](https://shop.zubax.com/products/zubax-epm) EPM as a DroneCAN gripper.
The gripper can then be operated from a [payload delivery mission](../flying/package_delivery_mission.md), a joystick, or a MAVLink command.
![FluxGrip connected to a Pixhawk flight controller](../../assets/hardware/grippers/fluxgrip_px4.png)
:::info
This setup was tested with a Holybro Pixhawk 6X Pro and FluxGrip firmware `502e1f5`.
See the [FluxGrip documentation](https://fluxgrip.zubax.com/chapters/hardware/fg40.html#interface-and-power-supply) for product-specific setup and operating limits.
:::
## PX4 Firmware Support
DroneCAN EPM operation is supported from PX4 v1.18 — the first PX4 version that supports gripper command forwarding using the DroneCAN hardpoint message ([uavcan.equipment.hardpoint](https://dronecan.github.io/Specification/7._List_of_standard_data_types/#uavcanequipmenthardpoint)).
The flight controller firmware must include both of the following modules (and of course the board must support CAN):
```ini
CONFIG_DRIVERS_UAVCAN=y
CONFIG_MODULES_PAYLOAD_DELIVERER=y
```
You can check or add these settings in the board's `default.px4board` file under `boards/<vendor>/<board>/`, or use the [PX4 board configuration tool](../hardware/porting_guide_config.md#px4-menuconfig-setup).
Then [build PX4 and upload the firmware](../dev_setup/building_px4.md).
For an FMUv6X flight controller this would be done as follows (replace `px4_fmu-v6x_default` with the build target for your flight controller):
```sh
git submodule update --init --recursive
make px4_fmu-v6x_default
make px4_fmu-v6x_default upload
```
## Налаштування програмного забезпечення
:::warning
FluxGrip can briefly draw a high current when switching.
FluxGrip can be powered from the flight controller power rail for testing purposes, provided that the rail meets its voltage and current requirements.
For normal operation, use a suitable separate power supply for the EPM to reduce the load on the flight controller power rail and improve switching performance.
Follow the voltage, current, and wiring requirements in the [FluxGrip documentation](https://fluxgrip.zubax.com/chapters/hardware/fg40.html#interface-and-power-supply).
:::
1. Connect FluxGrip to the flight controller's `CAN1` port.
2. Connect FluxGrip to its power supply.
3. Check that the CAN bus is wired and terminated as described in [CAN Wiring](../can/index.md#wiring).
4. Power the flight controller and FluxGrip.
When communication is working, the left CAN LED on FluxGrip is solid and the adjacent CAN LED blinks.
## Конфігурація PX4
Set the following parameters in QGroundControl, and then reboot the flight controller:
| Parameter | Значення | Опис |
| ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE) | `Sensors Automatic Config` (`2`) | Enables DroneCAN and dynamic node allocation. Use `3` instead if the vehicle also uses DroneCAN ESCs. |
| [UAVCAN_BITRATE](../advanced_config/parameter_reference.md#UAVCAN_BITRATE) | `1000000` | Sets the CAN bus bitrate to 1 Mbit/s. |
| [PD_GRIPPER_TYPE](../advanced_config/parameter_reference.md#PD_GRIPPER_TYPE) | `Binary Grab/Release` (`0`) | Enables the binary grab/release gripper interface used by the EPM. |
:::info
You do not need to map a flight controller actuator output when controlling the EPM over DroneCAN.
No DroneCAN subscription or publication parameters (`UAVCAN_SUB_*`, `UAVCAN_PUB_*`, `CANNODE_SUB_*`, or `CANNODE_PUB_*`) are required.
PX4 automatically publishes the hardpoint command when DroneCAN is enabled.
:::
## Test the Gripper
:::warning
Remove the propellers and secure the vehicle before testing.
The payload deliverer commands the gripper to the grab state when the module starts, so the EPM will magnetize during startup.
:::
Open the QGroundControl [MAVLink Shell](../debug/mavlink_shell.md), then verify that the DroneCAN driver and payload deliverer are running:
```sh
uavcan status
payload_deliverer status
```
Test both gripper states:
```sh
# Release the payload (magnet off)
payload_deliverer gripper_open
# Grab the payload (magnet on)
payload_deliverer gripper_close
```
PX4 sends these as `MAV_CMD_DO_GRIPPER` commands for hardpoint ID `0`.
The release command has action `0`, and the grab command has action `1`.
After testing, the EPM can be operated using any of the methods described in [Grippers > Using a Gripper](gripper.md#using-a-gripper).
## Статус LED
The Magnet LED, located to the right of the CAN LEDs, indicates the EPM state:
| State | Значення |
| -------------- | -------------------------------------------------------------------- |
| Detect/Unknown | Initial state after FluxGrip is powered on. |
| On | The EPM is magnetized and holding the payload. |
| Off | The EPM is demagnetized and the payload is released. |
| Fade-in | FluxGrip is switching to the magnetized state. |
| Fade-out | FluxGrip is switching to the demagnetized state. |
If the Magnet LED blinks rapidly, FluxGrip failed to magnetize.
Check the power supply and wiring, and contact [Zubax support](mailto:support@zubax.com) if the problem persists.
## Усунення проблем
If FluxGrip does not respond:
1. Run `uavcan status` and confirm that the DroneCAN driver is running and FluxGrip is visible on the bus.
2. Check that `UAVCAN_ENABLE` and `UAVCAN_BITRATE` are set as described above.
3. Check CAN wiring, bus termination, and the EPM power supply.
4. Run `payload_deliverer status` and confirm that the gripper is valid.
5. If `payload_deliverer` is not available, rebuild the firmware with `CONFIG_MODULES_PAYLOAD_DELIVERER=y`.
## Дивіться також
- [FluxGrip: Integration with PX4](https://forum.zubax.com/t/fluxgrip-integration-with-px4/2863) (Zubax Forum)
- [FluxGrip Quickstart Guide](https://forum.zubax.com/t/fluxgrip-quickstart-guide/2335) (Zubax Forum)
- [DroneCAN](../dronecan/index.md)
- [Grippers](gripper.md)
+5 -1
View File
@@ -26,11 +26,12 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
## Основні зміни
- Уточнюється
- **[Motor failure recovery for hexarotors](../config/motor_failure_recovery.md).** On a detected single motor failure the control allocator removes the failed motor and, on a hexarotor, additionally stops ([CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE) = `1`) or reverses (`2`) the motor opposite it, recovering the yaw authority that is otherwise lost. Reversing keeps the opposite motor in the allocation and needs a reverse-capable ESC; the reverse thrust the allocator expects from a forward propeller is set with [CA_REV_THR_FRAC](../advanced_config/parameter_reference.md#CA_REV_THR_FRAC) (default `0.4`). Disabled by default. ([PX4-Autopilot#28078](https://github.com/PX4/PX4-Autopilot/pull/28078))
## Інструкції для оновлення
- `COM_ARM_TRAFF` has been replaced by `COM_TRAFF_AVOID`. The old value 3 ("enforce for mission modes only") is migrated to `COM_TRAFF_AVOID=2`, which blocks arming in all modes, not just mission modes. If you relied on being able to arm manually with traffic detected, set `COM_TRAFF_AVOID=1` (warning only) instead.
- **Re-check motor failure handling on hexarotors.** [CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE) = `1` now also stops the motor opposite the failed one on a hexarotor (previously only the failed motor was removed from the allocation). Other airframes are unaffected, and `CA_FAILURE_MODE=0` (the default) is unchanged. See [Motor Failure Recovery](../config/motor_failure_recovery.md). ([PX4-Autopilot#28078](https://github.com/PX4/PX4-Autopilot/pull/28078))
## Інші зміни
@@ -51,6 +52,9 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
### Безпека
- [Geofence Aware Return mode](../flight_modes/return.md#geofence_awareness). ([PX4-Autopilot#27145: feat(navigator): Geofence Aware RTL](https://github.com/PX4/PX4-Autopilot/pull/27145), [PX4-Autopilot#28001: docs(navigator): [geofence] added some more warnings about limitations](https://github.com/PX4/PX4-Autopilot/pull/28001)).
- [Flight termination](../advanced_config/flight_termination.md) can now be used instead of a Descent mode as a fallback failsafe mode, allowing safer landing for unpiloted vehicles that carry a parachute.
See [Battery level failsafe](../config/safety.md#battery-level-failsafe) ([COM_LOW_BAT_ACT](../advanced_config/parameter_reference.md#COM_LOW_BAT_ACT)) and [Position Loss Failsafe Action](../config/safety.md#position-loss-failsafe-action) (new [COM_POS_FS_ACT](../advanced_config/parameter_reference.md#COM_POS_FS_ACT)). ([PX4-Autopilot#28064: feat(commander): add terminate options for critical battery and lost position failsafes](https://github.com/PX4/PX4-Autopilot/pull/28064)).
- [Motor failure recovery](../config/motor_failure_recovery.md) for hexarotors: on a single motor failure the control allocator removes the failed motor and additionally stops ([CA_FAILURE_MODE](../advanced_config/parameter_reference.md#CA_FAILURE_MODE) = `1`) or reverses (`2`) the motor opposite it to recover the lost yaw authority. Mode `2` requires a reverse-capable ESC and models the reverse thrust of a forward propeller with the new [CA_REV_THR_FRAC](../advanced_config/parameter_reference.md#CA_REV_THR_FRAC) (default `0.4`). Reversible motor outputs on DroneCAN are now sent as signed `RawCommand` values (negative is reverse). ([PX4-Autopilot#28078](https://github.com/PX4/PX4-Autopilot/pull/28078))
### Оцінки
+4 -4
View File
@@ -118,7 +118,7 @@ To install ROS 2 and its dependencies:
source /opt/ros/humble/setup.bash && echo "source /opt/ros/humble/setup.bash" >> .bashrc
```
The instructions above are reproduced from the official installation guide: [Install ROS 2 Humble](https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html).
The instructions above are reproduced from the official installation guide: [Install ROS 2 Humble](https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debs.html).
You can install _either_ the desktop (`ros-humble-desktop`) _or_ bare-bones versions (`ros-humble-ros-base`), _and_ the development tools (`ros-dev-tools`).
:::
@@ -605,11 +605,11 @@ For more information see: [ROS 2 Subscriber QoS Settings](#ros-2-subscriber-qos-
The lines below create a publisher to the `SensorCombined` uORB topic, which can be matched with one or more compatible ROS 2 subscribers to the `fmu/sensor_combined/out` ROS 2 topic.
````cpp
```cpp
private:
rclcpp::Subscription<px4_msgs::msg::SensorCombined>::SharedPtr subscription_;
};
```s
```
The instantiation of the `SensorCombinedListener` class as a ROS node is done on the `main` function.
@@ -624,7 +624,7 @@ int main(int argc, char *argv[])
rclcpp::shutdown();
return 0;
}
````
```
This particular example has an associated launch file at [launch/sensor_combined_listener.launch.py](https://github.com/PX4/px4_ros_com/blob/main/launch/sensor_combined_listener.launch.py).
This allows it to be launched using the [`ros2 launch`](#ros2-launch) command.
+1 -1
View File
@@ -76,7 +76,7 @@ make px4_sitl gazebo-classic_plane
make px4_sitl gazebo-classic_plane_catapult
```
This model simulates hand/catapult launch, which can be used for [fixed-wing takeoff](../flight_modes_fw/takeoff.md) in position mode, takeoff mode, or missions.
This model simulates hand/catapult launch, which can be used for [fixed-wing takeoff](../flight_modes_fw/takeoff.md) in cruise mode, takeoff mode, or missions.
Літак буде автоматично запущено як тільки засіб буде в стані готовності.
+73
View File
@@ -0,0 +1,73 @@
# PteroSim Simulation
:::warning
This simulator is [community supported and maintained](../simulation/community_supported_simulators.md).
It may or may not work with current versions of PX4 and may be removed in future releases.
Дивіться [Встановлення інструментарію](../dev_setup/dev_env.md) для інформації про середовища та інструменти, що підтримуються основною командою розробників.
:::
[PteroSim](https://github.com/PteroLabsAI/PteroSim-UAV-Simulator) is proprietary simulation software that can be used with PX4 for [Software-In-The-Loop (SITL)](../simulation/index.md#sitl-simulation-environment) simulation.
PX4 runs as the flight controller, while PteroSim provides the vehicle dynamics, visual scene, and simulated sensor inputs through a built-in HIL bridge.
PteroSim uses the [Simulator MAVLink API](../simulation/index.md#simulator-mavlink-api) over TCP port `4560` with lockstep synchronization.
PteroSim runs on **Windows 10/11** and **Ubuntu 22.04+** (64-bit).
Install PteroSim from [GitHub Releases](https://github.com/PteroLabsAI/PteroSim-UAV-Simulator/releases) and set up PX4 SITL using the [PX4 development environment](../dev_setup/dev_env.md).
For full installation, UI walkthrough, and QGroundControl setup, see the [PteroSim PX4 SITL guide](https://pterosimdocs.readthedocs.io/en/latest/sitl_simulation_px4.html).
## Відео
PX4 tutorial:
<lite-youtube videoid="gUSc84v3f44" title="PteroSim PX4 tutorial"/>
PteroSim demo:
<lite-youtube videoid="4QMwmZL_3O4" title="PteroSim PX4 demo"/>
## Підтримувані транспортні засоби
The free tier includes the **F450** multicopter, which is covered by the setup steps on this page:
| Транспортний засіб | Тип | PX4 target |
| ------------------ | ------------ | --------------------------------- |
| F450 | Мультикоптер | `make px4_sitl_default none_iris` |
Paid licenses also include fixed-wing, VTOL, and helicopter templates with PX4 SITL support.
See [pterolabs.ai](https://pterolabs.ai/#pricing) for licensing details.
## Network Setup
PX4 connects to PteroSim on TCP port `4560`.
When PteroSim and PX4 SITL run on the same Ubuntu machine, the default host `localhost` is sufficient.
When PteroSim runs on Windows and PX4 runs in WSL2, set `PX4_SIM_HOSTNAME` in the WSL2 shell to the Windows host IP before starting PX4:
```sh
export PX4_SIM_HOSTNAME=$(ip route | awk '/default/ {print $3; exit}')
```
Make sure inbound TCP port `4560` is allowed by the firewall on the PteroSim host.
## Запуск SITL
1. Start PteroSim, spawn the F450, select **PX4** as the control source, and press **Start**.
2. Start PX4 SITL with lockstep enabled. Наприклад:
```sh
cd PX4-Autopilot
PX4_LOCKSTEP=1 PX4_SIM_SPEED_FACTOR=1 make px4_sitl_default none_iris
```
On Windows with PX4 in WSL2, include `PX4_SIM_HOSTNAME` as shown in [Network Setup](#network-setup).
3. Connect [QGroundControl](https://qgroundcontrol.com) to PX4 as usual.
PX4 prints `Simulator connected on TCP port 4560` when the bridge is connected.
## Усунення проблем
If PX4 waits for the simulator, verify that PteroSim is running, the simulation has been started, the control source is set to **PX4**, `PX4_SIM_HOSTNAME` points to the PteroSim host when using WSL2, and TCP port `4560` is not blocked.
If PX4 connects but the aircraft does not respond to commands, verify that the control source is set to **PX4** in PteroSim.
@@ -14,10 +14,11 @@ These simulators are not maintained, tested, or supported, by the core developme
| Симулятор | Опис |
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AirSim](../sim_airsim/README.md) | <p>Міжплатформовий симулятор який надає фізично та візуально реалістичні симуляції. This simulator is resource intensive, and requires a significantly more powerful computer than the other simulators described here.</p><p><strong>Supported Vehicles:</strong> Iris (MultiRotor model and a configuration for PX4 QuadRotor in the X configuration).</p> |
| [FlightGear](../sim_flightgear/README.md) | <p>Симулятор який надає фізично та візуально реалістичні симуляції. Зокрема він може моделювати багато погодних умов, включаючи грози, сніг, дощ та град, а також може симулювати температурні режими та різні типи атмосферних течій. [Симуляція кількох засобів](../sim_flightgear/multi_vehicle.md) також підтримується.</p> <p><strong>Рухомі засоби, що підтримуються:</strong> Літак, Автожир, Ровер</p> |
| [JMAVSim](../sim_jmavsim/index.md) | <p>A simple multirotor/quad simulator. This was previously part of the PX4 development toolchain but was removed in favour of [Gazebo](../sim_gazebo_gz/index.md).</p> <p><strong>Supported Vehicles:</strong> Quad</p> |
| [JSBSim](../sim_jsbsim/README.md) | <p>Симулятор, який надає моделі просунутої динаміки польоту. Він може використовуватися для моделювання реалістичної динаміки польоту, заснованої на даних з аеродинамічної труби.</p> <p><strong>Рухомі засоби, що підтримуються:</strong> Літак, Квадрокоптер, Гексакоптер</p> |
| [AirSim](../sim_airsim/README.md) | <p>Міжплатформовий симулятор який надає фізично та візуально реалістичні симуляції. This simulator is resource intensive, and requires a significantly more powerful computer than the other simulators described here.</p><p><strong>Supported Vehicles:</strong> Iris (MultiRotor model and a configuration for PX4 QuadRotor in the X configuration).</p> |
| [PteroSim](../sim_pterosim/index.md) | <p>Proprietary high-fidelity UAV simulation built on Unreal Engine 5 and JSBSim. Connects to PX4 SITL over the Simulator MAVLink API with lockstep synchronization.</p><p><strong>Supported Vehicles:</strong> Free tier: Multicopter. Paid tiers: Fixed-wing, VTOL, Helicopter.</p> |
| [RotorPy](../sim_rotorpy/index.md) | <p>A Python-based multirotor simulation environment with aerodynamic forces and moments, actuator limits, sensor noise, wind, obstacles, and a Gymnasium interface for research workflows.</p><p><strong>Supported Vehicles:</strong> Quad</p> |
| [X-Plane](../sim_xplane/index.md) | <p>A commercial flight simulator using blade element theory for flight dynamics. The PX4 integration uses the community-supported px4xplane bridge plugin.</p><p><strong>Preconfigured PX4 targets:</strong> Plane, Multicopter, VTOL. Additional X-Plane aircraft or vehicle models can be integrated when PX4 has a matching SITL-capable control path and px4xplane can map the required actuator outputs to writable X-Plane datarefs.</p> |
+2 -2
View File
@@ -6,7 +6,7 @@ To test that manual flight modes work as expected for fixed wing vehicles.
## Preflight
Ensure that the vehicle can go into Stabilized, Altitude, and Position mode while still on the ground.
Ensure that the vehicle can go into Stabilized, Altitude, and Cruise while still on the ground.
## Flight Tests
@@ -30,7 +30,7 @@ Ensure that the vehicle can go into Stabilized, Altitude, and Position mode whil
&nbsp;&nbsp;&nbsp;&nbsp;❏ Roll/Yaw respond correctly to stick movement
❏ Положення
❏ Cruise
&nbsp;&nbsp;&nbsp;&nbsp;❏ Vehicle should hold current heading and loiter with stick centered