mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-01 21:52:12 +08:00
docs(i18n): PX4 guide translations (Crowdin) - uk (#30074)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
1 parent
e416a37d83
commit
b4d6bc27b6
41 files changed
+1615
-188
No files matched your search
+9
-2
@@ -193,6 +193,8 @@
|
||||
- [CubePilot Cube Orange (CubePilot)](flight_controller/cubepilot_cube_orange.md)
|
||||
- [CubePilot Cube Yellow (CubePilot)](flight_controller/cubepilot_cube_yellow.md)
|
||||
- [Швидке підключення Cube](assembly/quick_start_cube.md)
|
||||
- [CyberCraft CyberX-v10](flight_controller/cyberx_v10.md)
|
||||
- [CyberX-v10 Wiring Quickstart](assembly/quick_start_cyberx_v10.md)
|
||||
- [Gear Up AirBrainH743](flight_controller/gearup_airbrainh743.md)
|
||||
- [Holybro Kakute H7v2](flight_controller/kakuteh7v2.md)
|
||||
- [Holybro Kakute H7mini](flight_controller/kakuteh7mini.md)
|
||||
@@ -212,6 +214,7 @@
|
||||
- [Sky-Drones AIRLink](flight_controller/airlink.md)
|
||||
- [SPRacing SPRacingH7EXTREME](flight_controller/spracingh7extreme.md)
|
||||
- [SVehicle E2](flight_controller/svehicle_e2.md)
|
||||
- [Syro V6X](flight_controller/syro_v6x.md)
|
||||
- [ThePeach FCC-K1](flight_controller/thepeach_k1.md)
|
||||
- [ThePeach FCC-R1](flight_controller/thepeach_r1.md)
|
||||
- [AP-H743-R1](flight_controller/x-mav_ap-h743r1.md)
|
||||
@@ -279,6 +282,7 @@
|
||||
- [CUAV NEO 3 GPS](gps_compass/gps_cuav_neo_3.md)
|
||||
- [CUAV NEO 3 Pro GPS (CAN)](gps_compass/gps_cuav_neo_3pro.md)
|
||||
- [CUAV NEO 3X GPS (CAN)](gps_compass/gps_cuav_neo_3x.md)
|
||||
- [GlobalSat BD-100M GNSS](gps_compass/gps_globalsat_bd_100m.md)
|
||||
- [Holybro DroneCAN M8N GPS (CAN)](dronecan/holybro_m8n_gps.md)
|
||||
- [LOCOSYS Hawk A1 GNSS](gps_compass/gps_locosys_hawk_a1.md)
|
||||
- [✘ CubePilot Here2](gps_compass/gps_cubepilot_here2.md)
|
||||
@@ -300,6 +304,7 @@
|
||||
- [DATAGNSS GEM1305 RTK GNSS](gps_compass/rtk_gps_gem1305.md)
|
||||
- [Femtones MINI2 Receiver](gps_compass/rtk_gps_fem_mini2.md)
|
||||
- [Freefly RTK GPS](gps_compass/rtk_gps_freefly.md)
|
||||
- [GlobalSat BD-100K RTK GNSS](gps_compass/rtk_gps_globalsat_bd_100k.md)
|
||||
- [Holybro H-RTK ZED-F9P (DroneCAN)](dronecan/holybro_h_rtk_zed_f9p_gps.md)
|
||||
- [Holybro H-RTK-F9P](gps_compass/rtk_gps_holybro_h-rtk-f9p.md)
|
||||
- [✘ Holybro H-RTK-M8P](gps_compass/rtk_gps_holybro_h-rtk-m8p.md)
|
||||
@@ -382,6 +387,8 @@
|
||||
|
||||
- [Analog Video Transmitters](vtx/index.md)
|
||||
|
||||
- [IP-Based Radios](data_links/ip_based_radios.md)
|
||||
|
||||
- [Енергетичні системи](power_systems/index.md)
|
||||
- [Налаштування оцінки батареї](config/battery.md)
|
||||
- [Battery Chemistry Overview](power_systems/battery_chemistry.md)
|
||||
@@ -1042,8 +1049,8 @@
|
||||
- [Релізи](releases/index.md)
|
||||
- [Release Process](releases/release_process.md)
|
||||
- [main (alpha)](releases/main.md)
|
||||
- [v1.18 (beta)](releases/1.18.md)
|
||||
- [1.17 (stable)](releases/1.17.md)
|
||||
- [v1.18 (stable)](releases/1.18.md)
|
||||
- [1.17](releases/1.17.md)
|
||||
- [1.16](releases/1.16.md)
|
||||
- [1.15](releases/1.15.md)
|
||||
- [1.14](releases/1.14.md)
|
||||
|
||||
@@ -68,7 +68,8 @@
|
||||
Поза деревом повідомлень uORB будуть створені в тих же місцях, що й звичайні повідомлення uORB.
|
||||
Заголовки тем uORB генеруються в `<build_dir>/uORB/topics/`, а вихідні файли повідомлень – створено в `<build_dir>/msg/topics_sources/`.
|
||||
|
||||
Нові повідомлення uORB можна використовувати як будь-які інші повідомлення uORB, як описано [тут](../middleware/uorb.md#adding-a-new-topic).
|
||||
The new uORB messages can be used like any other uORB message as described [here](../middleware/uorb.md#adding-a-new-topic).
|
||||
To bridge them to ROS 2, see [uXRCE-DDS: Out-of-Tree Messages](../middleware/uxrce_dds.md#out-of-tree-messages).
|
||||
|
||||
:::warning
|
||||
Визначення повідомлень поза деревом uORB не можуть мати ті ж самі назви, що й будь-які звичайні повідомлення uORB.
|
||||
|
||||
@@ -32,6 +32,7 @@ PX4 supports Ethernet connectivity on [Pixhawk 5X-standard](https://github.com/p
|
||||
- [CUAV X25 EVO](../flight_controller/cuav_x25-evo.md)
|
||||
- [CUAV X25 SUPER](../flight_controller/cuav_x25-super.md)
|
||||
- [CUAV X25-MEGA](../flight_controller/cuav_x25-mega.md)
|
||||
- [CyberCraft CyberX-v10](../flight_controller/cyberx_v10.md)
|
||||
- [Holybro Pixhawk 5X](../flight_controller/pixhawk5x.md)
|
||||
- [Holybro Pixhawk 6X](../flight_controller/pixhawk6x.md)
|
||||
- [RaccoonLab FMUv6X Autopilot](../flight_controller/raccoonlab_fmu6x.md)
|
||||
@@ -56,7 +57,8 @@ There is nothing "special" about the network configuration (other than perhaps t
|
||||
|
||||
PX4 використовує модуль [netman](../modules/modules_system.md#netman) для застосування та оновлення налаштувань мережі.
|
||||
|
||||
The default configuration first requests an IP address from DHCP, and if that fails will fallback to the default static address `10.41.10.2`.
|
||||
On most boards the default configuration first requests an IP address from DHCP, and if that fails will fallback to the default static address `10.41.10.2`.
|
||||
The ARK Electronics boards listed above use the static address `192.168.0.4` by default.
|
||||
You can explicitly set any static IP address (including the default address), to bypass the initial DHCP check and make the connection a little faster.
|
||||
|
||||
:::info
|
||||
|
||||
@@ -605,8 +605,8 @@ The **.ulog** format data can be parsed in python by using the [PX4 pyulog libra
|
||||
|
||||
### Стани
|
||||
|
||||
Зверніться до станів\[24\] у [EstimatorStates](https://github.com/PX4/PX4-Autopilot/blob/main/msg/EstimatorStates.msg).
|
||||
Індексна карта для станів\[24\] така:
|
||||
Refer to states\[25\] in [EstimatorStates](https://github.com/PX4/PX4-Autopilot/blob/main/msg/EstimatorStates.msg).
|
||||
The index map for states\[25\] is as follows:
|
||||
|
||||
- \[0 ... 3\] Quaternions
|
||||
- \[4 ... 6\] Velocity NED \(m/s\)
|
||||
@@ -616,20 +616,22 @@ The **.ulog** format data can be parsed in python by using the [PX4 pyulog libra
|
||||
- \[16 ... 18\] Earth magnetic field NED \(gauss\)
|
||||
- \[19 ... 21\] Body magnetic field XYZ \(gauss\)
|
||||
- \[22 ... 23\] Wind velocity NE \(m/s\)
|
||||
- \[24\] Terrain altitude, AMSL downpositive \(m\)
|
||||
|
||||
### Відхилення стану
|
||||
|
||||
Зверніться до коваріацій\[24\] у [EstimatorStates](https://github.com/PX4/PX4-Autopilot/blob/main/msg/EstimatorStates.msg).
|
||||
Індексна карта для коваріацій\[24\] така:
|
||||
|
||||
- \[0 ... 3\] Quaternions
|
||||
- \[4 ... 6\] Velocity NED \(m/s\)^2
|
||||
- \[7 ... 9\] Position NED \(m^2\)
|
||||
- \[10 ... 12\] IMU delta angle bias XYZ \(rad^2\)
|
||||
- \[13 ... 15\] IMU delta velocity bias XYZ \(m/s\)^2
|
||||
- \[16 ... 18\] Earth magnetic field NED \(gauss^2\)
|
||||
- \[19 ... 21\] Body magnetic field XYZ \(gauss^2\)
|
||||
- \[22 ... 23\] Wind velocity NE \(m/s\)^2
|
||||
- \[0 ... 2\] Quaternions
|
||||
- \[3 ... 5\] Velocity NED \(m/s\)^2
|
||||
- \[6 ... 8\] Position NED \(m^2\)
|
||||
- \[9 ... 11\] IMU delta angle bias XYZ \(rad^2\)
|
||||
- \[12 ... 14\] IMU delta velocity bias XYZ \(m/s\)^2
|
||||
- \[15 ... 17\] Earth magnetic field NED \(gauss^2\)
|
||||
- \[18 ... 20\] Body magnetic field XYZ \(gauss^2\)
|
||||
- \[21 ... 22\] Wind velocity NE \(m/s\)^2
|
||||
- \[23\] Terrain altitude \(m\)
|
||||
|
||||
### Інновації спостережень & інноваційні варіанти
|
||||
|
||||
|
||||
@@ -411,6 +411,7 @@ They recommend sensors, power systems, and other components from the same manufa
|
||||
- [CUAV V5+ Wiring Quickstart](../assembly/quick_start_cuav_v5_plus.md)
|
||||
- [CUAV V5 nano Wiring Quickstart](../assembly/quick_start_cuav_v5_nano.md)
|
||||
- [CUAV X25 EVO Wiring Quickstart](../assembly/quick_start_cuav_x25_evo.md)
|
||||
- [CyberCraft CyberX-v10 Wiring Quickstart](../assembly/quick_start_cyberx_v10.md)
|
||||
- [Holybro Pixhawk 6C Wiring Quickstart](../assembly/quick_start_pixhawk6c.md)
|
||||
- [Holybro Pixhawk 6X Wiring Quickstart](../assembly/quick_start_pixhawk6x.md)
|
||||
- [Holybro Pixhawk 5X Wiring Quickstart](../assembly/quick_start_pixhawk5x.md)
|
||||
|
||||
@@ -0,0 +1,143 @@
|
||||
# CyberCraft CyberX-v10 Wiring Quick Start
|
||||
|
||||
<Badge type="tip" text="main (PX4 v2.0)" />
|
||||
|
||||
:::warning
|
||||
PX4 не розробляє цей (або будь-який інший) автопілот.
|
||||
Contact the [manufacturer](https://int.woocoo.vip/) for hardware support or compliance issues.
|
||||
:::
|
||||
|
||||
This quick start guide shows how to power the [CyberX-v10](../flight_controller/cyberx_v10.md) flight controller and connect its most important peripherals.
|
||||
|
||||
## Огляд схеми підключення
|
||||
|
||||
На зображенні нижче показано, як підключити найважливіші датчики та периферійні пристрої.
|
||||
Ми розглянемо кожну з них докладно в наступних розділах.
|
||||
|
||||

|
||||
|
||||
| Порт | Функція |
|
||||
| :---------------- | :--------------------------------------------------------------------------------------------- |
|
||||
| `PWR1` | Analog (ADC) power module |
|
||||
| `PWR2` | I2C power module |
|
||||
| `GPS1`, `GPS2` | GPS/[RTK](../gps_compass/rtk_gps.md) modules |
|
||||
| `SW+BUZ` | Safety switch, safety LED and buzzer (usually from the GPS module) |
|
||||
| `TEL1`, `TEL2` | Telemetry radios or other MAVLink devices |
|
||||
| `Uart5` | General-purpose serial port (EXT2) |
|
||||
| `Uart8` | RC input for CRSF and GHST receivers |
|
||||
| `S.Bin` | SBUS or PPM receiver (`SBUS_IN`) and RSSI input (`RSSI_IN`) |
|
||||
| `RCin` | SBUS or PPM receiver (pin on the servo rail) |
|
||||
| `I2C3`, `I2C4` | I2C peripherals, such as an MS4525DO airspeed sensor |
|
||||
| `CAN1`, `CAN2` | [DroneCAN](../dronecan/index.md) peripherals |
|
||||
| `ETH` | Ethernet devices, such as companion computers |
|
||||
| `ADC` | Two analog inputs (3.3V and 6.6V) |
|
||||
| `S.Bout+SPI6` | SBUS output and external SPI bus |
|
||||
| `M1`–`M8` | IO PWM outputs, for ESCs and servos |
|
||||
| `M9`–`M16` | FMU PWM outputs, for ESCs and servos; `M9`–`M14` also support [DShot](../peripherals/dshot.md) |
|
||||
| `USB` | Connection to a computer, for example to load firmware |
|
||||
| `DEBUG` | [SWD](../debug/swd_debug.md) debug port for the FMU and IO processors |
|
||||
| microSD card slot | Log storage (a card is pre-inserted at the factory) |
|
||||
|
||||
## Передній бампер
|
||||
|
||||
Mount the CyberX-v10 with the arrow on its case pointing towards the front of the vehicle.
|
||||
|
||||

|
||||
|
||||
:::info
|
||||
Якщо контролер не може бути змонтований у рекомендованому/стандартному положенні (наприклад, через обмеження місця), вам потрібно буде налаштувати програмне забезпечення автопілота з орієнтацією, яку ви фактично використовували: [Орієнтація контролера польоту](../config/flight_controller_orientation.md).
|
||||
:::
|
||||
|
||||
## GPS + компас + зумер + захисний вимикач + світлодіод
|
||||
|
||||
The CyberX-v10 can be purchased with a GPS module that has an integrated compass, safety switch, buzzer and LEDs.
|
||||
The module has two 6-pin connectors: connect them to the `GPS1` and `SW+BUZ` ports.
|
||||
|
||||
A second GPS module (for example, an RTK or redundant GPS) can be connected to the `GPS2` port.
|
||||
Set [GPS_2_CONFIG](../advanced_config/parameter_reference.md#GPS_2_CONFIG) to `GPS 2` to use it.
|
||||
|
||||
GPS/компас слід [монтувати на раму](../assembly/mount_gps_compass.md) якомога подалі від інших електронних пристроїв, з напрямком вперед транспортного засобу (відокремлення компаса від інших електронних пристроїв зменшить втручання).
|
||||
|
||||
:::info
|
||||
The safety switch is disabled by default.
|
||||
To use it, set [COM_SAFETY_MODE](../advanced_config/parameter_reference.md#COM_SAFETY_MODE) to `Physical safety switch only` or `Safety switch (physical or virtual via MAVLink)` and reboot (see [Finding/Updating Parameters](../advanced_config/parameters.md)).
|
||||
When enabled, PX4 will not let you arm the vehicle until you press and hold the safety switch for 1 second.
|
||||
For more information see [Arming Sequence: Safety State](../advanced_config/prearm_arm_disarm.md#safety_state).
|
||||
:::
|
||||
|
||||
## Радіоуправління
|
||||
|
||||
A Radio Control (RC) system is required if you want to manually control your vehicle (PX4 does not require a radio system for autonomous flight modes).
|
||||
|
||||
You will need to [select a compatible transmitter/receiver](../getting_started/rc_transmitter_receiver.md) and then bind them so that they communicate (read the instructions that come with your specific transmitter/receiver).
|
||||
|
||||
- SBUS/PPM receivers connect to the `S.Bin` port or the `RCin` pin.
|
||||
- CRSF and GHST receivers connect to the `Uart8` port: receiver `TX` to `RX`, and receiver `RX` to `TX`.
|
||||
- Spektrum/DSM receivers are not supported.
|
||||
|
||||
Для отримання додаткової інформації про вибір радіосистеми, сумісність приймача та зв'язок вашої передавача/приймача, див. статтю: [Пульт керування передавачів & приймачів](../getting_started/rc_transmitter_receiver.md).
|
||||
|
||||
## Power
|
||||
|
||||
The CyberX-v10 is supplied with a PMU Lite power module that supports 2S to 20S lithium batteries.
|
||||
The module has both an analog (ADC) and an I2C interface: connect its analog connector to `PWR1` and its I2C connector to `PWR2`.
|
||||
Do not connect a different power module to each port.
|
||||
|
||||
The CyberX-v10 is configured by default for the analog power monitor on `PWR1`, which reports voltage and current.
|
||||
The INA228 I2C power monitor on `PWR2` is not started by default.
|
||||
The power module's VCC output must provide at least 3A continuous current, and should be 5.2V.
|
||||
Нижчий напруга 5V все ще прийнятний, але не рекомендується.
|
||||
|
||||
## Телеметрійна (радіо) система
|
||||
|
||||
[Telemetry radios](../telemetry/index.md) may be used to communicate with and control a vehicle in flight from a ground station (for example, you can direct the UAV to a particular position, or upload a new mission).
|
||||
|
||||
The vehicle-based radio should be connected to the `TEL1` or `TEL2` port (if connected to `TEL1`, no further configuration is required).
|
||||
Інша радіостанція підключається до вашого комп'ютера або мобільного пристрою наземної станції (зазвичай за допомогою USB).
|
||||
|
||||
## SD-карта
|
||||
|
||||
SD cards are highly recommended as they are needed to [log and analyse flight details](../getting_started/flight_reporting.md), to run missions, and to use DroneCAN peripherals.
|
||||
An SD card is already installed in the CyberX-v10 when it leaves the factory.
|
||||
|
||||
:::tip
|
||||
Для отримання додаткової інформації див. [Основні концепції > SD-карти (знімна пам'ять)](../getting_started/px4_basic_concepts.md#sd-cards-removable-memory).
|
||||
:::
|
||||
|
||||
## Motors/Servos
|
||||
|
||||
Motors and servos can be connected to any of the `M1`–`M8` (IO) and `M9`–`M16` (FMU) outputs, and are then assigned to outputs in [Actuator Configuration](../config/actuators.md#actuator-outputs).
|
||||
`M1`–`M8` appear there as **PWM MAIN** outputs, and `M9`–`M16` as **PWM AUX** outputs.
|
||||
|
||||
:::tip
|
||||
Use the FMU outputs (`M9`–`M16`) for motors where possible: they have lower latency than the IO outputs, and `M9`–`M14` support [DShot](../peripherals/dshot.md).
|
||||
:::
|
||||
|
||||
## Джерело живлення для сервоприводу
|
||||
|
||||
The CyberX-v10 does not supply power to the servo rail.
|
||||
If the rail must power servos or other hardware, connect an external BEC (e.g. a BEC-equipped ESC or a separate 5V BEC) to one of the power (+) pins on `M1`–`M16`.
|
||||
For more information see [PWM Servos and ESCs](../peripherals/pwm_escs_and_servo.md).
|
||||
|
||||
:::info
|
||||
Напруга шини живлення повинна бути відповідною для використаного сервоприводу!
|
||||
:::
|
||||
|
||||
## Інші периферійні пристрої
|
||||
|
||||
Підключення та конфігурація додаткових/менш поширених компонентів описано в темах для окремих [периферійних пристроїв](../peripherals/index.md).
|
||||
|
||||
## Схема розташування виводів
|
||||
|
||||

|
||||
|
||||
## Налаштування
|
||||
|
||||
Загальну інформацію про конфігурацію описано в: [Конфігурація автопілота](../config/index.md).
|
||||
|
||||
QuadPlane-specific configuration is covered here: [QuadPlane VTOL Configuration](../config_vtol/vtol_quad_configuration.md).
|
||||
|
||||
## Подальша інформація
|
||||
|
||||
- [CyberX-v10](../flight_controller/cyberx_v10.md) (PX4 Doc Overview page)
|
||||
- [CyberCraft International Limited](https://int.woocoo.vip/)
|
||||
@@ -128,6 +128,9 @@ PX4 compares:
|
||||
- The time needed to return, estimated along the current Return mode path (including climb, descent and landing), with the safety margin set by [RTL_TIME_FACTOR](../advanced_config/parameter_reference.md#RTL_TIME_FACTOR) and [RTL_TIME_MARGIN](../advanced_config/parameter_reference.md#RTL_TIME_MARGIN).
|
||||
- The remaining flight time of the battery with the least time left, if more than one is connected.
|
||||
|
||||
With the [battery-aware home priority return type](../flight_modes/return.md#rtl_type_6) (`RTL_TYPE=6`), PX4 uses the lower of the available return time estimates for home and the closest eligible rally point.
|
||||
The failsafe engages when the remaining battery time reaches that estimate or falls below it.
|
||||
|
||||
Once Return mode has been triggered, it is not cancelled if the estimate improves again on the way back.
|
||||
|
||||
The remaining flight time comes from the battery:
|
||||
@@ -210,13 +213,8 @@ The _Geofence Failsafe_ is triggered when the drone breaches a "virtual" perimet
|
||||
If the vehicle moves outside the radius or above the altitude the specified _Failsafe Action_ will trigger.
|
||||
|
||||
Note that the failsafe action will only trigger once the vehicle has already breached the geofence.
|
||||
If you have a strict no-fly zone for safety or legal reasons, set [GF_ACTION](../advanced_config/parameter_reference.md#GF_ACTION) to `Hold` and include a safety margin in your geofences.
|
||||
The margin should be at least:
|
||||
|
||||
- **Fixed-Wing**: The loiter radius [NAV_LOITER_RAD](../advanced_config/parameter_reference.md#NAV_LOITER_RAD).
|
||||
- **Multicopter**: The stopping distance (`v^2 / 2a` with `v`=[MPC_XY_VEL_MAX](../advanced_config/parameter_reference.md#MPC_XY_VEL_MAX) and `a`=[MPC_ACC_HOR_MAX](../advanced_config/parameter_reference.md#MPC_ACC_HOR_MAX)).
|
||||
|
||||
Use a margin above those nominal values to account for possible tailwind, position uncertainty, attitude tracking delay, etc.
|
||||
If a horizontal boundary must not be crossed, for safety or legal reasons, configure a [Contingency Geofence](#contingency-geofence).
|
||||
It triggers its own action, for example `Hold`, before the vehicle reaches the geofence.
|
||||
|
||||

|
||||
|
||||
@@ -233,7 +231,7 @@ The settings and underlying [geofence parameters](../advanced_config/parameter_r
|
||||
| Макс. висота | [GF_MAX_VER_DIST](../advanced_config/parameter_reference.md#GF_MAX_VER_DIST) | Висота циліндра геозони. Геозона вимкнена, якщо 0. |
|
||||
|
||||
:::info
|
||||
Setting `GF_ACTION` to terminate will kill the vehicle on violation of the fence.
|
||||
Setting `GF_ACTION` to terminate will kill the vehicle on a breach of the fence.
|
||||
Due to the inherent danger of this, this function is disabled using [CBRK_FLIGHTTERM](#CBRK_FLIGHTTERM), which needs to be reset to 0 to really shut down the system.
|
||||
:::
|
||||
|
||||
@@ -244,6 +242,88 @@ Due to the inherent danger of this, this function is disabled using [CBRK_FLIGHT
|
||||
| <a id="GF_SOURCE"></a>Geofence source | [GF_SOURCE](../advanced_config/parameter_reference.md#GF_SOURCE) | Встановіть, чи джерело позиції є оціненою глобальною позицією або прямо з пристрою GPS. |
|
||||
| <a id="CBRK_FLIGHTTERM"></a>Circuit breaker for flight termination | [CBRK_FLIGHTTERM](../advanced_config/parameter_reference.md#CBRK_FLIGHTTERM) | Увімкнення/вимкнення дії припинення польоту (за замовчуванням вимкнено). |
|
||||
|
||||
### Contingency Geofence
|
||||
|
||||
<Badge type="tip" text="main (PX4 v2.0)" />
|
||||
|
||||
A contingency geofence is a second boundary at a horizontal margin inside the geofence, with its own failsafe action.
|
||||
The vehicle reaches it first, so it can for example hold at the contingency geofence, and only terminate if it still crosses the geofence.
|
||||
|
||||
The two geofences are named after the volumes of the [SORA](http://jarus-rpas.org/wp-content/uploads/2024/06/SORA-v2.5-Main-Body-Release-JAR_doc_25.pdf) framework, which many countries use to approve complex operations:
|
||||
|
||||
- The **contingency geofence** is the horizontal boundary of the flight geography.
|
||||
A vehicle that leaves it carries out a contingency procedure, for example it holds or returns.
|
||||
- The **emergency geofence** is the geofence described above, with the action `GF_ACTION`.
|
||||
It is the outer boundary of the contingency volume: a vehicle that leaves it carries out an emergency procedure, typically flight termination.
|
||||
|
||||
Use a contingency geofence where the emergency geofence must not be crossed, or where its action has to be severe.
|
||||
|
||||
#### Contingency Geofence Setup
|
||||
|
||||
The contingency geofence is off while the margin is 0 (the default).
|
||||
|
||||
| Налаштування | Parameter | Опис |
|
||||
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||
| Contingency geofence action | [GF_CONT_ACTION](../advanced_config/parameter_reference.md#GF_CONT_ACTION) | None, Warning, Hold mode (default), Return mode, or Land mode. |
|
||||
| Contingency geofence margin | [GF_CONT_H_MARGIN](../advanced_config/parameter_reference.md#GF_CONT_H_MARGIN) | Horizontal distance from the emergency geofence. Disabled if 0. |
|
||||
|
||||
The margin applies to the maximum distance from Home ([GF_MAX_HOR_DIST](../advanced_config/parameter_reference.md#GF_MAX_HOR_DIST)) and to every inclusion and exclusion area of the [Geofence Plan](../flying/geofence.md#geofence-plan): the vehicle breaches the contingency geofence once it comes closer to one of them than `GF_CONT_H_MARGIN`.
|
||||
The maximum altitude ([GF_MAX_VER_DIST](../advanced_config/parameter_reference.md#GF_MAX_VER_DIST)) has no contingency geofence.
|
||||
|
||||
`GF_CONT_H_MARGIN` is only available on flight controllers that [check the mission flight path](#mission-feasibility-checks) against the geofence (not on `px4_fmu-v2`, for example).
|
||||
The others have no contingency geofence.
|
||||
|
||||

|
||||
|
||||
The margin has to leave the vehicle enough room to stop or turn around before the emergency geofence.
|
||||
It should be at least:
|
||||
|
||||
- Fixed-wing: The loiter radius ([NAV_LOITER_RAD](../advanced_config/parameter_reference.md#NAV_LOITER_RAD)).
|
||||
- Multicopter: The nominal stopping distance (`v^2 / 2a` with `v`=[MPC_XY_VEL_MAX](../advanced_config/parameter_reference.md#MPC_XY_VEL_MAX) and `a`=[MPC_ACC_HOR](../advanced_config/parameter_reference.md#MPC_ACC_HOR)).
|
||||
Allow additional distance for the acceleration ramp ([MPC_JERK_AUTO](../advanced_config/parameter_reference.md#MPC_JERK_AUTO)).
|
||||
|
||||
Use a margin above these nominal values to account for possible tailwind, position uncertainty, attitude tracking delay, etc.
|
||||
|
||||
:::info
|
||||
PX4 does not check the setup:
|
||||
|
||||
- The contingency geofence action should be the milder of the two.
|
||||
It has no `Terminate`, which is left to the emergency geofence.
|
||||
- If the margin leaves no room inside `GF_MAX_HOR_DIST` or inside an inclusion area, the contingency geofence is breached everywhere.
|
||||
- As for the emergency geofence, a mission that is already uploaded is not checked again when these parameters change, also not while it is being flown.
|
||||
It is checked again when Mission mode is activated, or when the mission or the Geofence Plan is uploaded.
|
||||
- A geofence plan is not rejected because of the contingency geofence, for example when Home or the vehicle lies within the margin.
|
||||
If the vehicle is already outside the contingency geofence when the plan is uploaded or a parameter changes, the action is triggered at once.
|
||||
- As for the emergency geofence, rally points are not checked against the contingency geofence.
|
||||
Keep them inside it: a vehicle that returns to a rally point within the margin triggers the contingency geofence action on the way there.
|
||||
|
||||
:::
|
||||
|
||||
#### Contingency Geofence Behaviour
|
||||
|
||||
When the vehicle breaches the contingency geofence:
|
||||
|
||||
- The contingency geofence action is triggered, in all flight modes.
|
||||
With `None` nothing is triggered and arming is not denied, as with `GF_ACTION` set to `None`.
|
||||
With `Hold` the vehicle holds where it breached the contingency geofence, in the same way as after an emergency geofence breach (a fixed-wing vehicle loiters around that position).
|
||||
A vehicle that was already loitering when it breached keeps its loiter centre.
|
||||
Switch to another mode to take over.
|
||||
The action is triggered again the next time the vehicle breaches the contingency geofence.
|
||||
- Arming is denied.
|
||||
- If the vehicle breaches the emergency geofence as well, the more severe of the two actions is taken, as for other failsafes.
|
||||
This also applies after you have taken over.
|
||||
If both actions are `Hold`, a vehicle that is still holding after the contingency geofence breach keeps that hold position.
|
||||
Example: a fixed-wing vehicle loiters where it breached the contingency geofence, and its loiter circle crosses the emergency geofence.
|
||||
Holding again where it crosses would only move the loiter circle further out.
|
||||
|
||||
PX4 also keeps planned flight inside the contingency geofence:
|
||||
|
||||
- A mission is rejected if one of its positions, a leg between positions or a fixed-wing loiter circle comes closer to the emergency geofence than the margin.
|
||||
- The target of a _Go to location_ ([reposition](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_REPOSITION)) or of an altitude change, and the centre of a fixed-wing orbit or figure-eight, is refused if it lies outside the contingency geofence (unless the action is `None` or `Warning`).
|
||||
As for the emergency geofence, only the target is checked, not the path to it or the loiter circle around it.
|
||||
An altitude change keeps the vehicle's position, so it is refused while the vehicle is outside the contingency geofence: send the vehicle back inside first.
|
||||
- [Return mode](../flight_modes/return.md#geofence_awareness) plans its route around the Geofence Plan with the margin added.
|
||||
|
||||
## Position Estimation Failsafes
|
||||
|
||||
This section describes failsafes related to the quality of the vehicle's position estimate.
|
||||
|
||||
@@ -11,6 +11,7 @@ PX4 використовує [MAVLink](https://mavlink.io/en/) протокол
|
||||
- [Телеметрія FrSky Telemetry](../peripherals/frsky_telemetry.md) - Телеметрия на вашому (FRSky) RC Receiver
|
||||
- [TBS Crossfire (Телеметрія CRSF)](../telemetry/crsf_telemetry.md) - Телеметрика на вашому (TBS Crossfire) RC Receiver
|
||||
- [Супутниковий зв’язок (Iridium/RockBlock)](../advanced_features/satcom_roadblock.md) — Зв’язок із високою затримкою через супутник
|
||||
- [IP-Based Radios](ip_based_radios.md) — Network (IP) radio links
|
||||
|
||||
## Дивіться також
|
||||
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
# IP-Based Radios
|
||||
|
||||
IP-based radios provide wireless communication between networked devices, such as PX4 [flight controllers](../flight_controller/index.md), [companion computers](../companion_computer/index.md), and [ground control stations](../getting_started/px4_basic_concepts.md#ground-control-stations) (GCS).
|
||||
|
||||
IP-based radios extend an Ethernet network over a radio link: devices connected to the vehicle's radio and the ground radio are on the same IP network, as if joined by an Ethernet cable.
|
||||
|
||||

|
||||
|
||||
This has two advantages:
|
||||
|
||||
- Many communication streams, such as [MAVLink](../mavlink/index.md) telemetry and video, can share the link within the available [bandwidth](https://en.wikipedia.org/wiki/Bandwidth_(computing)).
|
||||
- Some radios support [mesh networking](https://en.wikipedia.org/wiki/Mesh_networking), which allows many vehicles and GCSs to connect to each other.
|
||||
|
||||
## Radios Used with PX4
|
||||
|
||||
PX4 should work with any IP-based radio that carries Ethernet traffic transparently between the vehicle and the ground.
|
||||
|
||||
These radios are known to have been used with PX4:
|
||||
|
||||
- [Doodle Labs](https://doodlelabs.com/) Smart Radios (used with PX4 v1.16.0 and _QGroundControl_ v5.0.8).
|
||||
Setups that connect through a companion computer are covered in [Platform Integration Guide (VOXL and Skynode)](https://kb.doodlelabs.com/platform-integration-guide-voxl-and-skynode) (Doodle Labs) and [Doodle Labs User Guide](https://docs.modalai.com/doodle-labs-user-guide/) (ModalAI).
|
||||
- [Microhard](https://www.microhardcorp.com/products.php) IP-based modules, such as the one used in the [AIRLink](../flight_controller/airlink.md) telemetry set.
|
||||
Microhard Pico serial radios are covered in [Microhard Serial Telemetry Radios](../telemetry/microhard_serial.md).
|
||||
|
||||
PX4 does not yet have setup guides for these radios.
|
||||
If you have set up an IP-based radio with PX4, please help by [adding a page](../contribute/docs.md) that describes the configuration you used.
|
||||
|
||||
## Налаштування PX4
|
||||
|
||||
PX4 setup is the same for all IP-based radios.
|
||||
The radios themselves are configured using each vendor's own tools.
|
||||
|
||||
1. Connect the vehicle-side radio to the flight controller's Ethernet port.
|
||||
See the [list of supported PX4 flight controllers](../advanced_config/ethernet_setup.md#supported-flight-controllers).
|
||||
2. Connect the GCS to the ground-side radio.
|
||||
3. Configure the radio link according to the manufacturer's instructions.
|
||||
Each device on the network, usually including the radios, has its own IP address.
|
||||
Make sure that no two devices share the same IP address, and that all devices are on the same [subnet](https://en.wikipedia.org/wiki/Subnet).
|
||||
4. [Configure Ethernet on PX4](../advanced_config/ethernet_setup.md) and [configure _QGroundControl_](../advanced_config/ethernet_setup.md#qgroundcontrol-setup-example) to send MAVLink over the network.
|
||||
5. If several vehicles share the network, give each vehicle a unique System ID ([MAV_SYS_ID](../advanced_config/parameter_reference.md#MAV_SYS_ID)).
|
||||
|
||||
:::tip
|
||||
If your flight controller does not have an Ethernet port, connect the radio to a [companion computer](../companion_computer/index.md), which routes MAVLink between the flight controller and the network.
|
||||
:::
|
||||
|
||||
## Дивіться також
|
||||
|
||||
- [Telemetry Radios](../telemetry/index.md)
|
||||
- [Ethernet Setup](../advanced_config/ethernet_setup.md)
|
||||
@@ -137,6 +137,17 @@ The injection goes through the same path as the console/MAVLink commands, so for
|
||||
A `SYS_FAIL_RC_INST` mask addressing several motors only takes effect for `wrong`, the undetected failure.
|
||||
In SIH, `SYS_FAIL_RC_MODE` = `2` injects `motor stuck`, which does not need `CA_FAILURE_MODE`.
|
||||
|
||||
Losing the RC link clears the switch-injected failure.
|
||||
|
||||
### Reset Switch
|
||||
|
||||
[SYS_FAIL_RC_RST](../advanced_config/parameter_reference.md#SYS_FAIL_RC_RST) selects an aux input (`1`–`6` = AUX1–AUX6, `0` = disabled) whose every position change clears all active failures, including those injected over MAVLink or the console.
|
||||
Any 2- or 3-position switch or momentary button works; each reset reports `Cleared: all failures`.
|
||||
|
||||
- Changes while the RC link is lost, or a switch already on at boot, do not reset.
|
||||
- A `SYS_FAIL_RC_SRC` switch still on after a reset must be cycled to inject again.
|
||||
- It works alongside the `SYS_FAIL_RC_SRC` switch but must use a different aux input; if both are set to the same input, the reset switch is disabled.
|
||||
|
||||
## MAVSDK відлагоджувальний плагін
|
||||
|
||||
The [MAVSDK failure plugin](https://mavsdk.mavlink.io/main/en/cpp/api_reference/classmavsdk_1_1_failure.html) can be used to programmatically inject failures.
|
||||
|
||||
@@ -63,6 +63,7 @@ The debug port location and pinouts for a subset of current autopilots are linke
|
||||
| [S-Vehicle E2](../flight_controller/svehicle_e2.md#debug-port) | [Pixhawk Debug Mini] |
|
||||
| [AP-H743-R1](../flight_controller/x-mav_ap-h743r1.md#debug-port) | 4-pin JST GH (SWD only) |
|
||||
| [mRo Control Zero F7](../flight_controller/mro_control_zero_f7.md#debug_port) | |
|
||||
| [CyberCraft CyberX-v10](../flight_controller/cyberx_v10.md#debug_port) | 6-pin JST GH (SWD only) |
|
||||
|
||||
## Pixhawk Connector Standard Debug Ports {#pixhawk-standard-debug-ports}
|
||||
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
The [CubePilot Here4](https://docs.cubepilot.org/here-4/here-4-manual) is a dual-band (L1/L5) [RTK GNSS](../gps_compass/rtk_gps.md) module that connects to the flight controller via [DroneCAN](../dronecan/index.md).
|
||||
It integrates a u-blox NEO-F9P receiver, an RM3100 compass, a barometer, an IMU and RGB LEDs.
|
||||
|
||||

|
||||
|
||||
:::warning
|
||||
CubePilot has issued safety service bulletins for the Here4, including a [mandatory bootloader update before further flight](https://docs.cubepilot.org/service-bulletins-and-critical-notices/safety-service-bulletins/sb_0000010-mandatory-here4-bootloader-update-before-further-flight) (SB_0000010).
|
||||
Check the bulletins before flying (see [Firmware](#firmware)).
|
||||
Check the bulletins before flying (see [Receiver Configuration](#receiver_configuration) for the firmware and bootloader update).
|
||||
:::
|
||||
|
||||
## Variants
|
||||
@@ -13,82 +15,116 @@ Check the bulletins before flying (see [Firmware](#firmware)).
|
||||
- [Here4 Base](https://docs.cubepilot.org/here-4/here-4-base): RTK base station with an external antenna connector, for use with _QGroundControl_.
|
||||
- [Here4 Blue](https://docs.cubepilot.org/here-4/here-4-blue): Here4 with integrated Bluetooth Remote ID (CubeID).
|
||||
|
||||
## Де купити
|
||||
|
||||
- [CubePilot Resellers](https://cubepilot.org/#/reseller/list)
|
||||
|
||||
## Характеристики обладнання
|
||||
## Specifications {#specifications}
|
||||
|
||||
From the [CubePilot Here4 manual](https://docs.cubepilot.org/here-4/here-4-manual):
|
||||
|
||||
- GNSS receiver: u-blox NEO-F9P, dual-band (L1/L5)
|
||||
- Constellations: GPS, GLONASS, Galileo, BeiDou, QZSS
|
||||
- Processor: STM32H757, running CubePilot's AP_Periph based firmware
|
||||
- Compass: RM3100
|
||||
- IMU: ICM42688
|
||||
- Барометр: MS5611
|
||||
- Interface: DroneCAN, two CAN ports (only one supported by the current firmware, see [Wiring](#wiring))
|
||||
- Working temperature: -40 °C to +85 °C
|
||||
- Size: 16 x 68 mm
|
||||
- Weight: 60 g (with cable)
|
||||
- **Receiver:** u-blox NEO-F9P
|
||||
- **Constellations:** GPS, GLONASS, Galileo, BeiDou, QZSS, SBAS
|
||||
- **Bands:** L1/L5
|
||||
- **Update rate:** Up to 20Hz (RTK)
|
||||
- **Position accuracy:** 0.01m + 1ppm CEP (RTK)
|
||||
- **Compass:** RM3100
|
||||
- **Barometer:** MS5611
|
||||
- **IMU:** ICM42688
|
||||
- **Processor:** STM32H757, running CubePilot's AP_Periph-based firmware
|
||||
- **Interface:** DroneCAN, two CAN ports (only one supported by the current firmware; see [Wiring](#wiring))
|
||||
- **Input voltage:** 5V (CAN connector)
|
||||
- **Connector:** JST-GH 4-pin
|
||||
- **Operating temperature:** -40°C to +85°C
|
||||
- **Dimensions:** 16 x 68mm
|
||||
- **Weight:** 60g (with cable)
|
||||
|
||||
## Налаштування програмного забезпечення
|
||||
## Where to Buy {#store}
|
||||
|
||||
### Підключення
|
||||
- [CubePilot Resellers](https://cubepilot.org/#/reseller/list)
|
||||
|
||||
## Hardware Setup {#hardware_setup}
|
||||
|
||||
### Mounting {#mounting}
|
||||
|
||||
Mount the module as far away from other electronics as possible, with its direction marker pointing towards the front of the vehicle.
|
||||
For more information, see [Mounting a Compass](../assembly/mount_gps_compass.md).
|
||||
|
||||
### Pinouts {#pinouts}
|
||||
|
||||
CAN connector, from the [Here4 manual](https://docs.cubepilot.org/here-4/here-4-manual):
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | ------ |
|
||||
| 1 | 5V |
|
||||
| 2 | CAN_H |
|
||||
| 3 | CAN_L |
|
||||
| 4 | GND |
|
||||
|
||||
### Wiring {#wiring}
|
||||
|
||||
Connect the Here4 to the `CAN1` or `CAN2` port of the flight controller using the supplied 4-pin CAN cable.
|
||||
The Here4 is powered from the CAN port.
|
||||
If the Here4 is the last node on the bus, enable its termination resistor (see [PX4 Configuration](#px4_configuration)).
|
||||
For more information, refer to the [CAN Wiring](../can/index.md#wiring) instructions.
|
||||
|
||||
:::warning
|
||||
The Here4 has two CAN ports, but the current firmware only supports one of them: the port whose cable has green, blue, white and grey wires.
|
||||
If the other port is used, the Here4 does not appear on the bus.
|
||||
`uavcan status` then reports TX frames and an equally growing number of HW errors, with no RX frames and no online nodes.
|
||||
If the other port is used, the Here4 does not appear on the bus (see [Testing](#testing)).
|
||||
:::
|
||||
|
||||
### Встановлення
|
||||
## PX4 Configuration {#px4_configuration}
|
||||
|
||||
Mount the module as far away from other electronics as possible, with its direction marker pointing towards the front of the vehicle.
|
||||
1. Set the PX4 parameters:
|
||||
- [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE) to `2` (`Sensors Automatic Config`), or `3` if you also use [DroneCAN ESCs](../dronecan/escs.md).
|
||||
- [UAVCAN_PUB_RTCM](../advanced_config/parameter_reference.md#UAVCAN_PUB_RTCM) to `1` for RTK, so that PX4 forwards RTCM corrections to the Here4.
|
||||
See [DroneCAN > RTK GPS](../dronecan/index.md#rtk-gps) and [RTK GNSS](../gps_compass/rtk_gps.md#positioning-setup-configuration) for the base station setup.
|
||||
- [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO) to `1` to also use the Here4 barometer.
|
||||
|
||||
## Конфігурація PX4
|
||||
2. Power cycle the vehicle.
|
||||
|
||||
1. Set [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE) to `2` (_Sensors Automatic Config_), or `3` if you also use [DroneCAN ESCs](../dronecan/escs.md), and reboot.
|
||||
2. The Here4 is assigned a node ID via dynamic node allocation, and its GNSS and compass are used without further configuration.
|
||||
3. To also use the Here4 barometer:
|
||||
- Enable [UAVCAN_SUB_BARO](../advanced_config/parameter_reference.md#UAVCAN_SUB_BARO) in PX4.
|
||||
- Enable the barometer on the Here4 itself, where it is disabled by default.
|
||||
Set its `BARO_ENABLE` parameter to `1` and save it to the node, either in the _QGroundControl_ parameters of the Here4 component, or from the [MAVLink Shell](../debug/mavlink_shell.md):
|
||||
The Here4 is then assigned a node ID via dynamic node allocation, and its GNSS and compass are used without further configuration.
|
||||
|
||||
```sh
|
||||
uavcan param set <node-id> BARO_ENABLE 1
|
||||
uavcan param save <node-id>
|
||||
```
|
||||
3. Set the parameters on the Here4 itself, if needed:
|
||||
- `CAN_TERMINATOR` to `1` if the Here4 is the last node on the CAN bus, to enable its termination resistor (off by default).
|
||||
- `BARO_ENABLE` to `1` to use the barometer (disabled by default).
|
||||
|
||||
Then power cycle the Here4.
|
||||
Set and save them either in the _QGroundControl_ parameters of the Here4 component, or from the [MAVLink Shell](../debug/mavlink_shell.md) (the node ID is shown by `uavcan status`):
|
||||
|
||||
You can check that everything is detected with `uavcan status`.
|
||||
The Here4 should be listed under _Online nodes_ with mode `OPERAT`, and the `gnss`, `mag` and (if enabled) `baro` sensors should each show a channel bound to its node ID.
|
||||
```sh
|
||||
uavcan param set <node-id> CAN_TERMINATOR 1
|
||||
uavcan param set <node-id> BARO_ENABLE 1
|
||||
uavcan param save <node-id>
|
||||
```
|
||||
|
||||
Then power cycle the vehicle again.
|
||||
|
||||
If the Here4 is not positioned at the vehicle centre of gravity, set its offset using [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ).
|
||||
|
||||
DroneCAN configuration in PX4 is explained in more detail in [DroneCAN > PX4 Configuration](../dronecan/index.md#px4-configuration).
|
||||
For RTK setup see [RTK GNSS](../gps_compass/rtk_gps.md#positioning-setup-configuration).
|
||||
|
||||
## Прошивка
|
||||
## Testing {#testing}
|
||||
|
||||
Run `uavcan status` in the [MAVLink Shell](../debug/mavlink_shell.md).
|
||||
The Here4 should be listed under `Online nodes` with mode `OPERAT`, and the `gnss`, `mag` and (if enabled) `baro` sensors should each show a channel bound to the Here4 node ID.
|
||||
If the Here4 is connected by its unsupported CAN port, it is not listed, and the status shows TX frames and an equally growing number of HW errors, with no RX frames.
|
||||
|
||||
To check RTK, run `listener sensor_gnss`: `fix_type` is `5` for an RTK float solution and `6` for RTK fixed.
|
||||
|
||||
## Receiver Configuration {#receiver_configuration}
|
||||
|
||||
CubePilot publishes the Here4 firmware and release notes at [GNSSPeriph-release](https://github.com/CubePilot/GNSSPeriph-release/releases).
|
||||
|
||||
PX4 can update the Here4 from the SD card, as described in [DroneCAN > Firmware Update](../dronecan/index.md#firmware-update):
|
||||
|
||||
1. Copy `Here4_FW.bin` from the release archive to the SD card.
|
||||
1. Copy `Here4_FW.bin` from the release archive to the root of the SD card.
|
||||
2. Reboot with the Here4 connected.
|
||||
PX4 moves the file to `/fs/microsd/ufw/1043.bin` (1043 is the Here4 board ID) and updates the Here4 if its firmware differs.
|
||||
During the update `uavcan status` shows the Here4 with mode `SW_UPD`, and then `OPERAT` again once it has completed.
|
||||
|
||||
You can check the installed version with `listener device_information`: `firmware_version` shows the major and minor version followed by the git hash of the build in decimal (DroneCAN does not report the patch version).
|
||||
You can check the installed version with `listener device_information`, in the message whose `name` is `com.cubepilot.here4`: `firmware_version` shows the major and minor version followed by the git hash of the build in decimal (DroneCAN does not report the patch version).
|
||||
|
||||
If the Here4 stays in `SW_UPD` without completing, remove the file from `/fs/microsd/ufw/` and update the Here4 with CubePilot's tools instead (see the bulletin below).
|
||||
|
||||
According to [SB_0000010](https://docs.cubepilot.org/service-bulletins-and-critical-notices/safety-service-bulletins/sb_0000010-mandatory-here4-bootloader-update-before-further-flight), a Here4 with the updated bootloader breathes blue at boot.
|
||||
If yours does not, follow the bulletin: update the firmware, then set the Here4 parameter `FLASH_BOOTLOADER` to `1` to update the bootloader.
|
||||
|
||||
## Дивіться також
|
||||
## Further Information {#further_information}
|
||||
|
||||
- [CubePilot Here4 Manual](https://docs.cubepilot.org/here-4/here-4-manual) (docs.cubepilot.org)
|
||||
@@ -49,8 +49,8 @@ Visit [3DR](https://3dr.wiki/autopilots/control-n1/) for available carrier board
|
||||
## Збірка прошивки
|
||||
|
||||
:::tip
|
||||
Most users will not need to build this firmware!
|
||||
It is pre-built and automatically installed by _QGroundControl_ when appropriate hardware is connected (PX4 v1.18 and later).
|
||||
Most users will not need to build this firmware (from PX4 v1.18).
|
||||
It is pre-built and automatically installed by _QGroundControl_ when appropriate hardware is connected.
|
||||
:::
|
||||
|
||||
To [build PX4](../dev_setup/building_px4.md) for this target:
|
||||
|
||||
@@ -177,8 +177,8 @@ Analog/ADC battery monitoring is also supported.
|
||||
## Збірка прошивки
|
||||
|
||||
:::tip
|
||||
Most users will not need to build this firmware from PX4 v2.0.
|
||||
It will be pre-built and automatically installed by _QGroundControl_ when appropriate hardware is connected.
|
||||
Most users will not need to build this firmware (from PX4 v2.0).
|
||||
It is pre-built and automatically installed by _QGroundControl_ when appropriate hardware is connected.
|
||||
:::
|
||||
|
||||
To [build PX4](../dev_setup/building_px4.md) for this target:
|
||||
|
||||
@@ -32,9 +32,11 @@ This flight controller is [manufacturer supported](../flight_controller/autopilo
|
||||
- ARKV6X: 2× [InvenSense ICM-42688-P](https://www.invensense.tdk.com/en-us/products/6-axis/icm-42688-p) (SPI2, SPI3), [InvenSense IIM-42652](https://www.invensense.tdk.com/en-us/products/6-axis/iim-42652) (industrial, SPI1)
|
||||
- ARKV6X Extended Range: 3× [InvenSense IIM-42653](https://www.invensense.tdk.com/en-us/products/6-axis/iim-42653) (SPI1, SPI2, SPI3), for a 4000 degrees per second (dps) gyroscope and 32 g accelerometer range.
|
||||
The Extended Range needs PX4 v1.14 or later.
|
||||
- ARKV6X-32X: 3× [ST LSM6DSV32X](https://www.st.com/en/mems-and-sensors/lsm6dsv32x.html) (SPI1, SPI2, SPI3), with the same 4000 dps gyroscope and 32 g accelerometer range as the Extended Range.
|
||||
The ARKV6X-32X needs PX4 v1.18 or later.
|
||||
- **Barometer:** [Bosch BMP390](https://www.bosch-sensortec.com/en/products/environmental-sensors/pressure-sensors/bmp390/) (I2C4)
|
||||
- **Magnetometer:** [Bosch BMM150](https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmm150-ds001.pdf) (I2C4)
|
||||
- **Heater:** 1 W, keeps the sensors warm in extreme conditions. It regulates on the temperature of the IIM-42652 (IIM-42653 on the Extended Range).
|
||||
- **Heater:** 1 W, keeps the sensors warm in extreme conditions. It regulates on the temperature of the IMU on SPI1.
|
||||
|
||||
### Interfaces {#interfaces}
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ This category includes boards that are not fully compliant with the pixhawk stan
|
||||
- [CubePilot Cube Orange+](../flight_controller/cubepilot_cube_orangeplus.md)
|
||||
- [CubePilot Cube Orange](../flight_controller/cubepilot_cube_orange.md)
|
||||
- [CubePilot Cube Yellow](../flight_controller/cubepilot_cube_yellow.md)
|
||||
- [CyberCraft CyberX-v10](../flight_controller/cyberx_v10.md)
|
||||
- [Gear Up AirBrainH743](../flight_controller/gearup_airbrainh743.md)
|
||||
- [Holybro Kakute H7v2](../flight_controller/kakuteh7v2.md)
|
||||
- [Holybro Kakute H7mini](../flight_controller/kakuteh7mini.md)
|
||||
@@ -57,6 +58,7 @@ This category includes boards that are not fully compliant with the pixhawk stan
|
||||
- [Sky-Drones AIRLink](../flight_controller/airlink.md)
|
||||
- [SPRacing SPRacingH7EXTREME](../flight_controller/spracingh7extreme.md)
|
||||
- [Svehicle E2](../flight_controller/svehicle_e2.md)
|
||||
- [Syro V6X](../flight_controller/syro_v6x.md)
|
||||
- [ThePeach FCC-K1](../flight_controller/thepeach_k1.md)
|
||||
- [ThePeach FCC-R1](../flight_controller/thepeach_r1.md)
|
||||
- [X-MAV AP-H743-R1](../flight_controller/x-mav_ap-h743r1.md)
|
||||
|
||||
@@ -40,7 +40,7 @@ This flight controller is [manufacturer supported](../flight_controller/autopilo
|
||||
|
||||
## Де купити
|
||||
|
||||
Order from [CORVON](https://www.corvon.tech/en).
|
||||
Order from [CORVON](https://www.corvon.tech/en/products/corvon-h743-flight-controller-30x30-fc-for-drones-with-dual-imu-compass-barometer-stm32h743-7-uart-10-pwm-supports-betaflight-inav-ardupilot-px4-usb-c-blackbox-logging-5v-9v-bec-outputs).
|
||||
|
||||
## Physical / Mechanical
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ This flight controller is [manufacturer supported](../flight_controller/autopilo
|
||||
|
||||
## Де купити
|
||||
|
||||
Order from [CORVON](https://www.corvon.tech/en).
|
||||
Order from [CORVON](https://www.corvon.tech/en/products/h743v2-flight-controller).
|
||||
|
||||
## Physical / Mechanical
|
||||
|
||||
|
||||
@@ -0,0 +1,289 @@
|
||||
# CyberCraft CyberX-v10
|
||||
|
||||
<Badge type="tip" text="main (PX4 v2.0)" />
|
||||
|
||||
:::warning
|
||||
PX4 не розробляє цей (або будь-який інший) автопілот.
|
||||
Contact the [manufacturer](https://int.woocoo.vip/) for hardware support or compliance issues.
|
||||
:::
|
||||
|
||||
The [CyberX-v10](https://int.woocoo.vip/detail?goodsId=298&name=CyberX-v10) is an advanced autopilot manufactured by [CyberCraft International Limited](https://int.woocoo.vip/).
|
||||
|
||||
The autopilot is recommended for commercial system integration, but is also suitable for academic research and other applications.
|
||||
It brings you ultimate performance, stability, and reliability in every aspect.
|
||||
|
||||

|
||||
|
||||
:::info
|
||||
This flight controller is [manufacturer supported](../flight_controller/autopilot_manufacturer_supported.md).
|
||||
:::
|
||||
|
||||
## Specifications {#specifications}
|
||||
|
||||
### Processor {#processor}
|
||||
|
||||
- **Main FMU processor:** [STM32H743IIK6](https://www.st.com/en/microcontrollers-microprocessors/stm32h743ii.html) (32 Bit Arm® Cortex®-M7, 480MHz, 2MB Flash, 1MB RAM)
|
||||
- **IO processor:** [STM32F103](https://www.st.com/en/microcontrollers-microprocessors/stm32f103.html) (PX4IO v2; 32 Bit Arm® Cortex®-M3, 24MHz, 128KB Flash, 20KB SRAM)
|
||||
|
||||
### Sensors {#sensors}
|
||||
|
||||
- **IMU:** [ICM-20689](https://product.tdk.cn/zh/search/sensor/mortion-inertial/imu/info?part_no=ICM-20689) (SPI1), [BMI088](https://www.bosch-sensortec.com/en/products/motion-sensors/imus/bmi088) (SPI3), [ICM-42688-P](https://www.invensense.tdk.com/en-us/products/6-axis/icm-42688-p) (SPI4)
|
||||
- **Barometer:** [BMP581](https://www.bosch-sensortec.com/en/products/environmental-sensors/pressure-sensors/bmp581) (SPI2), [ICP-20100](https://www.invensense.tdk.com/en-us/products/smartindustrial/icp-20100) (I2C4)
|
||||
- **Magnetometer:** [IST8310](https://www.isentek.com/en/products/oo-MMAw5N5) (I2C3)
|
||||
|
||||
### Interfaces {#interfaces}
|
||||
|
||||
- **PWM outputs:** 16 (8 IO + 8 FMU)
|
||||
- **Serial ports:** 6 (`GPS1`, `GPS2`, `TEL1`, `TEL2`, `Uart5`, `Uart8`), `TEL1` and `TEL2` with flow control
|
||||
- **Connectors:** JST GH (1.25mm pitch)
|
||||
- **I2C buses:** 4 (I2C1 and I2C2 on the `GPS1` and `GPS2` ports; I2C3 and I2C4 shared between on-board sensors and the `I2C3` and `I2C4` ports; I2C3 also on `PWR2`)
|
||||
- **SPI buses:** 6, of which SPI6 is external with 2 chip select lines
|
||||
- **CAN buses:** 2 (`CAN1`, `CAN2`)
|
||||
- **Ethernet:** 100Mbps, with transformer
|
||||
- **USB:** Type-C
|
||||
- **RC input:** SBUS/PPM on `S.Bin` or `RCin`, CRSF/GHST on `Uart8`
|
||||
- **RSSI input:** 1 analog
|
||||
- **Analog inputs:** 2 on the `ADC` port (3.3V and 6.6V)
|
||||
- **Power inputs:** 1 (`PWR1`, `PWR2` or both, from the same power module)
|
||||
- **Parameter storage:** FRAM (FM25V02A) on SPI5
|
||||
- **SD card:** microSD card slot
|
||||
- **Debug port:** 1 (`DEBUG`, FMU and IO debug)
|
||||
|
||||
### Electrical Data {#electrical_data}
|
||||
|
||||
- **Input voltage:** 4.75V to 5.5V (`PWR1`, `PWR2`)
|
||||
- **Current draw:** 500mA
|
||||
- **USB power input:** 4.75V to 5.25V
|
||||
- **Power monitoring:** 1 analog (`PWR1`, on by default) and 1 digital (`PWR2`, INA228)
|
||||
- **Output current limits:** `TEL1` and `TEL2` combined 1.5A; all other ports combined 1.5A
|
||||
|
||||
### Mechanical Data {#mechanical_data}
|
||||
|
||||
- **Dimensions:** 83 x 57 x 15.1mm
|
||||
- **Weight:** 72.4g
|
||||
|
||||
## Where to Buy {#store}
|
||||
|
||||
Order from [CyberCraft International Limited](https://int.woocoo.vip/detail?goodsId=298&name=CyberX-v10).
|
||||
|
||||
## Pinouts {#pinouts}
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### Connectors {#connectors}
|
||||
|
||||

|
||||
|
||||
### Block Diagram {#block_diagram}
|
||||
|
||||

|
||||
|
||||
## Power {#power}
|
||||
|
||||
:::warning
|
||||
The PWM outputs (`M1` to `M16`) are not powered by the `PWR1` or `PWR2` ports.
|
||||
The servo rail must be [separately powered](../peripherals/pwm_escs_and_servo.md) if it needs to power servos or other hardware.
|
||||
:::
|
||||
|
||||
**Voltage monitoring**
|
||||
|
||||
The board has connectors for two power monitors.
|
||||
|
||||
- `PWR1` -- ADC (6-pin)
|
||||
- `PWR2` -- I2C (6-pin)
|
||||
|
||||
The board is configured by default for an analog power monitor on `PWR1`.
|
||||
I2C power monitors on `PWR2`, such as the INA228 (address 0x40), INA226 or INA238, are not started by default and must be started manually.
|
||||
|
||||
The power module supplied with the CyberX-v10 has both an analog interface and a digital I2C interface.
|
||||
Connect the analog interface to `PWR1` and the I2C interface to `PWR2`.
|
||||
|
||||
See [Battery Estimation Tuning (Power Setup)](../config/battery.md) for how to configure the battery and power monitor.
|
||||
|
||||
## Voltage Ratings {#voltage_ratings}
|
||||
|
||||
The CyberX-v10 has the following power configuration:
|
||||
|
||||
- `PWR1`: Two ADC channels for monitoring the main power input voltage and current.
|
||||
- `PWR2`: One I2C power monitor on the same power input, providing additional voltage/current measurements.
|
||||
- `USB`: USB power is provided for debugging and development purposes only.
|
||||
|
||||
:::warning
|
||||
`PWR1` and `PWR2` monitor the same power source, and must be connected to the same power module.
|
||||
Do not connect two different power modules.
|
||||
:::
|
||||
|
||||
**Normal Operation Maximum Ratings**
|
||||
|
||||
За таких умов всі джерела живлення будуть використовуватися в цьому порядку для живлення системи:
|
||||
|
||||
1. `PWR1`/`PWR2` input (4.75V to 5.5V)
|
||||
2. `USB` input (4.75V to 5.25V)
|
||||
|
||||
**Absolute Maximum Ratings**
|
||||
|
||||
За таких умов система не буде витрачати жодної потужності (не буде працювати), але залишиться неушкодженою.
|
||||
|
||||
1. `PWR1`/`PWR2` input (0V to 6V undamaged)
|
||||
2. `USB` input (0V to 6V undamaged)
|
||||
3. Servo rail input: `+` (VCC) pins of `M1` to `M16` (0V to 6V undamaged)
|
||||
|
||||
## PWM Outputs {#pwm_outputs}
|
||||
|
||||
The CyberX-v10 supports up to 16 PWM outputs.
|
||||
The first 8 outputs (labelled `M1` to `M8`) are controlled by the dedicated STM32F103 IO processor.
|
||||
The remaining 8 outputs (labelled `M9` to `M16`) are the "auxiliary" outputs directly attached to the STM32H743 FMU.
|
||||
|
||||
All 16 outputs support normal PWM.
|
||||
The FMU outputs `M9` to `M14` support [DShot](../peripherals/dshot.md), including [Bidirectional DShot](../peripherals/dshot.md#bidirectional-dshot-telemetry).
|
||||
The IO outputs `M1` to `M8`, and the FMU outputs `M15` and `M16`, do not support DShot.
|
||||
|
||||
The 8 IO PWM outputs are in 3 groups:
|
||||
|
||||
- Outputs `M1` and `M2` in group 1
|
||||
- Outputs `M3` and `M4` in group 2
|
||||
- Outputs `M5`, `M6`, `M7` and `M8` in group 3
|
||||
|
||||
The 8 FMU PWM outputs are in 3 groups:
|
||||
|
||||
- Outputs `M9`, `M10`, `M11` and `M12` in group 1
|
||||
- Outputs `M13` and `M14` in group 2
|
||||
- Outputs `M15` and `M16` in group 3
|
||||
|
||||
Channels within the same group need to use the same output rate.
|
||||
If any channel in a group uses DShot then all channels in the group need to use DShot.
|
||||
|
||||
## Ethernet {#ethernet}
|
||||
|
||||
The board has a 100Mbps Ethernet port with an on-board transformer, on the 4-pin `ETH` connector (TX+, TX-, RX+, RX-).
|
||||
|
||||
MAVLink is enabled on Ethernet by default ([MAV_2_CONFIG](../advanced_config/parameter_reference.md#MAV_2_CONFIG) is set to `1000`), broadcasting on UDP port 14550.
|
||||
See [PX4 Ethernet Setup](../advanced_config/ethernet_setup.md) for how to configure the network.
|
||||
|
||||
## SD Card (Optional) {#sd_card}
|
||||
|
||||
The board has a microSD card slot, on the side of the case beside the `USB` and `DEBUG` ports.
|
||||
SD cards are used for [log files and for storing missions](../getting_started/px4_basic_concepts.md#sd-cards-removable-memory).
|
||||
|
||||
## Serial Port Mapping {#serial_port_mapping}
|
||||
|
||||
| UART | Пристрій | Порт | Flow Control |
|
||||
| ------ | ---------- | ------------------ | ------------ |
|
||||
| USART1 | /dev/ttyS0 | `GPS1` | Ні |
|
||||
| USART2 | /dev/ttyS1 | `TEL1` | Так |
|
||||
| USART3 | /dev/ttyS2 | `TEL2` | Так |
|
||||
| UART4 | /dev/ttyS3 | `GPS2` | Ні |
|
||||
| UART5 | /dev/ttyS4 | `Uart5` (EXT2) | Ні |
|
||||
| USART6 | /dev/ttyS5 | PX4IO | Ні |
|
||||
| UART7 | /dev/ttyS6 | Debug Console | Ні |
|
||||
| UART8 | /dev/ttyS7 | `Uart8` (RC input) | Ні |
|
||||
|
||||
:::info
|
||||
In the product, UART7 does not have an external connector, but it exists on the circuit board for debugging purposes.
|
||||
:::
|
||||
|
||||
:::info
|
||||
The bootloader enables only UART5, so `Uart5` is the only serial port that [px4_uploader.py](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/px4_uploader.py) can flash firmware over.
|
||||
:::
|
||||
|
||||
## Assembly {#assembly}
|
||||
|
||||
The [CyberX-v10 Wiring Quick Start](../assembly/quick_start_cyberx_v10.md) provides instructions on how to assemble required/important peripherals including GPS, Power Module etc.
|
||||
|
||||
### Wiring Diagram {#wiring_diagram}
|
||||
|
||||

|
||||
|
||||
### Radio Control {#radio_control}
|
||||
|
||||
A Radio Control (RC) system is required if you want to manually control your vehicle (PX4 does not require a radio system for autonomous flight modes).
|
||||
|
||||
You will need to [select a compatible transmitter/receiver](../getting_started/rc_transmitter_receiver.md) and then bind them so that they communicate (read the instructions that come with your specific transmitter/receiver).
|
||||
|
||||
The board has two RC input paths:
|
||||
|
||||
- `S.Bin` (4-pin) and `RCin` (on the servo rail) go to the [IO processor](../modules/modules_driver.md#px4io), which detects the protocol with no configuration.
|
||||
SBUS/PPM receivers connect to `S.Bin` or `RCin`.
|
||||
- `Uart8` (4-pin) goes to the FMU, where the [rc_input](../modules/modules_driver_radio_control.md#rc-input) driver detects the protocol with no configuration.
|
||||
Use it for CRSF and GHST receivers, which the IO processor can't decode.
|
||||
`Uart8` is full duplex: connect the receiver's `TX` to `RX`, and its `RX` to `TX` for telemetry.
|
||||
[RC_PORT_CONFIG](../advanced_config/parameter_reference.md#RC_PORT_CONFIG) sets the port that `rc_input` uses, and defaults to `Radio Controller` (`Uart8`).
|
||||
|
||||
Spektrum/DSM receivers are not supported.
|
||||
|
||||
If your receiver outputs individual PWM signals (one wire per channel) it must be connected via a [PPM encoder](../getting_started/rc_transmitter_receiver.md#connecting-receivers).
|
||||
|
||||
### GPS & Compass {#gps_compass}
|
||||
|
||||
PX4 supports GPS modules connected to the GPS ports 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`: 6-pin port with UART and I2C (for an external compass).
|
||||
- `GPS2`: 6-pin port with UART and I2C (for an external compass).
|
||||
Set [GPS_2_CONFIG](../advanced_config/parameter_reference.md#GPS_2_CONFIG) to `GPS 2` to use it.
|
||||
|
||||
The GPS ports do not include safety switch, LED or buzzer pins.
|
||||
These are on the separate `SW+BUZ` port.
|
||||
|
||||
The board has an on-board IST8310 magnetometer, but an external compass is recommended as the primary compass, with the IST8310 as a backup.
|
||||
|
||||
### Telemetry Radios (Optional) {#telemetry}
|
||||
|
||||
[Telemetry radios](../telemetry/index.md) may be used to communicate with and control a vehicle in flight from a ground station (for example, you can direct the UAV to a particular position, or upload a new mission).
|
||||
|
||||
The vehicle-based radio should be connected to the `TEL1` or `TEL2` port.
|
||||
If connected to `TEL1`, no further configuration is required.
|
||||
Інша радіостанція підключається до вашого комп'ютера або мобільного пристрою наземної станції (зазвичай за допомогою USB).
|
||||
|
||||
### CAN {#can}
|
||||
|
||||
The board has two CAN ports, `CAN1` and `CAN2`, which can be used for [DroneCAN](../dronecan/index.md) peripherals.
|
||||
DroneCAN is disabled by default.
|
||||
To enable it, set [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE).
|
||||
|
||||
### OSD {#osd}
|
||||
|
||||
The default firmware includes the [MSP OSD](../peripherals/osd.md#msp-osd) driver, for HD VTX units that render the OSD themselves.
|
||||
Connect the VTX to a free serial port, such as `Uart5`, and set [MSP_OSD_CONFIG](../advanced_config/parameter_reference.md#MSP_OSD_CONFIG) to that port (`EXT2` for `Uart5`).
|
||||
No port is assigned by default.
|
||||
|
||||
## Building Firmware {#building_firmware}
|
||||
|
||||
:::tip
|
||||
From PX4 v2.0, most users will not need to build this firmware!
|
||||
It is pre-built and automatically installed by _QGroundControl_ when appropriate hardware is connected.
|
||||
Boards are shipped with the bootloader pre-installed, so you do not need to build or flash it yourself.
|
||||
:::
|
||||
|
||||
To [build PX4](../dev_setup/building_px4.md) for this target, execute:
|
||||
|
||||
```sh
|
||||
make cyberx_v10_default
|
||||
```
|
||||
|
||||
## Debug Port {#debug_port}
|
||||
|
||||
The `DEBUG` port provides the [SWD interface](../debug/swd_debug.md) for both the FMU and the IO processor.
|
||||
It is a 6-pin JST GH (1.25mm pitch) connector, not a [Pixhawk Debug](../debug/swd_debug.md#pixhawk-standard-debug-ports) port, with the pinout below.
|
||||
A `DEBUG` cable is supplied with the board.
|
||||
The port does not include the [PX4 System Console](../debug/system_console.md) UART.
|
||||
|
||||
| Pin | Сигнал | Напруга |
|
||||
| ------- | --------- | ------- |
|
||||
| 1 (red) | 5V+ | +5V |
|
||||
| 2 (blk) | FMU_SWDIO | +3.3V |
|
||||
| 3 (blk) | FMU_SWCLK | +3.3V |
|
||||
| 4 (blk) | IO_SWDIO | +3.3V |
|
||||
| 5 (blk) | IO_SWCLK | +3.3V |
|
||||
| 6 (blk) | GND | GND |
|
||||
|
||||
## Further Information {#further_information}
|
||||
|
||||
- [CyberCraft International Limited](https://int.woocoo.vip/) (manufacturer)
|
||||
- [CyberX-v10 Wiring Quick Start](../assembly/quick_start_cyberx_v10.md)
|
||||
@@ -0,0 +1,518 @@
|
||||
# Syro V6X
|
||||
|
||||
<Badge type="tip" text="main (PX4 v2.0)" />
|
||||
|
||||
:::warning
|
||||
PX4 не розробляє цей (або будь-який інший) автопілот.
|
||||
Contact the [manufacturer](https://syrorobotics.com/) for hardware support or compliance issues.
|
||||
:::
|
||||
|
||||
The [Syro V6X](https://syrorobotics.com/shop/product/fmuv6x-flight-controller) is a flight controller manufactured by Syro Robotics.
|
||||
It is based on the [FMUv6X reference design](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-012%20Pixhawk%20Autopilot%20v6X%20Standard.pdf), with its own sensor set and PX4 board target.
|
||||
It consists of a flight controller module with the STM32H753 main processor and sensors, and a baseboard that carries the PX4IO coprocessor, the Ethernet PHY and the external connectors.
|
||||
|
||||
<!-- TODO(Syro): add a product photo, stored under docs/assets/flight_controller/syro_v6x/. -->
|
||||
|
||||
:::info
|
||||
This flight controller is [manufacturer supported](../flight_controller/autopilot_manufacturer_supported.md).
|
||||
:::
|
||||
|
||||
## Specifications {#specifications}
|
||||
|
||||
### Processor {#processor}
|
||||
|
||||
- **Main FMU processor:** [STM32H753II](https://www.st.com/en/microcontrollers-microprocessors/stm32h753ii.html) (32-bit Arm® Cortex®-M7, 480MHz, 2MB flash, 1MB RAM)
|
||||
- **IO processor:** [PX4IO](../hardware/reference_design.md#main-io-function-breakdown) ([STM32F103C8T7](https://www.st.com/en/microcontrollers-microprocessors/stm32f103c8.html), 32-bit Arm® Cortex®-M3, 72MHz, 64KB flash, 20KB RAM), on the baseboard
|
||||
|
||||
### Sensors {#sensors}
|
||||
|
||||
- **IMU:** 2x [InvenSense ICM-45686](https://www.invensense.tdk.com/en-us/products/6-axis/icm-45686) (SPI1, SPI2), [Bosch BMI088](https://www.bosch-sensortec.com/en/products/motion-sensors/imus/bmi088/) (SPI3)
|
||||
- **Barometer:** 2x [Bosch BMP581](https://www.bosch-sensortec.com/en/products/environmental-sensors/pressure-sensors/bmp581/) (I2C2, I2C4)
|
||||
- **Magnetometer:** [Bosch BMM350](https://www.bosch-sensortec.com/en/products/motion-sensors/magnetometers/bmm350) (I2C4)
|
||||
- **Heater:** enabled by default, and regulated on the temperature of the ICM-45686 on SPI2.
|
||||
It heats the ICM-45686 on SPI2, the BMI088, the BMP581 on I2C4 and the BMM350.
|
||||
|
||||
### Interfaces {#interfaces}
|
||||
|
||||
- **PWM outputs:** 8 FMU outputs, plus 8 from PX4IO (see [PWM Outputs](#pwm_outputs))
|
||||
- **Serial ports:** 6 (`GPS1`, `GPS2`, `TELEM1`, `TELEM2`, `TELEM3`, `UART4 & I2C`), plus the system console.
|
||||
`TELEM1`, `TELEM2` and `TELEM3` have flow control.
|
||||
- **I2C buses:** 4 (I2C4 internal, I2C2 shared, I2C1 and I2C3 external)
|
||||
- **SPI buses:** 5, of which SPI6 is external with 2 chip selects and 2 data-ready inputs
|
||||
- **CAN buses:** 2
|
||||
- **Ethernet:** 100Mbit/s (Microchip LAN8742A PHY)
|
||||
- **USB:** Yes
|
||||
- **RC input:** Yes, on the PX4IO
|
||||
- **Parameter storage:** FRAM (FM25V02A) on SPI5
|
||||
- **SD card:** microSD slot (SDMMC2), for logs
|
||||
- **Hardware ID storage:** EEPROMs on the module and baseboard (see [Hardware Identification](#hardware_id))
|
||||
- **Analog inputs:** 2 (3.3V and 6.6V range)
|
||||
- **Safety switch and buzzer:** on `GPS1`
|
||||
|
||||
### Electrical Data {#electrical_data}
|
||||
|
||||
- **Input voltage:** 5V nominal on `POWER1`, `POWER2` and USB, valid from 3.81V to 5.85V (see [Voltage Ratings](#voltage_ratings))
|
||||
- **Current draw:** about 220mA at 5V, with nothing connected to the ports.
|
||||
The IMU heater adds up to about 200mA: right after a cold start the board draws about 420mA, and once the IMU is at temperature the heater only switches on as needed.
|
||||
- **Power monitoring:** 2 digital (I2C) power module inputs (INA226, INA228 or INA238; detected automatically by default)
|
||||
- **Servo rail:** must be powered externally, and does not power the flight controller
|
||||
|
||||
### Mechanical Data {#mechanical_data}
|
||||
|
||||
- **Dimensions (with case):** 97.6 x 51.6 x 25.18mm
|
||||
- **Operating temperature:** -40°C to 85°C
|
||||
<!-- TODO(Syro): weight. -->
|
||||
|
||||
## Where to Buy {#store}
|
||||
|
||||
- [Syro Robotics](https://syrorobotics.com/shop/product/fmuv6x-flight-controller)
|
||||
|
||||
## Pinouts {#pinouts}
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
| Порт | З’єднання |
|
||||
| ---------------------------- | ----------------------------------- |
|
||||
| `TELEM1`, `TELEM2`, `TELEM3` | 6-pin JST GH |
|
||||
| `GPS1` | 10-pin JST GH |
|
||||
| `GPS2` | 6-pin JST GH |
|
||||
| `UART4 & I2C` | 7-pin JST GH |
|
||||
| `I2C` | 4-pin JST GH |
|
||||
| `CAN1`, `CAN2` | 4-pin JST GH |
|
||||
| `POWER1`, `POWER2` | 6-pin Molex Micro-Lock Plus |
|
||||
| `ADIO` | 8-pin JST GH |
|
||||
| `SPI` | 11-pin JST GH |
|
||||
| `SBUS IN` | 5-pin JST GH |
|
||||
| `PPM IN` | 3-pin JST GH |
|
||||
| `SBUS OUT` | 3-pin JST GH |
|
||||
| `FMU DEBUGGER` | 10-pin JST SH |
|
||||
| `IO DEBUGGER` | 10-pin JST SH |
|
||||
| `ETHERNET` | 4-pin JST GH |
|
||||
| `USB` | 4-pin JST GH |
|
||||
| `USB-C` | USB Type-C |
|
||||
| `MAIN` 1-8, `AUX` 1-8 | 3-pin servo headers (`-`, `+`, `S`) |
|
||||
|
||||
### TELEM1, TELEM2, TELEM3
|
||||
|
||||
| Pin | Сигнал | TELEM1 (UART7) | TELEM2 (UART5) | TELEM3 (USART2) |
|
||||
| --- | ------ | -------------- | -------------- | --------------- |
|
||||
| 1 | 5V | | | |
|
||||
| 2 | TX | PE8 | PC12 | PD5 |
|
||||
| 3 | RX | PF6 | PD2 | PA3 |
|
||||
| 4 | CTS | PE10 | PC9 | PD3 |
|
||||
| 5 | RTS | PF8 | PC8 | PD4 |
|
||||
| 6 | GND | | | |
|
||||
|
||||
### GPS1
|
||||
|
||||
| Pin | Сигнал | MCU pin |
|
||||
| --- | -------------------- | ------------ |
|
||||
| 1 | 5V | |
|
||||
| 2 | TX | PB6 (USART1) |
|
||||
| 3 | RX | PB7 (USART1) |
|
||||
| 4 | SCL | PB8 (I2C1) |
|
||||
| 5 | SDA | PB9 (I2C1) |
|
||||
| 6 | Запобіжний перемикач | PF5 |
|
||||
| 7 | Safety switch LED | PD10 |
|
||||
| 8 | 3.3V | |
|
||||
| 9 | Зумер | PF9 |
|
||||
| 10 | GND | |
|
||||
|
||||
### GPS2
|
||||
|
||||
| Pin | Сигнал | MCU pin |
|
||||
| --- | ------ | ----------- |
|
||||
| 1 | 5V | |
|
||||
| 2 | TX | PE1 (UART8) |
|
||||
| 3 | RX | PE0 (UART8) |
|
||||
| 4 | SCL | PF1 (I2C2) |
|
||||
| 5 | SDA | PF0 (I2C2) |
|
||||
| 6 | GND | |
|
||||
|
||||
### UART4 & I2C
|
||||
|
||||
| Pin | Сигнал | MCU pin |
|
||||
| --- | -------- | ------------ |
|
||||
| 1 | 5V | |
|
||||
| 2 | TX | PH13 (UART4) |
|
||||
| 3 | RX | PH14 (UART4) |
|
||||
| 4 | SCL | PA8 (I2C3) |
|
||||
| 5 | SDA | PH8 (I2C3) |
|
||||
| 6 | NFC_GPIO | PC0 |
|
||||
| 7 | GND | |
|
||||
|
||||
### I2C
|
||||
|
||||
| Pin | Сигнал | MCU pin |
|
||||
| --- | ------ | ---------- |
|
||||
| 1 | 5V | |
|
||||
| 2 | SCL | PA8 (I2C3) |
|
||||
| 3 | SDA | PH8 (I2C3) |
|
||||
| 4 | GND | |
|
||||
|
||||
### CAN1, CAN2
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | ------ |
|
||||
| 1 | 5V |
|
||||
| 2 | CAN_H |
|
||||
| 3 | CAN_L |
|
||||
| 4 | GND |
|
||||
|
||||
### POWER1, POWER2
|
||||
|
||||
| Pin | Сигнал | POWER1 | POWER2 |
|
||||
| --- | ------ | ---------- | ---------- |
|
||||
| 1 | 5V | | |
|
||||
| 2 | 5V | | |
|
||||
| 3 | SCL | PB8 (I2C1) | PF1 (I2C2) |
|
||||
| 4 | SDA | PB9 (I2C1) | PF0 (I2C2) |
|
||||
| 5 | GND | | |
|
||||
| 6 | GND | | |
|
||||
|
||||
### ADIO
|
||||
|
||||
| Pin | Сигнал | MCU pin |
|
||||
| --- | --------------------- | ------- |
|
||||
| 1 | 5V | |
|
||||
| 2 | FMU_CAP1 | PE11 |
|
||||
| 3 | FMU_BOOTLOADER | |
|
||||
| 4 | FMU_RST_REQ | |
|
||||
| 5 | nARMED | PE6 |
|
||||
| 6 | ADC1_3V3 (3.3V range) | PC3 |
|
||||
| 7 | ADC1_6V6 (6.6V range) | PC2 |
|
||||
| 8 | GND | |
|
||||
|
||||
### SPI
|
||||
|
||||
| Pin | Сигнал | MCU pin |
|
||||
| --- | ------ | ----------- |
|
||||
| 1 | 5V | |
|
||||
| 2 | SCK | PB3 (SPI6) |
|
||||
| 3 | MISO | PA6 (SPI6) |
|
||||
| 4 | MOSI | PG14 (SPI6) |
|
||||
| 5 | CS1 | PI10 |
|
||||
| 6 | CS2 | PA15 |
|
||||
| 7 | nSYNC | PE9 |
|
||||
| 8 | DRDY1 | PD11 |
|
||||
| 9 | DRDY2 | PD12 |
|
||||
| 10 | nRESET | PF10 |
|
||||
| 11 | GND | |
|
||||
|
||||
### SBUS IN
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | ---------------- |
|
||||
| 1 | 5V |
|
||||
| 2 | SBUS / DSM input |
|
||||
| 3 | RSSI input |
|
||||
| 4 | 3.3V (Spektrum) |
|
||||
| 5 | GND |
|
||||
|
||||
### PPM IN
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | ------ |
|
||||
| 1 | 5V |
|
||||
| 2 | PPM IN |
|
||||
| 3 | GND |
|
||||
|
||||
### SBUS OUT
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | ------------- |
|
||||
| 1 | Not connected |
|
||||
| 2 | SBUS OUT |
|
||||
| 3 | GND |
|
||||
|
||||
### ETHERNET {#ethernet_pinout}
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | ------ |
|
||||
| 1 | RX- |
|
||||
| 2 | RX+ |
|
||||
| 3 | TX- |
|
||||
| 4 | TX+ |
|
||||
|
||||
### USB
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | ------ |
|
||||
| 1 | VBUS |
|
||||
| 2 | D- |
|
||||
| 3 | D+ |
|
||||
| 4 | GND |
|
||||
|
||||
### MAIN, AUX
|
||||
|
||||
Viewed from the connector side, the left block of eight (`FMU`) is `AUX` 1-8 and the right block (`IO`) is `MAIN` 1-8.
|
||||
In each block, output 1 is on the right and output 8 on the left.
|
||||
The rows are, from top to bottom, ground (`-`), power (`+`) and signal (`S`).
|
||||
|
||||
### FMU DEBUGGER
|
||||
|
||||
| Pin | Сигнал | MCU pin |
|
||||
| --- | -------------- | ------------ |
|
||||
| 1 | 3.3V | |
|
||||
| 2 | Console TX | PD8 (USART3) |
|
||||
| 3 | Console RX | PD9 (USART3) |
|
||||
| 4 | SWDIO | PA13 |
|
||||
| 5 | SWCLK | PA14 |
|
||||
| 6 | SWO / SPI6 SCK | PB3 |
|
||||
| 7 | NFC_GPIO | PC0 |
|
||||
| 8 | PH11 | PH11 |
|
||||
| 9 | nRST | |
|
||||
| 10 | GND | |
|
||||
|
||||
### IO DEBUGGER
|
||||
|
||||
| Pin | Сигнал |
|
||||
| --- | -------------- |
|
||||
| 1 | 3.3V |
|
||||
| 2 | IO USART1 TX |
|
||||
| 3 | Not connected |
|
||||
| 4 | IO SWDIO |
|
||||
| 5 | IO SWCLK |
|
||||
| 6 | IO SWO |
|
||||
| 7 | IO spare GPIO1 |
|
||||
| 8 | IO spare GPIO2 |
|
||||
| 9 | IO nRST |
|
||||
| 10 | GND |
|
||||
|
||||
## Block Diagram
|
||||
|
||||

|
||||
|
||||
## Power {#power}
|
||||
|
||||
The flight controller is powered from the `POWER1` and `POWER2` digital power module inputs, or from USB.
|
||||
If more than one source is connected, the board selects one in the order `POWER1`, `POWER2`, USB.
|
||||
|
||||
PX4 supports INA226, INA228 and INA238 based digital power modules on these inputs.
|
||||
Enable the matching driver with [SENS_EN_INA226](../advanced_config/parameter_reference.md#SENS_EN_INA226), [SENS_EN_INA228](../advanced_config/parameter_reference.md#SENS_EN_INA228) or [SENS_EN_INA238](../advanced_config/parameter_reference.md#SENS_EN_INA238).
|
||||
If none of these parameters is set, PX4 tries to detect a supported power monitor automatically.
|
||||
|
||||
The power inputs are 5V nominal.
|
||||
The power path selector treats an input as valid between 3.81V (undervoltage threshold) and 5.85V (overvoltage threshold), and disconnects an input outside this range.
|
||||
|
||||
:::warning
|
||||
The PWM output ports are not powered by the power module inputs, and the output rail does not power the flight controller.
|
||||
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.
|
||||
:::
|
||||
|
||||
For battery and power module configuration see [Battery and Power Module Setup](../config/battery.md).
|
||||
|
||||
## Voltage Ratings {#voltage_ratings}
|
||||
|
||||
| Вхід | Normal operation | Absolute maximum |
|
||||
| ------------------------- | ---------------- | ---------------- |
|
||||
| `POWER1`, `POWER2` | 4.75V to 5.5V | 10V |
|
||||
| USB | 4.75V to 5.25V | 6V |
|
||||
| Servo rail (`MAIN`/`AUX`) | 0V to 20V | 25V |
|
||||
|
||||
A power module input between 5.85V and 10V does not damage the board: the power path selector disconnects it (see [Power](#power)).
|
||||
The servo rail is not regulated on the board; its absolute maximum is set by its 25V input capacitors.
|
||||
PX4 measures the servo rail voltage up to 9.9V; above that, the reported value stays at 9.9V.
|
||||
|
||||
:::warning
|
||||
Keep the power inputs at or below 5.5V.
|
||||
Between 5.5V and 5.85V an input is still selected, but the sensor regulators are above their rated operating voltage, and from 5.71V the 5V supply on the peripheral ports may be switched off.
|
||||
:::
|
||||
|
||||
The 5V supply on the peripheral ports is current limited to 1.5A per rail, with `TELEM1` and `GPS2` on one rail and the other peripheral ports on the second.
|
||||
The RC input ports (`SBUS IN` and `PPM IN`) are supplied separately.
|
||||
|
||||
## PWM Outputs {#pwm_outputs}
|
||||
|
||||
This flight controller supports up to 16 PWM outputs:
|
||||
|
||||
- 8 `MAIN` outputs, driven by the PX4IO coprocessor.
|
||||
- 8 `AUX` outputs, driven by the FMU.
|
||||
|
||||
`AUX` outputs 1-6 support [DShot](../peripherals/dshot.md) and [Bidirectional DShot](../peripherals/dshot.md#bidirectional-dshot-telemetry).
|
||||
`AUX` outputs 7-8 and all `MAIN` outputs do not support DShot.
|
||||
|
||||
The 8 `AUX` outputs are split into 3 groups:
|
||||
|
||||
- Outputs 1-4 are in group 1, using Timer 5.
|
||||
- Outputs 5-6 are in group 2, using Timer 4.
|
||||
- Outputs 7-8 are in group 3, using Timer 12.
|
||||
|
||||
All outputs within the same group must use the same output protocol and rate.
|
||||
|
||||
`AUX` output 5 can also be used as a PWM input.
|
||||
|
||||
A ninth timer channel, `FMU_CAP1` (Timer 1), is intended for camera capture, and appears in the actuator configuration as `PWM Capture 1`.
|
||||
It is pin 2 of the `ADIO` port (see [Camera Capture Configuration](../camera/fc_connected_camera.md#camera-capture-configuration)).
|
||||
|
||||
## Ethernet {#ethernet}
|
||||
|
||||
The board has a 100Mbit/s Ethernet port.
|
||||
By default PX4 runs a MAVLink instance on Ethernet, broadcasting on UDP port 14550.
|
||||
|
||||
See [PX4 Ethernet Setup](../advanced_config/ethernet_setup.md) for the network configuration, and [uXRCE-DDS](../middleware/uxrce_dds.md) for using Ethernet to connect to ROS 2 on a companion computer.
|
||||
|
||||
## SD Card (Optional) {#sd_card}
|
||||
|
||||
The board has a microSD card slot, used for flight logs.
|
||||
For information about choosing and using an SD card see [SD Cards (Removable Memory)](../getting_started/px4_basic_concepts.md#sd-cards-removable-memory).
|
||||
|
||||
## Serial Port Mapping {#serial_port_mapping}
|
||||
|
||||
| UART | Пристрій | Порт | Flow Control |
|
||||
| ------ | ---------- | ---------------- | :----------: |
|
||||
| USART1 | /dev/ttyS0 | `GPS1` | Ні |
|
||||
| USART2 | /dev/ttyS1 | `TELEM3` | Так |
|
||||
| USART3 | /dev/ttyS2 | Системна консоль | Ні |
|
||||
| UART4 | /dev/ttyS3 | `UART4 & I2C` | Ні |
|
||||
| UART5 | /dev/ttyS4 | `TELEM2` | Так |
|
||||
| USART6 | /dev/ttyS5 | PX4IO/RC | Ні |
|
||||
| UART7 | /dev/ttyS6 | `TELEM1` | Так |
|
||||
| UART8 | /dev/ttyS7 | `GPS2` | Ні |
|
||||
|
||||
:::info
|
||||
The mapping above applies to the running PX4 firmware.
|
||||
The Syro V6X bootloader enables only UART5 (`TELEM2`), at 1500000 baud.
|
||||
When flashing firmware over a UART with [`px4_uploader.py`](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/px4_uploader.py) you must connect to `TELEM2`.
|
||||
:::
|
||||
|
||||
## I2C Buses
|
||||
|
||||
| Шина | Тип | Connected to |
|
||||
| ---- | -------- | ---------------------------------------------------------------------- |
|
||||
| I2C1 | External | `GPS1` (compass), `POWER1` (power monitor) |
|
||||
| I2C2 | Shared | `GPS2`, `POWER2` (power monitor), onboard BMP581 barometer (`0x46`) |
|
||||
| I2C3 | External | `UART4 & I2C`, `I2C`, baseboard EEPROM (`0x51`) |
|
||||
| I2C4 | Internal | BMM350 magnetometer, BMP581 barometer (`0x47`), module EEPROM (`0x50`) |
|
||||
|
||||
Do not connect external devices that use address `0x46` to I2C2, or address `0x51` to I2C3, as these addresses are used by onboard devices.
|
||||
|
||||
## Assembly {#assembly}
|
||||
|
||||
### Radio Control {#radio_control}
|
||||
|
||||
A remote control (RC) radio system is required if you want to manually control your vehicle (PX4 does not require a radio system for autonomous flight modes).
|
||||
|
||||
You will need to [select a compatible transmitter/receiver](../getting_started/rc_transmitter_receiver.md) and then bind them so that they communicate (read the instructions that come with your specific transmitter/receiver).
|
||||
|
||||
Connect an S.BUS or DSM receiver to the `SBUS IN` port, or a PPM receiver to the `PPM IN` port.
|
||||
Both go to the PX4IO coprocessor, which detects the [protocols it supports](../modules/modules_driver.md#px4io) automatically.
|
||||
A DSM (Spektrum) receiver on `SBUS IN` is powered with 3.3V from pin 4.
|
||||
|
||||
CRSF and GHST receivers can't be decoded by the PX4IO.
|
||||
Connect them to a free FMU serial port, such as `TELEM3`, and set [RC_CRSF_PRT_CFG](../advanced_config/parameter_reference.md#RC_CRSF_PRT_CFG) or [RC_GHST_PRT_CFG](../advanced_config/parameter_reference.md#RC_GHST_PRT_CFG) to that port.
|
||||
|
||||
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 `GPS1` and `GPS2` ports.
|
||||
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 board also has an internal BMM350 compass, on I2C4.
|
||||
|
||||
`GPS1` includes the safety switch and buzzer signals.
|
||||
By default PX4 starts an IST8310 compass on `GPS1`, as used on Holybro GPS modules.
|
||||
The common magnetometer drivers are also included, so other supported GPS/compass modules are detected.
|
||||
|
||||
### Telemetry Radios (Optional) {#telemetry}
|
||||
|
||||
[Telemetry radios](../telemetry/index.md) may be used to communicate with and control a vehicle in flight from a ground station (for example, you can direct the UAV to a particular position, or upload a new mission).
|
||||
|
||||
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).
|
||||
|
||||
### CAN {#can}
|
||||
|
||||
The board has two CAN ports, `CAN1` and `CAN2`, each a 4-pin JST GH connector.
|
||||
They can be used for [DroneCAN](../dronecan/index.md) peripherals, such as GPS modules, [ESCs](../peripherals/esc_motors.md) and power modules.
|
||||
|
||||
DroneCAN is not enabled by default: set [UAVCAN_ENABLE](../advanced_config/parameter_reference.md#UAVCAN_ENABLE) to enable it.
|
||||
`CAN2` is only enabled when the baseboard ID is set (see [Hardware Identification](#hardware_id)).
|
||||
|
||||
## Building Firmware {#building_firmware}
|
||||
|
||||
:::tip
|
||||
Most users will not need to build this firmware (from PX4 v2.0).
|
||||
It is pre-built and automatically installed by _QGroundControl_ when appropriate hardware is connected.
|
||||
:::
|
||||
|
||||
To [build PX4](../dev_setup/building_px4.md) for this target:
|
||||
|
||||
```sh
|
||||
make syro_fmu-v6x_default
|
||||
```
|
||||
|
||||
Build and upload via USB:
|
||||
|
||||
```sh
|
||||
make syro_fmu-v6x_default upload
|
||||
```
|
||||
|
||||
Build the bootloader:
|
||||
|
||||
```sh
|
||||
make syro_fmu-v6x_bootloader
|
||||
```
|
||||
|
||||
## Hardware Identification {#hardware_id}
|
||||
|
||||
The flight controller module and the baseboard each store a hardware ID in an EEPROM.
|
||||
PX4 reads these at boot to identify the board and the hardware fitted on the baseboard:
|
||||
|
||||
- **Baseboard ID:** `0x110` (stored in the baseboard EEPROM on I2C3).
|
||||
It tells PX4 that the PX4IO, CAN2, the second power module input and Ethernet are present.
|
||||
- **Module revision:** `0x10` (stored in the module EEPROM on I2C4).
|
||||
|
||||
Both values are written in production with the [mft_cfg](../modules/modules_command.md#mft-cfg) command:
|
||||
|
||||
```sh
|
||||
mft_cfg set hwver -i 0x110
|
||||
mft_cfg set hwrev -i 0x10
|
||||
```
|
||||
|
||||
:::warning
|
||||
If the baseboard EEPROM is blank, PX4 reports the board as not supported and starts without the PX4IO (`MAIN` outputs), CAN2, the second power module input and Ethernet.
|
||||
:::
|
||||
|
||||
## Debug Port {#debug_port}
|
||||
|
||||
The [PX4 system console](../debug/system_console.md) runs on USART3 at 57600 baud.
|
||||
|
||||
The console and the [SWD interface](../debug/swd_debug.md) of the FMU are on the `FMU DEBUGGER` connector.
|
||||
The SWD interface of the PX4IO is on the `IO DEBUGGER` connector.
|
||||
Both are 10-pin JST SH connectors.
|
||||
See [Pinouts](#pinouts) for the pin assignment.
|
||||
|
||||
The `FMU DEBUGGER` pinout complies with the [Pixhawk Debug Full](../debug/swd_debug.md#pixhawk-debug-full) interface defined in the [Pixhawk Connector Standard](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-009%20Pixhawk%20Connector%20Standard.pdf).
|
||||
Its SWO pin (pin 6, PB3) is shared with the SCK line of the external `SPI` port.
|
||||
PX4 configures PB3 as SPI6 SCK, so SWO trace output is not available while PX4 is running.
|
||||
|
||||
## Bootloader / Board ID
|
||||
|
||||
- **Board ID:** 110 (`boards/syro/fmu-v6x/firmware.prototype`)
|
||||
- **USB VID/PID:** `0x3643` / `0x0001`
|
||||
- **Bootloader USB product string:** `Syro BL FMU v6X`
|
||||
|
||||
## Maintenance
|
||||
|
||||
- **Vendor:** Syro
|
||||
- **PX4 board target:** `syro_fmu-v6x_default`
|
||||
- **PX4 hardware type prefix:** `SyroV6X`
|
||||
|
||||
## Further Information {#further_information}
|
||||
|
||||
- [Syro V6X product page](https://syrorobotics.com/shop/product/fmuv6x-flight-controller)
|
||||
- [Pixhawk Автопілот FMUv6X Стандартний](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-012%20Pixhawk%20Autopilot%20v6X%20Standard.pdf)
|
||||
- [Pixhawk Series](../flight_controller/pixhawk_series.md)
|
||||
@@ -206,6 +206,8 @@ The vehicle:
|
||||
configured): falls back to returning to the closest safe point — whichever of home or the defined rally
|
||||
points is nearest.
|
||||
|
||||
The [distance-aware return failsafe](../config/safety.md#distance-aware-return-failsafe) engages Return mode only when both home and its fallback rally point drop out of battery reach.
|
||||
|
||||
## Geofence Awareness {#geofence_awareness}
|
||||
|
||||
<Badge type="tip" text="main (PX4 v1.20)" />
|
||||
@@ -254,6 +256,8 @@ The figures below show an exclusion zone and an inclusion zone.
|
||||
|
||||

|
||||
|
||||
If a [contingency geofence margin](../config/safety.md#contingency-geofence) is set ([GF_CONT_H_MARGIN](../advanced_config/parameter_reference.md#GF_CONT_H_MARGIN)), the polygons are enlarged or shrunk by that distance as well, so that the route keeps out of the margin.
|
||||
|
||||
### Geofence Limitations
|
||||
|
||||
- The size of geofence that can be handled is limited by [GF_AVOID_NODES](../advanced_config/parameter_reference.md#GF_AVOID_NODES) (default 100, maximum 200, reboot required).
|
||||
@@ -269,6 +273,8 @@ The figures below show an exclusion zone and an inclusion zone.
|
||||
- The safety margin in the [Shortest-path Calculation](#shortest-path-calculation) above may not be appropriate for all vehicles.
|
||||
It is derived from [NAV_LOITER_RAD](../advanced_config/parameter_reference.md#NAV_LOITER_RAD) for fixed-wing and VTOL vehicles, and from twice [NAV_ACC_RAD](../advanced_config/parameter_reference.md#NAV_ACC_RAD) for multicopters.
|
||||
It is not directly configurable.
|
||||
- A wide [contingency geofence margin](../config/safety.md#contingency-geofence) makes it more likely that a region is cut off, or that the destination lies within the margin.
|
||||
Keep Home and the rally points further from the fence than both margins together, because the autopilot otherwise falls back to a direct path.
|
||||
|
||||
### Geofence Awareness Messages
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ If any of the checks fail, the user is notified and it is not possible to start
|
||||
|
||||
Підмножина найважливіших перевірок перерахована нижче:
|
||||
|
||||
- Будь-який елемент місії конфліктує з планом або безпечним геозахистом
|
||||
- Any mission item conflicts with a plan or safety geofence, or with the [contingency geofence](../config/safety.md#contingency-geofence)
|
||||
- Визначено більше одного елемента місії початку посадки ([MAV_CMD_DO_LAND_START](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_LAND_START))
|
||||
- Посадка на фіксованих крилах має неможливий кут нахилу схилу ([FW_LND_ANG](#FW_LND_ANG))
|
||||
- Land start item (`MAV_CMD_DO_LAND_START`) appears in mission before an RTL ("Return") item ([MAV_CMD_NAV_RETURN_TO_LAUNCH](https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_RETURN_TO_LAUNCH))
|
||||
|
||||
@@ -104,7 +104,7 @@ If any of the checks fail, the user is notified and it is not possible to start
|
||||
|
||||
Підмножина найважливіших перевірок перерахована нижче:
|
||||
|
||||
- Будь-який елемент місії конфліктує з планом або безпечним геозахистом
|
||||
- Any mission item conflicts with a plan or safety geofence, or with the [contingency geofence](../config/safety.md#contingency-geofence)
|
||||
- Відсутній пункт зльоту та/або посадки, коли вони налаштовані як вимога ([MIS_TKO_LAND_REQ](#MIS_TKO_LAND_REQ))
|
||||
|
||||
Additionally there is a check if the first waypoint is too far from the Home position ([MIS_DIST_1WP](#MIS_DIST_1WP)).
|
||||
|
||||
@@ -49,6 +49,11 @@ Geofence planning is fully documented in [Plan View > GeoFence](https://docs.qgr
|
||||
7. Once finished, click on the **Upload** button (top right) to send the fence (along with rally points and mission) to the vehicle.
|
||||
8. Set the breach action in the [Geofence Failsafe](../config/safety.md#geofence-failsafe).
|
||||
|
||||
:::tip
|
||||
A geofence action is only triggered once the vehicle has breached the geofence.
|
||||
To act before that, set up a [Contingency Geofence](../config/safety.md#contingency-geofence) with its own action.
|
||||
:::
|
||||
|
||||
:::info
|
||||
Any geofence that does not include the Home position will be rejected by the flight controller and not uploaded.
|
||||
Якщо апарат знаходиться в польоті, будь-яка геозона, яка одразу ж буде порушена після завантаження, також відхиляється.
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
# GlobalSat BD-100M GNSS
|
||||
|
||||
The [GlobalSat BD-100M](https://www.globalsat.com.tw/en/product-285501/Dual-Band-GNSS-Receiver-for-Drone-and-Autopilot-BD-100M.html) is a compact, L1/L5 dual-band GNSS receiver that connects to the flight controller using UART.
|
||||
It is based on the AIROHA AG3335M and includes a compass, barometer, safety switch, buzzer and LED.
|
||||
GlobalSat has tested this receiver on PX4 v1.17.0 with a [Holybro Pixhawk 6C](../flight_controller/pixhawk6c.md).
|
||||
|
||||
Typical applications include:
|
||||
|
||||
- Drone and autopilot location
|
||||
- Flight-controller sensor integration
|
||||
- Robotics and outdoor autonomous platforms
|
||||
|
||||

|
||||
|
||||
## Specifications {#specifications}
|
||||
|
||||
- **Receiver:** AIROHA AG3335M
|
||||
- **Constellations:** Multi-constellation, multi-frequency all-in-view tracking; SBAS ranging (WAAS, EGNOS, MSAS and GAGAN)
|
||||
- **Bands:** L1 + L5
|
||||
- **Protocol:** NMEA 0183 V3.01 / V4.1 (GGA, GSA, GSV, RMC, VTG, GLL, ZDA, GRS, GST); AIROHA PAIR proprietary commands (not supported on PX4)
|
||||
- **Update rate:** 1-10Hz (default 5Hz)
|
||||
- **Position accuracy:** <1.5m (CEP50)
|
||||
- **Sensitivity:** High tracking sensitivity for operation in weak-signal environments; fast time to first fix (TTFF) under low-signal conditions
|
||||
- **Compass:** Built-in (IST8310)
|
||||
- **Barometer:** Built-in (MS5611, not used by PX4)
|
||||
- **Other:** Safety switch, buzzer and tri-colour LED (Pixhawk-compatible status indicators); backup power for hot-start performance
|
||||
- **Antenna:** Integrated dual-band patch antenna
|
||||
- **Interface:** UART (2.8V TTL) on a 10-pin JST-GH connector
|
||||
- **Input voltage:** 5V
|
||||
- **Current draw:** 25mA typical (GNSS); buzzer up to 80mA, LEDs up to 60mA
|
||||
- **Dimensions:** 47.0mm diameter × 17.0mm height (±0.2mm)
|
||||
- **Weight:** 42g (including cable)
|
||||
- **Enclosure:** Water-resistant, with anti-slip bottom design
|
||||
- **Made in:** Taiwan
|
||||
|
||||
## Where to Buy {#store}
|
||||
|
||||
Замовте цей модуль з:
|
||||
|
||||
- [GlobalSat BD-100M](https://www.amazon.com/dp/B0HKZZRKZ9) GPS/GNSS (Amazon)
|
||||
|
||||
## Hardware Setup {#hardware_setup}
|
||||
|
||||
### Mounting {#mounting}
|
||||
|
||||
The module should be mounted with its arrow facing the front of the vehicle, as far away from the flight controller and other electronics as possible.
|
||||
For more information, see [Mounting a Compass](../assembly/mount_gps_compass.md).
|
||||
|
||||
### Pinouts {#pinouts}
|
||||
|
||||

|
||||
|
||||
### Wiring {#wiring}
|
||||
|
||||
The GlobalSat BD-100M uses UART output via a JST-GH-10P connector.
|
||||
Connect it to the 10-pin `GPS1` port (the "Full GPS + Safety Switch Port") on flight controllers that use the [Pixhawk Connector Standard](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-009%20Pixhawk%20Connector%20Standard.pdf).
|
||||
See [Pinouts](#pinouts) for the pin assignments.
|
||||
The receiver is powered with 5V from the port (pin 1); its UART signals are 2.8V TTL and its I2C signals 3.3V.
|
||||
|
||||
## PX4 Configuration {#px4_configuration}
|
||||
|
||||
PX4 communicates with this receiver using the NMEA protocol (this is not included in firmware for boards with constrained flash).
|
||||
To enable, set [GPS_1_PROTOCOL](../advanced_config/parameter_reference.md#GPS_1_PROTOCOL) to `6` (`NMEA (generic)`) and reboot the vehicle.
|
||||
No baud rate setting is needed: PX4 detects the receiver's factory rate of 230400 baud automatically.
|
||||
|
||||
To use the receiver as a secondary GPS, set [GPS_2_CONFIG](../advanced_config/parameter_reference.md#GPS_2_CONFIG) to the port it is connected to, and [GPS_2_PROTOCOL](../advanced_config/parameter_reference.md#GPS_2_PROTOCOL) to `6`, and reboot.
|
||||
See [Secondary GPS Configuration (UART)](../gps_compass/index.md#secondary-gps-configuration-uart) for more information.
|
||||
|
||||
Set the position of the antenna relative to the vehicle's centre of gravity using [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ).
|
||||
|
||||
## LED Meanings {#led_meanings}
|
||||
|
||||
| LED colour | Status indicator | Опис |
|
||||
| ---------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Red | Індикатор безпеки | Safety switch LED indicator. Drives the internal red LED in coordination with safety switch logic. |
|
||||
| Синій | GNSS LED | GNSS positioning status indicator. |
|
||||
| R, G, B | System Status LED | Used to indicate various UAV flight and system statuses. Controlled via I2C (address 0x54) using the integrated IS31FL3195 driver. |
|
||||
|
||||
## Testing {#testing}
|
||||
|
||||
In the [QGroundControl MAVLink Console](../debug/mavlink_shell.md#qgroundcontrol-mavlink-console), run `gps status` to see the protocol, fix type and number of satellites, or `listener sensor_gnss` to see the published data.
|
||||
|
||||
## Further Information {#further_information}
|
||||
|
||||
- [GlobalSat BD-100M](https://www.globalsat.com.tw/en/product-285501/Dual-Band-GNSS-Receiver-for-Drone-and-Autopilot-BD-100M.html) (product page)
|
||||
- [BD-100M/BD-100K User Manual](https://www.globalsat.com.tw/files/BD-100MK_user_manual_latest.pdf)
|
||||
- [BD-100M Hardware Data Sheet](https://www.globalsat.com.tw/files/BD-100M_Hardware_Data_Sheet_latest.pdf)
|
||||
@@ -1,7 +1,7 @@
|
||||
# GPS та компас
|
||||
|
||||
Він також підтримує <a href="../gps_compass/rtk_gps.md">Real Time Kinematic (RTK)</a> і <strong x-id="1">Post-Processing Kinematic (PPK)</strong> GPS-приймачі, які розширюють можливості GPS-систем до сантиметрової точності.
|
||||
PX4 підтримує глобальні навігаційні супутникові системи (GNSS) (включаючи GPS, ГЛОНАСС, Galileo, BeiDou, QZSS і SBAS) за допомогою приймачів, які підтримують зв'язок через протоколи u-blox, MTK Ashtech або Emlid, або через UAVCAN.
|
||||
PX4 supports Global Navigation Satellite Systems (GNSS) such as GPS, GLONASS, Galileo, BeiDou, QZSS and SBAS, using receivers that communicate via the u-blox, MTK, Ashtech, Emlid, Femtomes or NMEA protocols, or via UAVCAN.
|
||||
|
||||
Up to two GPS modules can be connected using either a UART or the CAN bus:
|
||||
|
||||
@@ -17,39 +17,40 @@ PX4 also supports [Real Time Kinematic (RTK)](../gps_compass/rtk_gps.md) and **P
|
||||
|
||||
## Підтримка GNSS та/або компаса
|
||||
|
||||
PX4 повинен працювати з будь-яким пристроєм, що підтримує зв'язок через протоколи u-blox, MTK Ashtech або Emlid, або через UAVCAN.
|
||||
PX4 should work with any unit that communicates via the u-blox, MTK, Ashtech, Emlid, Femtomes or NMEA protocols, or via UAVCAN.
|
||||
|
||||
Ця таблиця містить не-RTK GNSS-пристрої (більшість з яких також мають компас).
|
||||
Вони були протестовані командою розробників PX4 або користуються популярністю у спільноті PX4.
|
||||
|
||||
| Пристрій | GPS | Компас | [CAN](../dronecan/index.md) | Buzzer / SafeSw / LED | Примітки |
|
||||
| :----------------------------------------------------------- | :---------: | :-----------------------: | :-------------------------: | :-------------------: | :------------------------------------------------------------- |
|
||||
| [ARK GPS](../dronecan/ark_gps.md) | M9N | BMM150 | ✓ | ✓ | + Baro, IMU |
|
||||
| [ARK DAN GPS](../gps_compass/ark_dan_gps.md) | DAN-F10N | IIS2MDC | | ✓ | |
|
||||
| [ARK SAM GPS](../gps_compass/ark_sam_gps.md) | SAM-M10Q | IIS2MDC | | ✓ | |
|
||||
| [ARK SAM GPS MINI ](../gps_compass/ark_sam_gps_mini.md) | SAM-M10Q | IIS2MDC | | ✓ | |
|
||||
| [ARK TESEO GPS](../dronecan/ark_teseo_gps.md) | Teseo-LIV4F | BMM150 | ✓ | ✓ | + Baro, IMU |
|
||||
| [Avionics Anonymous UAVCAN GNSS/Mag][avionics_anon_can_gnss] | SAM-M8Q | MMC5983MA | ✓ | ✘ | |
|
||||
| [CUAV NEO 3 GPS](../gps_compass/gps_cuav_neo_3.md) | M9N | IST8310 | | ✓ | |
|
||||
| [CUAV NEO 3 Pro GPS](../gps_compass/gps_cuav_neo_3pro.md) | M9N | RM3100 | ✓ | ✓ | + Baro |
|
||||
| [CUAV NEO 3X GPS](../gps_compass/gps_cuav_neo_3x.md) | M9N | RM3100 | ✓ | ✘✓✓ | + Baro. |
|
||||
| [CubePilot Here2 GNSS GPS (M8N)][CubePilot Here2] | M8N | ICM20948 | | ✓ | Superseded by Here4 |
|
||||
| [Emlid Reach M+](https://emlid.com/reach/) | ✓ | ✘ | | ✘ | Підтримує PPK. Очікується RTK. |
|
||||
| [Holybro DroneCAN M8N GPS](../dronecan/holybro_m8n_gps.md) | M8N | BMM150 | ✓ | ✘ | + Baro |
|
||||
| [Holybro Micro M8N GPS][Hb Micro M8N] | M8N | IST8310 | | ✘ | |
|
||||
| [Holybro Nano Ublox M8 5883 GPS][hb_nano_m8_5883] | UBX-M8030 | QMC5883 | | ✘ | |
|
||||
| [Holybro M8N GPS](../gps_compass/gps_holybro_m8n_m9n.md) | M8N | IST8310 | | ✓ | |
|
||||
| [Holybro M9N GPS](../gps_compass/gps_holybro_m8n_m9n.md) | M9N | IST8310 | | ✓ | |
|
||||
| [Holybro DroneCAN M9N GPS][hb_can_m9n] | M9N | BMM150 | ✓ | ✓ | |
|
||||
| [Holybro M10 GPS][hb_m10] | M10 | IST8310 | | ✓ | |
|
||||
| [Hobbyking u-blox Neo-M8N GPS & Compass][hk_ublox_neo_8mn] | M8N | ✓ | | ✘ | |
|
||||
| [LOCOSYS Hawk A1 GNSS receiver][LOCOSYS Hawk A1] | MC-1612-V2b | опціональний | | ✘✘✓ | |
|
||||
| [LOCOSYS Hawk R1](../gps_compass/rtk_gps_locosys_r1.md) | MC-1612-V2b | | | ✘✘✓ | |
|
||||
| [LOCOSYS Hawk R2](../gps_compass/rtk_gps_locosys_r2.md) | MC-1612-V2b | IST8310 | | ✘✘✓ | |
|
||||
| [mRo GPS u-blox Neo-M8N Dual Compass][mro_neo8mn_dual_mag] | M8N | LIS3MDL, IST8308 | | ✘ | |
|
||||
| [RaccoonLab L1 GNSS NEO-M8N][RccnLabGNSS250] | NEO-M8N | RM3100 | ✓ | ✘✘✓ | + Baro |
|
||||
| [Sky-Drones SmartAP GPS](../gps_compass/gps_smartap.md) | M8N | HMC5983, IST8310, LIS3MDL | | ✓ | + Baro |
|
||||
| [Zubax GNSS 2](https://shop.zubax.com/products/zubax-gnss-2) | MAX-M8Q | LIS3MDL | | ✘ | + Baro |
|
||||
| Пристрій | GPS | Компас | [CAN](../dronecan/index.md) | Buzzer / SafeSw / LED | Примітки |
|
||||
| :---------------------------------------------------------------- | :---------: | :-----------------------: | :-------------------------: | :-------------------: | :------------------------------------------------------------- |
|
||||
| [ARK GPS](../dronecan/ark_gps.md) | M9N | BMM150 | ✓ | ✓ | + Baro, IMU |
|
||||
| [ARK DAN GPS](../gps_compass/ark_dan_gps.md) | DAN-F10N | IIS2MDC | | ✓ | |
|
||||
| [ARK SAM GPS](../gps_compass/ark_sam_gps.md) | SAM-M10Q | IIS2MDC | | ✓ | |
|
||||
| [ARK SAM GPS MINI ](../gps_compass/ark_sam_gps_mini.md) | SAM-M10Q | IIS2MDC | | ✓ | |
|
||||
| [ARK TESEO GPS](../dronecan/ark_teseo_gps.md) | Teseo-LIV4F | BMM150 | ✓ | ✓ | + Baro, IMU |
|
||||
| [Avionics Anonymous UAVCAN GNSS/Mag][avionics_anon_can_gnss] | SAM-M8Q | MMC5983MA | ✓ | ✘ | |
|
||||
| [CUAV NEO 3 GPS](../gps_compass/gps_cuav_neo_3.md) | M9N | IST8310 | | ✓ | |
|
||||
| [CUAV NEO 3 Pro GPS](../gps_compass/gps_cuav_neo_3pro.md) | M9N | RM3100 | ✓ | ✓ | + Baro |
|
||||
| [CUAV NEO 3X GPS](../gps_compass/gps_cuav_neo_3x.md) | M9N | RM3100 | ✓ | ✘✓✓ | + Baro. |
|
||||
| [CubePilot Here2 GNSS GPS (M8N)][CubePilot Here2] | M8N | ICM20948 | | ✓ | Superseded by Here4 |
|
||||
| [Emlid Reach M+](https://emlid.com/reach/) | ✓ | ✘ | | ✘ | Підтримує PPK. Очікується RTK. |
|
||||
| [GlobalSat BD-100M GNSS](../gps_compass/gps_globalsat_bd_100m.md) | AG3335M | IST8310 | | ✓ | + Baro |
|
||||
| [Holybro DroneCAN M8N GPS](../dronecan/holybro_m8n_gps.md) | M8N | BMM150 | ✓ | ✘ | + Baro |
|
||||
| [Holybro Micro M8N GPS][Hb Micro M8N] | M8N | IST8310 | | ✘ | |
|
||||
| [Holybro Nano Ublox M8 5883 GPS][hb_nano_m8_5883] | UBX-M8030 | QMC5883 | | ✘ | |
|
||||
| [Holybro M8N GPS](../gps_compass/gps_holybro_m8n_m9n.md) | M8N | IST8310 | | ✓ | |
|
||||
| [Holybro M9N GPS](../gps_compass/gps_holybro_m8n_m9n.md) | M9N | IST8310 | | ✓ | |
|
||||
| [Holybro DroneCAN M9N GPS][hb_can_m9n] | M9N | BMM150 | ✓ | ✓ | |
|
||||
| [Holybro M10 GPS][hb_m10] | M10 | IST8310 | | ✓ | |
|
||||
| [Hobbyking u-blox Neo-M8N GPS & Compass][hk_ublox_neo_8mn] | M8N | ✓ | | ✘ | |
|
||||
| [LOCOSYS Hawk A1 GNSS receiver][LOCOSYS Hawk A1] | MC-1612-V2b | опціональний | | ✘✘✓ | |
|
||||
| [LOCOSYS Hawk R1](../gps_compass/rtk_gps_locosys_r1.md) | MC-1612-V2b | | | ✘✘✓ | |
|
||||
| [LOCOSYS Hawk R2](../gps_compass/rtk_gps_locosys_r2.md) | MC-1612-V2b | IST8310 | | ✘✘✓ | |
|
||||
| [mRo GPS u-blox Neo-M8N Dual Compass][mro_neo8mn_dual_mag] | M8N | LIS3MDL, IST8308 | | ✘ | |
|
||||
| [RaccoonLab L1 GNSS NEO-M8N][RccnLabGNSS250] | NEO-M8N | RM3100 | ✓ | ✘✘✓ | + Baro |
|
||||
| [Sky-Drones SmartAP GPS](../gps_compass/gps_smartap.md) | M8N | HMC5983, IST8310, LIS3MDL | | ✓ | + Baro |
|
||||
| [Zubax GNSS 2](https://shop.zubax.com/products/zubax-gnss-2) | MAX-M8Q | LIS3MDL | | ✘ | + Baro |
|
||||
|
||||
<!-- links to improve layout of table for editing -->
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ Some RTK GNSS setups can provide yaw/heading information, as an alternative to t
|
||||
## Пристрої, що підтримуються
|
||||
|
||||
PX4 supports the [u-blox M8P](https://www.u-blox.com/en/product/neo-m8p-series), [u-blox F9P](https://www.u-blox.com/en/product/zed-f9p-module) and the [Trimble MB-Two](https://oemgnss.trimble.com/en/products/receiver-modules/mb-two) GPS, and products that incorporate them.
|
||||
PX4 also supports RTK receivers that use the NMEA protocol, such as the [GlobalSat BD-100K](../gps_compass/rtk_gps_globalsat_bd_100k.md).
|
||||
|
||||
Список сумісних пристроїв RTK нижче, які очікуються для роботи з PX4 (він виключає припинені пристрої).
|
||||
Таблиця вказує пристрої, які також виводять курсову відмітку, а також можуть надавати курсову відмітку, коли використовуються дві одиниці на транспортному засобі.
|
||||
@@ -35,13 +36,14 @@ PX4 supports the [u-blox M8P](https://www.u-blox.com/en/product/neo-m8p-series),
|
||||
| [CubePilot Here+ RTK GPS](../gps_compass/rtk_gps_cubepilot_hereplus.md) | M8P | HMC5983 | | | |
|
||||
| [CubePilot Here3][CubePilot Here3] | M8P | ICM20948 | ✓ | | |
|
||||
| [CubePilot Here3+][CubePilot Here3] | M8P | RM3100 | ✓ | | |
|
||||
| [CubePilot Here4][CubePilot Here4] | NEO-F9P | RM3100 | ✓ | | |
|
||||
| [CubePilot Here4][CubePilot Here4] | F9P | RM3100 | ✓ | | |
|
||||
| [CubePilot HerePro][CubePilot HerePro] | F9P | ✓ | ✓ | | |
|
||||
| [Drotek SIRIUS RTK GNSS ROVER (F9P)](https://store-drotek.com/911-sirius-rtk-gnss-rover-f9p.html) | F9P | RM3100 | | [Dual F9P] | |
|
||||
| [DATAGNSS NANO HRTK Receiver](../gps_compass/rtk_gps_datagnss_nano_hrtk.md) | [D10P] | IST8310 | | ✘ | |
|
||||
| [DATAGNSS GEM1305 RTK Receiver](../gps_compass/rtk_gps_gem1305.md) | TAU951M | IST8310 | | ✘ | |
|
||||
| [Femtones MINI2 Receiver](../gps_compass/rtk_gps_fem_mini2.md) | FB672, FB6A0 | ✓ | | | |
|
||||
| [Freefly RTK GPS](../gps_compass/rtk_gps_freefly.md) | F9P | IST8310 | | | |
|
||||
| [GlobalSat BD-100K RTK GNSS](../gps_compass/rtk_gps_globalsat_bd_100k.md) | AG3335A | IST8310 | | | |
|
||||
| [Holybro H-RTK ZED-F9P RTK Rover (DroneCAN variant)](../dronecan/holybro_h_rtk_zed_f9p_gps.md) | F9P | RM3100 | ✓ | [Dual F9P] | |
|
||||
| [Holybro H-RTK ZED-F9P RTK Rover](https://holybro.com/collections/h-rtk-gps/products/h-rtk-zed-f9p-rover) | F9P | RM3100 | | [Dual F9P] | |
|
||||
| [Holybro H-RTK F9P Ultralight](https://holybro.com/products/h-rtk-f9p-ultralight) | F9P | IST8310 | | [Dual F9P] | |
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
# GlobalSat BD-100K RTK GNSS
|
||||
|
||||
The [GlobalSat BD-100K](https://www.globalsat.com.tw/en/product-285502/Dual-Band-RTK-Receiver-for-Drone-and-Autopilot-BD-100K.html) is an L1/L5 dual-band RTK GNSS receiver that connects to the flight controller using UART.
|
||||
It is based on the AIROHA AG3335A and includes a compass, barometer, safety switch, buzzer and LED.
|
||||
Powered by an advanced multi-frequency GNSS engine, the BD-100K delivers centimetre-level positioning, fast RTK convergence, and robust tracking in challenging environments such as urban canyons or dense foliage.
|
||||
GlobalSat has tested this receiver on PX4 v1.17.0 with a [Holybro Pixhawk 6C](../flight_controller/pixhawk6c.md).
|
||||
|
||||
Typical applications include:
|
||||
|
||||
- Drone and autopilot RTK centimetre-level positioning
|
||||
- High-precision flight-control positioning
|
||||
- Robotics and autonomous outdoor systems
|
||||
|
||||

|
||||
|
||||
## Specifications {#specifications}
|
||||
|
||||
- **Receiver:** AIROHA AG3335A
|
||||
- **Constellations:** Multi-constellation, multi-frequency all-in-view tracking; SBAS ranging (WAAS, EGNOS, MSAS and GAGAN)
|
||||
- **Bands:** L1 + L5, with RTK centimetre-level positioning
|
||||
- **RTK:** Fast RTK fix and strong anti-multipath design
|
||||
- **Protocol:** NMEA 0183 V3.01 / V4.1 (GGA, GSA, GSV, RMC, VTG, GLL, ZDA, GRS, GST); AIROHA PAIR proprietary commands (not supported on PX4)
|
||||
- **Update rate:** 1-10Hz (default 5Hz)
|
||||
- **Position accuracy:** <1.5m (CEP50); centimetre-level with RTK corrections
|
||||
- **Sensitivity:** High tracking sensitivity for operation in weak-signal environments; fast time to first fix (TTFF) under low-signal conditions
|
||||
- **Compass:** Built-in (IST8310)
|
||||
- **Barometer:** Built-in (MS5611, not used by PX4)
|
||||
- **Other:** Safety switch, buzzer and tri-colour LED (Pixhawk-compatible status indicators); backup power for hot-start performance
|
||||
- **Antenna:** Integrated dual-band patch antenna
|
||||
- **Interface:** UART (2.8V TTL) on a 10-pin JST-GH connector
|
||||
- **Input voltage:** 5V
|
||||
- **Current draw:** 25mA typical (GNSS); buzzer up to 80mA, LEDs up to 60mA
|
||||
- **Dimensions:** 47.0mm diameter × 17.0mm height (±0.2mm)
|
||||
- **Weight:** 42g (including cable)
|
||||
- **Enclosure:** Water-resistant, with anti-slip bottom design
|
||||
- **Made in:** Taiwan
|
||||
|
||||
## Where to Buy {#store}
|
||||
|
||||
Замовте цей модуль з:
|
||||
|
||||
- [GlobalSat BD-100K](https://www.amazon.com/dp/B0HLH35TNM) GPS/GNSS (Amazon)
|
||||
|
||||
## Hardware Setup {#hardware_setup}
|
||||
|
||||
### Mounting {#mounting}
|
||||
|
||||
The module should be mounted with its arrow facing the front of the vehicle, as far away from the flight controller and other electronics as possible.
|
||||
For more information, see [Mounting a Compass](../assembly/mount_gps_compass.md).
|
||||
|
||||
### Pinouts {#pinouts}
|
||||
|
||||

|
||||
|
||||
### Wiring {#wiring}
|
||||
|
||||
The GlobalSat BD-100K uses UART output via a JST-GH-10P connector.
|
||||
Connect it to the 10-pin `GPS1` port (the "Full GPS + Safety Switch Port") on flight controllers that use the [Pixhawk Connector Standard](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-009%20Pixhawk%20Connector%20Standard.pdf).
|
||||
See [Pinouts](#pinouts) for the pin assignments.
|
||||
The receiver is powered with 5V from the port (pin 1); its UART signals are 2.8V TTL and its I2C signals 3.3V.
|
||||
|
||||
## PX4 Configuration {#px4_configuration}
|
||||
|
||||
PX4 communicates with this receiver using the NMEA protocol (this is not included in firmware for boards with constrained flash).
|
||||
To enable, set [GPS_1_PROTOCOL](../advanced_config/parameter_reference.md#GPS_1_PROTOCOL) to `6` (`NMEA (generic)`) and reboot the vehicle.
|
||||
No baud rate setting is needed: PX4 detects the receiver's factory rate of 230400 baud automatically.
|
||||
|
||||
To use the receiver as a secondary GPS, set [GPS_2_CONFIG](../advanced_config/parameter_reference.md#GPS_2_CONFIG) to the port it is connected to, and [GPS_2_PROTOCOL](../advanced_config/parameter_reference.md#GPS_2_PROTOCOL) to `6`, and reboot.
|
||||
See [Secondary GPS Configuration (UART)](../gps_compass/index.md#secondary-gps-configuration-uart) for more information.
|
||||
|
||||
Set the position of the antenna relative to the vehicle's centre of gravity using [SENS_GNSS0_OFFX](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFX), [SENS_GNSS0_OFFY](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFY) and [SENS_GNSS0_OFFZ](../advanced_config/parameter_reference.md#SENS_GNSS0_OFFZ).
|
||||
|
||||
For RTK setup see [RTK GNSS](../gps_compass/rtk_gps.md).
|
||||
|
||||
## LED Meanings {#led_meanings}
|
||||
|
||||
| LED colour | Status indicator | Опис |
|
||||
| ---------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Red | Індикатор безпеки | Safety switch LED indicator. Drives the internal red LED in coordination with safety switch logic. |
|
||||
| Синій | GNSS LED | GNSS positioning status indicator. |
|
||||
| R, G, B | System Status LED | Used to indicate various UAV flight and system statuses. Controlled via I2C (address 0x54) using the integrated IS31FL3195 driver. |
|
||||
|
||||
## Testing {#testing}
|
||||
|
||||
In the [QGroundControl MAVLink Console](../debug/mavlink_shell.md#qgroundcontrol-mavlink-console), run `gps status` to see the protocol, fix type and number of satellites, or `listener sensor_gnss` to see the published data.
|
||||
For RTK, `fix_type` is `5` for an RTK float solution and `6` for RTK fixed.
|
||||
|
||||
## Further Information {#further_information}
|
||||
|
||||
- [GlobalSat BD-100K](https://www.globalsat.com.tw/en/product-285502/Dual-Band-RTK-Receiver-for-Drone-and-Autopilot-BD-100K.html) (product page)
|
||||
- [BD-100M/BD-100K User Manual](https://www.globalsat.com.tw/files/BD-100MK_user_manual_latest.pdf)
|
||||
- [BD-100K Hardware Data Sheet](https://www.globalsat.com.tw/files/BD-100K_Hardware_Data_Sheet_latest.pdf)
|
||||
@@ -271,7 +271,7 @@ No manual CI configuration is needed.
|
||||
|
||||
### Artifact Collection
|
||||
|
||||
The `Tools/ci/package_build_artifacts.sh` script collects `.deb` files alongside `.px4` and `.elf` artifacts.
|
||||
The `Tools/ci/package_build_artifacts.py` script collects `.deb` files alongside `.px4` and `.elf` artifacts.
|
||||
On tagged releases, `.deb` files are uploaded to both S3 and GitHub Releases.
|
||||
|
||||
## Version Format
|
||||
|
||||
@@ -681,6 +681,23 @@ The Zenoh bridge module does not yet support demux routing — topics listed und
|
||||
You can arbitrarily change the configuration.
|
||||
For example, you could use different default namespaces or use a custom package to store the message definitions.
|
||||
|
||||
### Out-of-Tree Messages
|
||||
|
||||
[Out-of-tree uORB messages](../advanced/out_of_tree_modules.md#out-of-tree-uorb-message-definitions) can be bridged without changing `dds_topics.yaml`.
|
||||
List them in `$EXTERNAL_MODULES_LOCATION/msg/dds_topics.yaml`, which has the same structure:
|
||||
|
||||
```yaml
|
||||
publications:
|
||||
|
||||
- topic: /fmu/out/my_message
|
||||
type: px4_msgs::msg::MyMessage
|
||||
```
|
||||
|
||||
The build appends its `publications`, `subscriptions` and `subscriptions_multi` to those of `dds_topics.yaml`, and stops with an error if a topic appears twice in the same list.
|
||||
|
||||
ROS 2 needs the definitions of these messages in `px4_msgs` too.
|
||||
`Tools/copy_to_ros_ws.sh <ros_ws_dir> <external_modules_location>` copies them into the workspace's `px4_msgs` along with PX4's own messages, and refuses a message with the name of a PX4 message.
|
||||
|
||||
## DDS (ROS 2) Services
|
||||
|
||||
PX4 uXRCE-DDS middleware supports [ROS 2 services](https://docs.ros.org/en/jazzy/Concepts/Basic/About-Services.html).
|
||||
|
||||
@@ -283,6 +283,8 @@ Failures can be triggered through:
|
||||
- an RC switch: `SYS_FAIL_RC_SRC` selects the aux input, and `SYS_FAIL_RC_UNIT` /
|
||||
`SYS_FAIL_RC_MODE` / `SYS_FAIL_RC_INST` define the failure applied while it is on
|
||||
|
||||
Any change of the RC switch selected by `SYS_FAIL_RC_RST` clears all active failures.
|
||||
|
||||
Requires `SYS_FAILURE_EN` to be set; the startup script only starts this module when it is.
|
||||
|
||||
Failures can be applied both in simulation and on real hardware, where the apply-sites are
|
||||
|
||||
@@ -53,7 +53,8 @@ The flag comments are used as label for the failsafe state machine simulation
|
||||
| <a id="fld_fd_motor_failure"></a>fd_motor_failure | `bool` | | | Motor failure |
|
||||
| <a id="fld_fd_motor_stuck_failure"></a>fd_motor_stuck_failure | `bool` | | | Motor-stuck failure during spool-up |
|
||||
| <a id="fld_fd_alt_loss"></a>fd_alt_loss | `bool` | | | Uncommanded altitude loss (rotary-wing, altitude-controlled flight) |
|
||||
| <a id="fld_geofence_breached"></a>geofence_breached | `bool` | | | Geofence breached (one or multiple) |
|
||||
| <a id="fld_gf_emer_breach"></a>gf_emer_breach | `bool` | | | Emergency geofence breached (one or multiple) |
|
||||
| <a id="fld_gf_cont_breach"></a>gf_cont_breach | `bool` | | | Contingency geofence breached (one or multiple) |
|
||||
| <a id="fld_mission_failure"></a>mission_failure | `bool` | | | Mission failure |
|
||||
| <a id="fld_vtol_fixed_wing_system_failure"></a>vtol_fixed_wing_system_failure | `bool` | | | vehicle in fixed-wing system failure failsafe mode (after quad-chute) |
|
||||
| <a id="fld_wind_limit_exceeded"></a>wind_limit_exceeded | `bool` | | | Wind limit exceeded |
|
||||
@@ -128,7 +129,8 @@ bool fd_motor_stuck_failure # Motor-stuck failure during spool-up
|
||||
bool fd_alt_loss # Uncommanded altitude loss (rotary-wing, altitude-controlled flight)
|
||||
|
||||
# Other
|
||||
bool geofence_breached # Geofence breached (one or multiple)
|
||||
bool gf_emer_breach # Emergency geofence breached (one or multiple)
|
||||
bool gf_cont_breach # Contingency geofence breached (one or multiple)
|
||||
bool mission_failure # Mission failure
|
||||
bool vtol_fixed_wing_system_failure # vehicle in fixed-wing system failure failsafe mode (after quad-chute)
|
||||
bool wind_limit_exceeded # Wind limit exceeded
|
||||
|
||||
@@ -8,13 +8,16 @@ pageClass: is-wide-page
|
||||
|
||||
## Fields
|
||||
|
||||
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | ----------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| <a id="fld_geofence_max_dist_triggered"></a>geofence_max_dist_triggered | `bool` | | | true the check for max distance from Home is triggered |
|
||||
| <a id="fld_geofence_max_alt_triggered"></a>geofence_max_alt_triggered | `bool` | | | true the check for max altitude above Home is triggered |
|
||||
| <a id="fld_geofence_custom_fence_triggered"></a>geofence_custom_fence_triggered | `bool` | | | true the check for custom inclusion/exclusion geofence(s) is triggered |
|
||||
| <a id="fld_geofence_action"></a>geofence_action | `uint8` | | | action to take when the geofence is breached |
|
||||
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| <a id="fld_geofence_emer_max_dist_triggered"></a>geofence_emer_max_dist_triggered | `bool` | | | true if the emergency geofence check for max distance from Home is triggered |
|
||||
| <a id="fld_geofence_emer_max_alt_triggered"></a>geofence_emer_max_alt_triggered | `bool` | | | true if the emergency geofence check for max altitude above Home is triggered |
|
||||
| <a id="fld_geofence_emer_custom_fence_triggered"></a>geofence_emer_custom_fence_triggered | `bool` | | | true if the emergency geofence check for custom inclusion/exclusion geofence(s) is triggered |
|
||||
| <a id="fld_geofence_cont_max_dist_triggered"></a>geofence_cont_max_dist_triggered | `bool` | | | true if the contingency geofence check for max distance from Home is triggered |
|
||||
| <a id="fld_geofence_cont_custom_fence_triggered"></a>geofence_cont_custom_fence_triggered | `bool` | | | true if the contingency geofence check for custom inclusion/exclusion geofence(s) is triggered |
|
||||
| <a id="fld_geofence_emer_action"></a>geofence_emer_action | `uint8` | | | action to take when the emergency geofence is breached |
|
||||
| <a id="fld_geofence_cont_action"></a>geofence_cont_action | `uint8` | | | action to take when the contingency geofence is breached, GF_ACTION_NONE while it is disabled |
|
||||
|
||||
## Constants
|
||||
|
||||
@@ -43,11 +46,14 @@ uint8 GF_ACTION_RTL = 3 # switch to AUTO|RTL
|
||||
uint8 GF_ACTION_TERMINATE = 4 # flight termination
|
||||
uint8 GF_ACTION_LAND = 5 # switch to AUTO|LAND
|
||||
|
||||
bool geofence_max_dist_triggered # true the check for max distance from Home is triggered
|
||||
bool geofence_max_alt_triggered # true the check for max altitude above Home is triggered
|
||||
bool geofence_custom_fence_triggered # true the check for custom inclusion/exclusion geofence(s) is triggered
|
||||
bool geofence_emer_max_dist_triggered # true if the emergency geofence check for max distance from Home is triggered
|
||||
bool geofence_emer_max_alt_triggered # true if the emergency geofence check for max altitude above Home is triggered
|
||||
bool geofence_emer_custom_fence_triggered # true if the emergency geofence check for custom inclusion/exclusion geofence(s) is triggered
|
||||
bool geofence_cont_max_dist_triggered # true if the contingency geofence check for max distance from Home is triggered
|
||||
bool geofence_cont_custom_fence_triggered # true if the contingency geofence check for custom inclusion/exclusion geofence(s) is triggered
|
||||
|
||||
uint8 geofence_action # action to take when the geofence is breached
|
||||
uint8 geofence_emer_action # action to take when the emergency geofence is breached
|
||||
uint8 geofence_cont_action # action to take when the contingency geofence is breached, GF_ACTION_NONE while it is disabled
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -16,6 +16,7 @@ pageClass: is-wide-page
|
||||
| <a id="fld_channel_count"></a>channel_count | `uint8` | | | Number of valid channels |
|
||||
| <a id="fld_rssi"></a>rssi | `uint8` | | | Receive signal strength index |
|
||||
| <a id="fld_signal_lost"></a>signal_lost | `bool` | | | Control signal lost, should be checked together with topic timeout |
|
||||
| <a id="fld_calibrated"></a>calibrated | `bool` | | | RC is calibrated (RC_CHAN_CNT and at least one stick mapping set) |
|
||||
| <a id="fld_frame_drop_count"></a>frame_drop_count | `uint32` | | | Number of dropped frames |
|
||||
|
||||
## Source Message
|
||||
@@ -33,6 +34,7 @@ float32[18] channels # Scaled to -1..1 (throttle: 0..1)
|
||||
uint8 channel_count # Number of valid channels
|
||||
uint8 rssi # Receive signal strength index
|
||||
bool signal_lost # Control signal lost, should be checked together with topic timeout
|
||||
bool calibrated # RC is calibrated (RC_CHAN_CNT and at least one stick mapping set)
|
||||
uint32 frame_drop_count # Number of dropped frames
|
||||
```
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# PX4-Autopilot v1.17.0 Release Notes
|
||||
|
||||
<Badge type="info" text="Stable" />
|
||||
|
||||
<script setup>
|
||||
import { useData } from 'vitepress'
|
||||
const { site } = useData();
|
||||
@@ -19,11 +17,6 @@ This release adds [Altitude Cruise](../flight_modes_mc/altitude_cruise.md) mode,
|
||||
The in-tree Zenoh middleware matures to `rmw_zenoh` compatibility, simulation gains Gazebo Jetty support and Ackermann SIH, and three new INS drivers (MicroStrain, sbgECom, EULER-NAV) join the ecosystem alongside Septentrio GNSS resilience reporting and barometer auto-calibration against GNSS height.
|
||||
PX4 v1.17 also includes user-visible MAVLink, RC, logging, failsafe, and rover refinements across the stack.
|
||||
|
||||
:::warning
|
||||
PX4 v1.17 is documented on an alpha/beta release branch.
|
||||
See [PX4-Autopilot `main` Release Notes](../releases/main.md) for newer changes on `main`.
|
||||
:::
|
||||
|
||||
## Прочитайте перед оновленням
|
||||
|
||||
Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# PX4-Autopilot v1.18.0 Release Notes
|
||||
|
||||
<Badge type="warning" text="Beta" />
|
||||
<Badge type="info" text="Stable" />
|
||||
|
||||
<script setup>
|
||||
import { useData } from 'vitepress'
|
||||
@@ -18,12 +18,6 @@ PX4 v1.18 focuses on the parts of the system that operators and integrators need
|
||||
|
||||
Around these changes, v1.18 adds in-flight failsafes for losing Remote ID, GNSS or a parachute, hardens how PX4 processes data from external devices and links, and supports a dozen new flight controllers. It also introduces a bench test suite that lets teams check a firmware build on real hardware before it reaches a vehicle, which gives manufacturers a repeatable way to qualify PX4 on their own products.
|
||||
|
||||
:::warning
|
||||
PX4 v1.18 is in beta testing.
|
||||
Update these notes with features that are going to be in `v1.18`.
|
||||
For new features that aren't going into v1.18, update [`main`](../releases/main.md).
|
||||
:::
|
||||
|
||||
## Getting PX4 v1.18
|
||||
|
||||
**Fly it.** Read the [Upgrade Guide](#upgrade-guide) first, then install v1.18 from the firmware screen in _QGroundControl_, which picks the right file for your board (see [Loading Firmware](../config/firmware.md)).
|
||||
@@ -221,6 +215,7 @@ For users upgrading from v1.17, please take a moment to review the following bef
|
||||
- ZeroOne X6 Series V2: TDK IIM42652 IMU and Bosch BMP581 barometer support. ([PX4-Autopilot#27475](https://github.com/PX4/PX4-Autopilot/pull/27475))
|
||||
- ZeroOne X6: BMM350 compass compatibility. ([PX4-Autopilot#26870](https://github.com/PX4/PX4-Autopilot/pull/26870))
|
||||
- [Pixhawk 6C](../flight_controller/pixhawk6c.md): RM3100 fallback for the internal compass. ([PX4-Autopilot#27299](https://github.com/PX4/PX4-Autopilot/pull/27299))
|
||||
- [ARK Electronics ARKV6X](../flight_controller/ark_v6x.md): support for the ARKV6X-32X, which has three ST LSM6DSV32X IMUs. ([PX4-Autopilot#29767](https://github.com/PX4/PX4-Autopilot/pull/29767))
|
||||
- ModalAI VOXL 2: the separate board variants were merged into a single build, and PX4 for VOXL 2 is now packaged as a Debian package (`voxl-px4_*_arm64.deb`) that is built in CI and published with every PX4 release. ([PX4-Autopilot#26727](https://github.com/PX4/PX4-Autopilot/pull/26727))
|
||||
- ModalAI VOXL 2: INA226 and INA228 power monitor support, selectable via the `POWER_MANAGER` startup option, and the Lightware laser rangefinder driver enabled. ([PX4-Autopilot#26840](https://github.com/PX4/PX4-Autopilot/pull/26840), [PX4-Autopilot#27620](https://github.com/PX4/PX4-Autopilot/pull/27620))
|
||||
- ARK FMU-v6X: support for the ARKV6X-32X revision, with three LSM6DSV32X IMUs in place of the IIM-42653s. ([PX4-Autopilot#29769](https://github.com/PX4/PX4-Autopilot/pull/29769))
|
||||
@@ -250,6 +245,7 @@ For users upgrading from v1.17, please take a moment to review the following bef
|
||||
- ICM-45686: a single bad `WHO_AM_I` read after power-up no longer fails the probe. ([PX4-Autopilot#28319](https://github.com/PX4/PX4-Autopilot/pull/28319))
|
||||
- IIS2MDC magnetometer: the published temperature is read from the temperature registers instead of repeating the X field. ([PX4-Autopilot#28336](https://github.com/PX4/PX4-Autopilot/pull/28336))
|
||||
- AFBR-S50 rangefinders report their device type instead of an unknown device. ([PX4-Autopilot#29104](https://github.com/PX4/PX4-Autopilot/pull/29104))
|
||||
- Boards with a PX4IO coprocessor ship IO firmware built from the release sources and update the coprocessor on the first boot after upgrading. The per-board copies of the IO firmware had drifted into 7 versions, so most boards carried an outdated IO image. ([PX4-Autopilot#29857](https://github.com/PX4/PX4-Autopilot/pull/29857))
|
||||
- NXP i.MX RT: each ADC is initialised, so the second ADC no longer stays unconfigured. ([PX4-Autopilot#28313](https://github.com/PX4/PX4-Autopilot/pull/28313))
|
||||
- `i2c_launcher`: `start -b <bus>` without `-t` no longer gives the INA226 an invalid battery index. ([PX4-Autopilot#28329](https://github.com/PX4/PX4-Autopilot/pull/28329))
|
||||
- NXP MR-VMU-TROPIC: the bootloader can be flashed from _QGroundControl_ again. ([PX4-Autopilot#29180](https://github.com/PX4/PX4-Autopilot/pull/29180))
|
||||
@@ -326,8 +322,12 @@ For users upgrading from v1.17, please take a moment to review the following bef
|
||||
- A mission that ends on an exhausted DO_JUMP no longer reports "Waypoint could not be read" at critical severity. ([PX4-Autopilot#28464](https://github.com/PX4/PX4-Autopilot/pull/28464))
|
||||
- With more than one battery, a battery that disconnects in flight no longer holds the [battery level failsafe](../config/safety.md#battery-level-failsafe) at the critical level when another battery reaches the emergency level, so with [COM_LOW_BAT_ACT](../advanced_config/parameter_reference.md#COM_LOW_BAT_ACT) set to `3` the vehicle now lands at the emergency level instead of continuing to return. ([PX4-Autopilot#29028](https://github.com/PX4/PX4-Autopilot/pull/29028))
|
||||
- Home is captured on the ground before the motors spin up, including when arming straight into a mission, so prop wash no longer disturbs the home altitude and a mission started at arming no longer uses a stale home altitude. ([PX4-Autopilot#27734](https://github.com/PX4/PX4-Autopilot/pull/27734))
|
||||
- The home position is no longer republished on every commander cycle while the vehicle is on the ground with a GNSS fix but no valid global position estimate. ([PX4-Autopilot#29911](https://github.com/PX4/PX4-Autopilot/pull/29911))
|
||||
- Uploading a mission identical to the stored one restarts it from the first item. After a reboot such a mission previously reported itself finished immediately after starting. ([PX4-Autopilot#28775](https://github.com/PX4/PX4-Autopilot/pull/28775))
|
||||
- A geofence that fails to load is cleared and reported to the operator (new `GF_STATUS_FAILED`), instead of leaving a partly loaded fence active. ([PX4-Autopilot#28603](https://github.com/PX4/PX4-Autopilot/pull/28603))
|
||||
- After its climb, a Return to a mission landing without `DO_LAND_START` ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 1 or 3, or 0 as a last resort) flies to the landing at altitude before it descends, and a VTOL transitions back to multicopter there.
|
||||
Since PX4 v1.15 a multicopter descended right after the climb while flying to the landing and could touch down short of it, and a VTOL in fixed-wing flight flew a fixed-wing landing.
|
||||
Mission now does the same after the climb it adds when it starts or resumes below a landing item. ([PX4-Autopilot#29688](https://github.com/PX4/PX4-Autopilot/pull/29688))
|
||||
|
||||
## Оцінки
|
||||
|
||||
@@ -438,6 +438,7 @@ For users upgrading from v1.17, please take a moment to review the following bef
|
||||
- With signing active, a full-size signed frame is no longer sent without its signature, which made every MAVLink log streaming frame unparsable. ([PX4-Autopilot#29164](https://github.com/PX4/PX4-Autopilot/pull/29164))
|
||||
- With signing active, unsigned `ADSB_VEHICLE` and `COLLISION` are only accepted on links in `ADS-B/Traffic (uAvionix)` mode (see the [Upgrade Guide](#upgrade-guide)). ([PX4-Autopilot#29488](https://github.com/PX4/PX4-Autopilot/pull/29488))
|
||||
- Log requests (`LOG_REQUEST_LIST`, `LOG_REQUEST_DATA`, `LOG_REQUEST_END`, `LOG_ERASE`) and `TUNNEL` messages are only handled when addressed to this vehicle. On a link shared by several vehicles, a `LOG_ERASE` for one vehicle previously erased the logs of all of them. ([PX4-Autopilot#28585](https://github.com/PX4/PX4-Autopilot/pull/28585), [PX4-Autopilot#28597](https://github.com/PX4/PX4-Autopilot/pull/28597))
|
||||
- A `LOG_REQUEST_DATA` after `LOG_ERASE` no longer crashes the log handler. Erasing the logs now also resets the open log entry and the log list, so a download after an erase starts with a new `LOG_REQUEST_LIST`. ([PX4-Autopilot#29831](https://github.com/PX4/PX4-Autopilot/pull/29831))
|
||||
- MAVLink FTP checks write access when a file is opened for writing, against the file being opened, and boards that store files in `/fs/flash` accept FTP writes again. Resent FTP replies are complete, and a lost Open reply for a file whose size ends in `5` no longer fails the transfer. ([PX4-Autopilot#28584](https://github.com/PX4/PX4-Autopilot/pull/28584), [PX4-Autopilot#28652](https://github.com/PX4/PX4-Autopilot/pull/28652), [PX4-Autopilot#28582](https://github.com/PX4/PX4-Autopilot/pull/28582), [PX4-Autopilot#29535](https://github.com/PX4/PX4-Autopilot/pull/29535))
|
||||
- A rangefinder peripheral on a link in distance sensor mode, such as the ARK DIST, ignores the `DISTANCE_SENSOR` messages the flight controller streams back, instead of republishing them as a second rangefinder. ([PX4-Autopilot#29454](https://github.com/PX4/PX4-Autopilot/pull/29454))
|
||||
|
||||
|
||||
+30
-12
@@ -16,8 +16,8 @@ const { site } = useData();
|
||||
This contains changes to the PX4 `main` branch that are not included in the next release ([PX4 v1.18](../releases/1.18.md)).
|
||||
|
||||
:::warning
|
||||
PX4 v1.18 is in beta testing.
|
||||
Update these notes with features that are going to be in `main` (PX4 v2.0 or later) but not the PX4 v1.18 release.
|
||||
These notes cover changes on `main` since PX4 v1.18, the current stable release.
|
||||
Update them with features that are going to be in `main` (PX4 v2.0 or later).
|
||||
:::
|
||||
|
||||
## Прочитайте перед оновленням
|
||||
@@ -32,7 +32,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
|
||||
- `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.
|
||||
|
||||
- `PCA9685_SCHD_HZ` has been removed. `PCA9685_PWM_FREQ` now sets both the PWM frequency of the PCA9685 and the rate at which values are pushed to it; if you had `PCA9685_SCHD_HZ` set to a non-default value, set `PCA9685_PWM_FREQ` to it after upgrading. Frequencies above 400 Hz (previously only usable in duty-cycle mode) are no longer supported.
|
||||
- `PCA9685_SCHD_HZ` has been removed. `PCA9685_PWM_FREQ` now sets both the PWM frequency of the PCA9685 and the rate at which values are pushed to it; if you had `PCA9685_SCHD_HZ` set to a non-default value, set `PCA9685_PWM_FREQ` to it after upgrading. Frequencies above 400Hz (previously only usable in duty-cycle mode) are no longer supported.
|
||||
|
||||
- **Flight controller firmware no longer embeds CAN node firmware.** The `px4_fmu-v5_uavcanv0periph` build, which carried CUAV CAN GPS v1 firmware in its ROMFS so the flight controller could update the GPS over DroneCAN, and the `CONFIG_BOARD_UAVCAN_PERIPHERALS` board option behind it have been removed. Use the standard `px4_fmu-v5_default` firmware and update the GPS from the SD card with `cuav_can-gps-v1_default.uavcan.bin` from the release instead; see [DroneCAN Firmware Update](../dronecan/index.md#firmware-update). ([PX4-Autopilot#28870](https://github.com/PX4/PX4-Autopilot/pull/28870))
|
||||
|
||||
@@ -98,7 +98,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
- **The primary GNSS receiver defaults to Auto.**
|
||||
[SENS_GNSS_PRIME](../advanced_config/parameter_reference.md#SENS_GNSS_PRIME) now defaults to `-1` (Auto) instead of `0`, and saved values are not changed: with Auto the moving base of a moving base pair is the primary receiver, and without one, a receiver that passes the strict checks ([GNSS_REQ_EPH](../advanced_config/parameter_reference.md#GNSS_REQ_EPH) and the other `GNSS_REQ_*` parameters) is used, then one with an RTK fixed solution.
|
||||
To keep preferring the receiver on the main serial port, set `SENS_GNSS_PRIME` to `0`.
|
||||
In flight the primary receiver is now also left when it has failed the strict checks for 10 s while the other receiver passed them. ([PX4-Autopilot#28798](https://github.com/PX4/PX4-Autopilot/pull/28798))
|
||||
In flight the primary receiver is now also left when it has failed the strict checks for 10s while the other receiver passed them. ([PX4-Autopilot#28798](https://github.com/PX4/PX4-Autopilot/pull/28798))
|
||||
|
||||
- **Re-check the motor failure trigger thresholds.**
|
||||
`MOTFAIL_OFF` and `MOTFAIL_TIME` are replaced by a separate band and trigger time per direction ([MOTFAIL_OVER](../advanced_config/parameter_reference.md#MOTFAIL_OVER)/[MOTFAIL_OVR_TIME](../advanced_config/parameter_reference.md#MOTFAIL_OVR_TIME) and [MOTFAIL_UNDER](../advanced_config/parameter_reference.md#MOTFAIL_UNDER)/[MOTFAIL_UND_TIME](../advanced_config/parameter_reference.md#MOTFAIL_UND_TIME)), and are not migrated: the new parameters start at their defaults. The check now compares a low-pass filtered current residual instead of the instantaneous value, so the thresholds are worth re-deriving: see [Motor Failure Detection > Upgrading from PX4 v1.18](../config/motor_failure_detection.md#upgrading-from-px4-v1-18). ([PX4-Autopilot#27917](https://github.com/PX4/PX4-Autopilot/pull/27917))
|
||||
@@ -113,11 +113,19 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
The check is disabled with `FD_TILT_ERROR` set to -1.
|
||||
The `fd_roll` and `fd_pitch` fields of [FailureDetectorStatus](../msg_docs/FailureDetectorStatus.md) are replaced by `fd_tilt`.
|
||||
|
||||
- **The failsafe flag `geofence_breached` is renamed to `gf_emer_breach`.**
|
||||
The field of [FailsafeFlags](../msg_docs/FailsafeFlags.md) (`failsafe_flags`) now names the emergency geofence, next to the new `gf_cont_breach` flag of the contingency geofence.
|
||||
Both names are short because the message is at the logger's format limit.
|
||||
ROS 2 applications and log analysis that read `geofence_breached` must use the new name.
|
||||
|
||||
- **The `geofence_result` fields of the existing geofence are renamed.**
|
||||
`geofence_max_dist_triggered`, `geofence_max_alt_triggered`, `geofence_custom_fence_triggered` and `geofence_action` of [GeofenceResult](../msg_docs/GeofenceResult.md) are now `geofence_emer_max_dist_triggered`, `geofence_emer_max_alt_triggered`, `geofence_emer_custom_fence_triggered` and `geofence_emer_action`.
|
||||
They name the emergency geofence, next to the new `geofence_cont_*` fields of the contingency geofence.
|
||||
Log analysis that reads the old names must use the new ones.
|
||||
|
||||
## Інші зміни
|
||||
|
||||
- Fast mission Return modes ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 2 and 4) now skip `DO_JUMP` commands (loops) while following the mission path. ([PX4-Autopilot#26993: fix(navigator): goToNextPositionItem skip loops when required](https://github.com/PX4/PX4-Autopilot/pull/26993))
|
||||
- A fixed-wing vehicle landing at the end of a reverse mission Return ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 2 or 4) uses the home altitude again instead of flaring at flight altitude, a regression in the v1.18 pre-releases.
|
||||
- A Return to the mission landing ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 1 or 3, or 0 as a last resort) uses the current return altitude for its climb, geofence detours and time estimate. It used the one from when the mission landing was first selected, often on the ground, so a multicopter could fly to the landing without climbing to [RTL_RETURN_ALT](../advanced_config/parameter_reference.md#RTL_RETURN_ALT), a regression in the v1.18 pre-releases.
|
||||
- A mission Return mode ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 1, 2, 3 or 4) now reads the current mission on the cycle that activates it, so a mission uploaded or changed right as Return starts is used for the return type, the geofence avoidance destination and the starting item. The fast variants also discard the item index they recorded from an earlier mission when a different one is current. ([PX4-Autopilot#28748](https://github.com/PX4/PX4-Autopilot/pull/28748))
|
||||
- A `DO_JUMP` whose counter cannot be written to storage, for example on a failing SD card, is now skipped with a message to the operator. Previously the jump was taken again on every pass, repeating the same mission segment until a failsafe stopped the mission. ([PX4-Autopilot#28752](https://github.com/PX4/PX4-Autopilot/pull/28752))
|
||||
- Return mode now stops in the cycle it is left, not one cycle later. Before, a precision landing selected right after Return was partly reset, and Return selected again after one cycle of Hold hovered in place instead of returning. ([PX4-Autopilot#29444](https://github.com/PX4/PX4-Autopilot/pull/29444))
|
||||
@@ -126,14 +134,14 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
- With [RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 5 and no rally point, a fixed-wing vehicle now circles where Return started, whatever [RTL_LAND_DELAY](../advanced_config/parameter_reference.md#RTL_LAND_DELAY) is.
|
||||
It used to land there when `RTL_LAND_DELAY` was not -1, with the altitude it was flying at as the ground altitude.
|
||||
VTOLs and multicopters still follow `RTL_LAND_DELAY`.
|
||||
- After its climb, a Return to a mission landing without `DO_LAND_START` ([RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 1 or 3, or 0 as a last resort) flies to the landing at altitude before it descends, and a VTOL transitions back to multicopter there.
|
||||
Since PX4 v1.15 a multicopter descended right after the climb while flying to the landing and could touch down short of it, and a VTOL in fixed-wing flight flew a fixed-wing landing.
|
||||
Mission now does the same after the climb it adds when it starts or resumes below a landing item.
|
||||
- With [RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 6, the check whether Home is within reach now includes the landing approach at Home for a VTOL in fixed-wing flight, as the Return and its remaining time estimate already did.
|
||||
Home can therefore drop out of reach at a different battery level than before.
|
||||
|
||||
### Підтримка обладнання
|
||||
|
||||
- [Accton Godwit G-FH7](../flight_controller/accton-godwit_gfh7.md): compact STM32H753 flight controller with dual IMUs (ICM-42688-P, LSM6DSK320X), a DPS368 barometer, an IST8310 magnetometer, 8 bidirectional DShot outputs, and an analog OSD. ([PX4-Autopilot#28817](https://github.com/PX4/PX4-Autopilot/pull/28817))
|
||||
- [AIFoundry Erbium](../flight_controller/aifoundry_erbium.md): new experimental target for the AIFoundry Erbium RISC-V (ET-Minion) chip, which runs the SIH quadcopter on the `erbium_emu` emulator until silicon is available. ([PX4-Autopilot#29094](https://github.com/PX4/PX4-Autopilot/pull/29094))
|
||||
- [CyberCraft CyberX-v10](../flight_controller/cyberx_v10.md): STM32H743 autopilot with PX4IO, triple IMUs (ICM-20689, BMI088, ICM-42688-P), dual barometers (BMP581, ICP-20100), an IST8310 magnetometer, and 100 Mbps Ethernet. ([PX4-Autopilot#28797](https://github.com/PX4/PX4-Autopilot/pull/28797))
|
||||
- [DroneCAN ESCs](../dronecan/escs.md) no longer need to set `UAVCAN_PUB_ARM` as `ArmingStatus` is published automatically whenever `UAVCAN_ENABLE` is `3` (ESC output enabled). ([PX4-Autopilot#28364](https://github.com/PX4/PX4-Autopilot/pull/28364))
|
||||
- [DroneCAN ESC](../dronecan/escs.md) channels assigned a non-motor function (e.g. _Peripheral via Actuator Set_) can be driven bidirectionally via `UAVCAN_EC_SIGNED` (signed RawCommand, 0 = neutral). Motors continue to use `CA_R_REV`. ([PX4-Autopilot#26903](https://github.com/PX4/PX4-Autopilot/pull/26903))
|
||||
- [DroneCAN](../dronecan/index.md) batteries that set the charging flag in `BatteryInfo` now report a charging state (shown in MAVLink `BATTERY_STATUS.charge_state`) as long as the pack has no low, critical or emergency warning. Charging does not count as a battery warning, so it does not affect the [battery level failsafe](../config/safety.md#battery-level-failsafe) or the arming checks. ([PX4-Autopilot#28422](https://github.com/PX4/PX4-Autopilot/pull/28422), [PX4-Autopilot#29012](https://github.com/PX4/PX4-Autopilot/pull/29012))
|
||||
@@ -141,6 +149,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
([PX4-Autopilot#28782: feat(tools): add mavlink_serial_bridge.py reference bridge application](https://github.com/PX4/PX4-Autopilot/pull/28782))
|
||||
- [Agam FloRange](../dronecan/agam_florange.md): new DroneCAN optical flow, distance sensor and IMU module (PAA3905, AFBR-S50LV85D, ICM-42688-P). ([PX4-Autopilot#28901](https://github.com/PX4/PX4-Autopilot/pull/28901))
|
||||
- [Agam Autopilot v6X-RT](../flight_controller/agam_v6xrt.md): new FMUv6X-RT flight controller (NXP i.MX RT1176) with triple-redundant IMUs and 100BASE-T1 Ethernet. ([PX4-Autopilot#28285](https://github.com/PX4/PX4-Autopilot/pull/28285))
|
||||
- [Syro V6X](../flight_controller/syro_v6x.md): new FMUv6X-based flight controller (STM32H753) with two ICM-45686 IMUs, a BMI088 IMU, two BMP581 barometers and a BMM350 magnetometer. ([PX4-Autopilot#29784](https://github.com/PX4/PX4-Autopilot/pull/29784))
|
||||
- [NXP MR-NavQ95](../flight_controller/nxp_mr_navq95.md): new i.MX 95 flight controller with PX4 on the Cortex-M7 core and Linux on the Cortex-A55 cores. ([PX4-Autopilot#29055](https://github.com/PX4/PX4-Autopilot/pull/29055))
|
||||
- [Avian Automata 305AP](../flight_controller/avianautomata_305ap.md): new STM32H743 flight controller with two IMU slots, two CAN buses and eight DShot outputs. ([PX4-Autopilot#29689](https://github.com/PX4/PX4-Autopilot/pull/29689))
|
||||
|
||||
@@ -157,6 +166,12 @@ 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)).
|
||||
- [Contingency geofence](../config/safety.md#contingency-geofence): a second boundary at a horizontal margin inside the geofence ([GF_CONT_H_MARGIN](../advanced_config/parameter_reference.md#GF_CONT_H_MARGIN)), with its own action ([GF_CONT_ACTION](../advanced_config/parameter_reference.md#GF_CONT_ACTION)).
|
||||
A vehicle can for example hold at the contingency geofence, and only terminate if it still crosses the geofence.
|
||||
The names follow the SORA framework: messages about a breach or a refused target now call the existing geofence the emergency geofence.
|
||||
The margin applies to the maximum distance from Home and to the Geofence Plan.
|
||||
Outside the contingency geofence missions are rejected, arming is denied unless its action is None, and _Go to location_ targets are refused unless its action is None or Warning.
|
||||
Return mode plans its route with the margin added.
|
||||
- [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)).
|
||||
- [Failure injection](../debug/failure_injection.md) ( [SYS_FAILURE_EN](../advanced_config/parameter_reference.md#SYS_FAILURE_EN)) has been significantly extended. (PX4-Autopilot#27572, PX4-Autopilot#27832, PX4-Autopilot#27950)
|
||||
@@ -169,6 +184,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
- Added `RTL_TYPE=6` for battery-aware home priority return ([PX4-Autopilot#26968](https://github.com/PX4/PX4-Autopilot/pull/26968)).
|
||||
Returns to home if the estimated flight time to home is within the remaining battery time; otherwise returns to the closest rally point if it is closer than home.
|
||||
Falls back to the closest safe point (home or rally) if battery time remaining is unavailable.
|
||||
The [distance-aware return failsafe](../config/safety.md#distance-aware-return-failsafe) engages once neither home nor that rally point is within reach.
|
||||
- [Secure boot](../advanced_config/bootloader_secure_boot.md#multi-part-signed-images) now supports applications that can boot securely from SD card or eMMC. ([PX4-Autopilot#28228](https://github.com/PX4/PX4-Autopilot/pull/28228))
|
||||
- [Motor failure detection](../config/motor_failure_detection.md) now compares a low-pass filtered current residual against a separate trip band and trigger time for the undercurrent and overcurrent directions, instead of one symmetric band on the instantaneous current, and the current model gains an offset term. See [Upgrading from PX4 v1.18](../config/motor_failure_detection.md#upgrading-from-px4-v1-18). ([PX4-Autopilot#27711](https://github.com/PX4/PX4-Autopilot/pull/27711), [PX4-Autopilot#27917](https://github.com/PX4/PX4-Autopilot/pull/27917))
|
||||
- For MC, arming check can detect [stuck motors](../config/safety.md#motor-not-spinning-after-arming) and disarm before takeoff. ([PX4-Autopilot#29436](https://github.com/PX4/PX4-Autopilot/pull/29436))
|
||||
@@ -181,6 +197,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
### Датчики
|
||||
|
||||
- Enable [u-blox Diagnostics with u-center](../gps_compass/u-center.md) while the vehicle's GPS runs as usual. ([PX4-Autopilot#28280](https://github.com/PX4/PX4-Autopilot/pull/28280)).
|
||||
- [Benewake TFmini Plus](../sensor/tfmini.md) rangefinder support: select it with [SENS_TFMINI_HW](../advanced_config/parameter_reference.md#SENS_TFMINI_HW) = `4` (0.1–12m, 3.6° field of view). For `TFMINI / TFMINI-S` (`1`) the driver now reports a 2° field of view (was 2.3°). ([PX4-Autopilot#29575](https://github.com/PX4/PX4-Autopilot/pull/29575))
|
||||
|
||||
### Симуляція
|
||||
|
||||
@@ -202,8 +219,9 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
|
||||
### MAVLink
|
||||
|
||||
- ESC/motor health is now reported in [SYS_STATUS](https://mavlink.io/en/messages/common.html#SYS_STATUS) using the [MAV_SYS_STATUS_SENSOR_PROPULSION](https://mavlink.io/en/messages/common.html#MAV_SYS_STATUS_SENSOR_PROPULSION) bit instead of [MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS](https://mavlink.io/en/messages/common.html#MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS).
|
||||
([PX4-Autopilot#29192](https://github.com/PX4/PX4-Autopilot/pull/29192)).
|
||||
- [SYS_STATUS](https://mavlink.io/en/messages/common.html#SYS_STATUS) now reports ESC/motor health using the [MAV_SYS_STATUS_SENSOR_PROPULSION](https://mavlink.io/en/messages/common.html#MAV_SYS_STATUS_SENSOR_PROPULSION) bit, and the safety interlock using [MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS](https://mavlink.io/en/messages/common.html#MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS).
|
||||
`MOTOR_OUTPUTS` previously reported ESC/motor health: it is now enabled when safety is off (always, with the default [COM_SAFETY_MODE](../advanced_config/parameter_reference.md#COM_SAFETY_MODE) = `Always off`), and its health bit is always set.
|
||||
([PX4-Autopilot#29192](https://github.com/PX4/PX4-Autopilot/pull/29192), [PX4-Autopilot#29721](https://github.com/PX4/PX4-Autopilot/pull/29721))
|
||||
- [SYS_STATUS](https://mavlink.io/en/messages/common.html#SYS_STATUS) now sets the [MAV_SYS_STATUS_EXTENSION_USED](https://mavlink.io/en/messages/common.html#MAV_SYS_STATUS_EXTENSION_USED) flag in `onboard_control_sensors_present` when extended sensor fields are used.
|
||||
- [TIME_ESTIMATE_TO_TARGET](https://mavlink.io/en/messages/common.html#TIME_ESTIMATE_TO_TARGET) reports `safe_return` as `-1` (landed or no estimate) when Return has no time estimate: before Home is set, on the ground unless Return would follow a mission landing, and with [RTL_TYPE](../advanced_config/parameter_reference.md#RTL_TYPE) = 2 or 4 and a valid mission.
|
||||
It used to send `0`, or an undefined value with `RTL_TYPE` 2 and 4.
|
||||
@@ -229,7 +247,7 @@ Please continue reading for [upgrade instructions](#upgrade-guide).
|
||||
### Fixed-wing
|
||||
|
||||
- TECS underspeed protection now starts at the minimum airspeed ([FW_AIRSPD_MIN](../advanced_config/parameter_reference.md#FW_AIRSPD_MIN)) and is fully active at 90% of it, or halfway to [FW_AIRSPD_STALL](../advanced_config/parameter_reference.md#FW_AIRSPD_STALL) if that is higher. Previously it only started 15% of trim airspeed below the minimum airspeed. The roll angle is limited towards 20° (or [FW_R_LIM](../advanced_config/parameter_reference.md#FW_R_LIM) if lower) while undersped, and the altitude reference is reset to avoid a pitch-up on recovery. ([PX4-Autopilot#26859](https://github.com/PX4/PX4-Autopilot/pull/26859))
|
||||
- Fixed-wing course control now maps the course setpoint to a heading using the [true airspeed](../config_fw/airspeed_scale_handling.md#airspeed-in-px4) setpoint, so the wind triangle against the estimated wind is also correct at altitude. Previously it used the equivalent airspeed setpoint, which at 3000 m and 15 m/s airspeed pointed the heading about 7° too far into a 10 m/s crosswind and left the vehicle a few metres upwind of its track. ([PX4-Autopilot#29567](https://github.com/PX4/PX4-Autopilot/pull/29567))
|
||||
- Fixed-wing course control now maps the course setpoint to a heading using the [true airspeed](../config_fw/airspeed_scale_handling.md#airspeed-in-px4) setpoint, so the wind triangle against the estimated wind is also correct at altitude. Previously it used the equivalent airspeed setpoint, which at 3000m and 15m/s airspeed pointed the heading about 7° too far into a 10m/s crosswind and left the vehicle a few metres upwind of its track. ([PX4-Autopilot#29567](https://github.com/PX4/PX4-Autopilot/pull/29567))
|
||||
|
||||
### Rover
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ Community members are encouraged to document changes as they are merged into `ma
|
||||
|
||||
### Create the Release Branch
|
||||
|
||||
Once the next release version is decided, create the new release branch from `main` in PX4-Autopilot and the companion repositories:
|
||||
Once the next release version is decided, create the new release branch from `main` in PX4-Autopilot:
|
||||
|
||||
```sh
|
||||
# PX4-Autopilot
|
||||
@@ -83,17 +83,16 @@ git checkout -b release/1.18
|
||||
git push origin release/1.18
|
||||
```
|
||||
|
||||
Matching release branches must also be created in:
|
||||
The companion repositories get a matching release branch without further steps:
|
||||
|
||||
- [PX4/px4_msgs](https://github.com/PX4/px4_msgs)
|
||||
- [Auterion/px4-ros2-interface-lib](https://github.com/Auterion/px4-ros2-interface-lib)
|
||||
- [PX4/px4_msgs](https://github.com/PX4/px4_msgs): created right away by the `create_px4_msgs_release_branch.yml` workflow in PX4-Autopilot.
|
||||
- [Auterion/px4-ros2-interface-lib](https://github.com/Auterion/px4-ros2-interface-lib): created within a day by that repository's [create_release_branch.yml](https://github.com/Auterion/px4-ros2-interface-lib/blob/main/.github/workflows/create_release_branch.yml) workflow, which checks PX4 for new release branches.
|
||||
|
||||
After creating the companion branches, update the [ROS integration test workflow](https://github.com/PX4/PX4-Autopilot/blob/main/.github/workflows/ros_integration_tests.yml) on the release branch to clone `px4-ros2-interface-lib` from the matching release branch:
|
||||
Check that both branches exist.
|
||||
Either workflow can also be run by hand from the Actions tab of its repository, with the release branch name as input.
|
||||
|
||||
```diff
|
||||
- git clone --recursive https://github.com/Auterion/px4-ros2-interface-lib.git
|
||||
+ git clone --recursive --branch release/1.18 https://github.com/Auterion/px4-ros2-interface-lib.git
|
||||
```
|
||||
The [ROS integration tests](https://github.com/PX4/PX4-Autopilot/blob/main/.github/workflows/ros_integration_tests.yml) build `px4-ros2-interface-lib` at the commit pinned in [Tools/ros2/ros2.repos](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/ros2/ros2.repos), and the new release branch starts with the pin it inherited from `main`.
|
||||
When the PX4 release branch needs a fix from the library, update the pin on the release branch to a commit from the library's matching release branch.
|
||||
|
||||
:::warning
|
||||
Once the release branches are created, they only accept bug fixes and regression fixes. All new feature development continues on `main`.
|
||||
@@ -232,6 +231,11 @@ git tag -s v1.18.0 -m "v1.18.0"
|
||||
git push origin v1.18.0
|
||||
```
|
||||
|
||||
Pushing a stable tag also tags [PX4/px4_msgs](https://github.com/PX4/px4_msgs).
|
||||
The [tag_px4_msgs_from_px4_release_tag.yml](https://github.com/PX4/PX4-Autopilot/blob/main/.github/workflows/tag_px4_msgs_from_px4_release_tag.yml) workflow checks that the `release/1.18` branch of `px4_msgs` has the same message definitions as the tag, sets the package version to `1.18.0`, and pushes a `v1.18.0` tag there.
|
||||
Alpha, beta and RC tags are not propagated.
|
||||
If the workflow fails, fix the cause and run it again from the Actions tab with the tag name as input.
|
||||
|
||||
### 9. Update the Stable Branch
|
||||
|
||||
Reset the `stable` branch to point to the new release tag:
|
||||
|
||||
@@ -22,6 +22,7 @@ There may also be other DroneCAN rangefinders than those listed here.
|
||||
| [ARK DIST MR] | ToF (IR) | 8 cm to ~50 m | DroneCAN, UART | ✔️ | |
|
||||
| [Benewake TFmini Plus] | ToF (IR LED) | 0.1 m – 12 m | UART | ~ | PX4 minimum 0.1 m |
|
||||
| [Benewake TFmini-S] | ToF (IR laser) | 0.1 m – 12 m | UART | ~ | PX4 minimum 0.4 m |
|
||||
| [Benewake TFmini] _(disc.)_ | ToF (IR) | 0.3 m – 12 m | UART | ~ | Discontinued |
|
||||
| [Garmin LIDAR-Lite v3] | ToF (IR laser) | up to 40 m | I2C, PWM | ~ | PX4 caps range to 35 m or less |
|
||||
| [Holybro ST VL53L1X Lidar] | ToF (IR) | up to ~4 m | I2C | ~ | |
|
||||
| [LeddarOne] | ToF (IR) | 1 cm – 40 m | UART | ~ | |
|
||||
@@ -47,6 +48,7 @@ There may also be other DroneCAN rangefinders than those listed here.
|
||||
[ARK DIST MR]: ../dronecan/ark_dist_mr.md
|
||||
[Benewake TFmini Plus]: ../sensor/tfmini.md
|
||||
[Benewake TFmini-S]: ../sensor/tfmini.md
|
||||
[Benewake TFmini]: ../sensor/tfmini.md
|
||||
[Garmin LIDAR-Lite v3]: ../sensor/lidar_lite.md
|
||||
[Holybro ST VL53L1X Lidar]: #holybro-st-vl53l1x-lidar
|
||||
[Lanbao PSK-CM8JL65-CC5]: ../sensor/cm8jl65_ir_distance_sensor.md
|
||||
|
||||
+49
-36
@@ -2,36 +2,49 @@
|
||||
|
||||
<Badge type="tip" text="PX4 v1.7" />
|
||||
|
||||
The Benewake [TFmini-S](https://en.benewake.com/TFminiS/index_proid_325.html) and [TFmini Plus](https://en.benewake.com/TFminiPlus/index_proid_323.html) are small, low-power time-of-flight LiDAR [rangefinders](../sensor/rangefinders.md) with a range of 0.1–12 m and a 100 Hz default update rate.
|
||||
The Benewake [TFmini-S](https://en.benewake.com/TFminiS/index_proid_325.html) and [TFmini Plus](https://en.benewake.com/TFminiPlus/index_proid_323.html) are small, low-power time-of-flight LiDAR [rangefinders](../sensor/rangefinders.md) with a range of 0.1–12m and a 100Hz default update rate.
|
||||
They connect to the flight controller using a serial port (UART).
|
||||
|
||||

|
||||
|
||||
## Supported Models {#supported_models}
|
||||
|
||||
| Модель | Діапазон | Підключення | `SENS_TFMINI_HW` value |
|
||||
| ---------------------------------------------------------------------- | ------------------------ | ----------- | -------------------------------- |
|
||||
| [TFmini-S](https://en.benewake.com/TFminiS/index_proid_325.html) | 0.1–12 m | UART | `1` (default) |
|
||||
| [TFmini Plus](https://en.benewake.com/TFminiPlus/index_proid_323.html) | 0.1–12 m | UART | `4` |
|
||||
| Модель | Діапазон | Підключення | `SENS_TFMINI_HW` value |
|
||||
| ---------------------------------------------------------------------- | ----------------------- | ----------- | -------------------------------- |
|
||||
| [TFmini-S](https://en.benewake.com/TFminiS/index_proid_325.html) | 0.1–12m | UART | `1` (default) |
|
||||
| [TFmini Plus](https://en.benewake.com/TFminiPlus/index_proid_323.html) | 0.1–12m | UART | `4` |
|
||||
|
||||
PX4 reports distances from 0.4 m to 12 m for the TFmini-S and from 0.1 m to 12 m for the TFmini Plus.
|
||||
:::details
|
||||
Discontinued
|
||||
|
||||
The following model is supported by PX4 but is no longer in Benewake's product line-up.
|
||||
|
||||
| Модель | Діапазон | Підключення | `SENS_TFMINI_HW` value |
|
||||
| ------ | ----------------------- | ----------- | ---------------------- |
|
||||
| TFmini | 0.3–12m | UART | `1` |
|
||||
|
||||
:::
|
||||
|
||||
PX4 reports distances from 0.4m to 12m for the TFmini-S and from 0.1m to 12m for the TFmini Plus.
|
||||
|
||||
The [TFmini-i](https://en.benewake.com/TFminii/index_proid_324.html) is not supported by PX4: it connects via RS-485 or CAN (separate hardware versions) and is powered from 7–30V.
|
||||
|
||||
## Specifications {#specifications}
|
||||
|
||||
- **Technology:** Time-of-flight, 850 nm infrared (VCSEL on the TFmini-S, LED on the TFmini Plus)
|
||||
- **Range:** 0.1–12 m at 90% reflectivity; 0.1–7 m (TFmini-S) or 0.1–4 m (TFmini Plus) at 10% reflectivity
|
||||
- **Update rate:** 100 Hz by default, adjustable 1–1000 Hz
|
||||
- **Technology:** Time-of-flight, 850nm infrared (VCSEL on the TFmini-S, LED on the TFmini Plus)
|
||||
- **Range:** 0.1–12m at 90% reflectivity; 0.1–7m (TFmini-S) or 0.1–4m (TFmini Plus) at 10% reflectivity
|
||||
- **Update rate:** 100Hz by default, adjustable 1–1000Hz
|
||||
- **Field of view:** 2° (TFmini-S), 3.6° (TFmini Plus)
|
||||
- **Accuracy:** ±6 cm below 6 m and ±1% from 6–12 m (TFmini-S); ±5 cm below 5 m and ±1% from 5–12 m (TFmini Plus)
|
||||
- **Resolution:** 1 cm
|
||||
- **Interface:** UART at 115200 baud, 8N1, 3.3 V (LVTTL); the sensors also support I2C, which the PX4 driver does not use
|
||||
- **Input voltage:** 5 V ±0.1 V (TFmini-S), 5 V ±0.5 V (TFmini Plus)
|
||||
- **Current draw:** ≤140 mA average, 200 mA peak (TFmini-S); ≤110 mA average, 140 mA peak (TFmini Plus)
|
||||
- **Dimensions:** 42 x 15 x 16 mm (TFmini-S), 35 x 18.5 x 21 mm (TFmini Plus)
|
||||
- **Weight:** 5 g (TFmini-S), 12 g (TFmini Plus)
|
||||
- **Operating temperature:** 0–60 °C (TFmini-S), -20 °C to 60 °C (TFmini Plus)
|
||||
- **Accuracy:** ±6cm below 6m and ±1% from 6–12m (TFmini-S); ±5cm below 5m and ±1% from 5–12m (TFmini Plus)
|
||||
- **Resolution:** 1cm
|
||||
- **Interface:** UART at 115200 baud, 8N1, 3.3V (LVTTL); the sensors also support I2C, which the PX4 driver does not use
|
||||
- **Input voltage:** 5V ±0.1V (TFmini-S), 5V ±0.5V (TFmini Plus)
|
||||
- **Current draw:** ≤140mA average, 200mA peak (TFmini-S); ≤110mA average, 140mA peak (TFmini Plus)
|
||||
- **Dimensions:** 42 x 15 x 16mm (TFmini-S), 35 x 18.5 x 21mm (TFmini Plus)
|
||||
- **Weight:** 5g (TFmini-S), 12g (TFmini Plus)
|
||||
- **Operating temperature:** 0–60°C (TFmini-S), -20°C to 60°C (TFmini Plus)
|
||||
- **Ingress protection:** IP65 (TFmini Plus)
|
||||
- **Laser class:** Class 1 (TFmini-S)
|
||||
- **Laser class:** Class 1, EN 60825 (TFmini-S); no laser class, exemption level EN 62471 (TFmini Plus)
|
||||
|
||||
## Where to Buy {#store}
|
||||
|
||||
@@ -44,33 +57,33 @@ PX4 reports distances from 0.4 m to 12 m for the TFmini-S and from 0.1 m to 12 m
|
||||
|
||||
Mount the sensor facing down: PX4 assumes a downward-facing sensor, and the orientation cannot be configured.
|
||||
|
||||
Readings below the minimum range of the selected model (0.4 m for the TFmini-S, 0.1 m for the TFmini Plus) are reported as out of range.
|
||||
Readings below the minimum range of the selected model (0.4m for the TFmini-S, 0.1m for the TFmini Plus) are reported as out of range.
|
||||
|
||||
### Pinouts {#pinouts}
|
||||
|
||||
The TFmini-S and TFmini Plus have a cable ending in a JST 1.25 mm 4-pin connector (Molex 51021-0400).
|
||||
The TFmini-S and TFmini Plus have a cable ending in a JST 1.25mm 4-pin connector (Molex 51021-0400).
|
||||
This is not the JST-GH connector used by flight controllers that follow the [Pixhawk Connector Standard](https://github.com/pixhawk/Pixhawk-Standards/blob/master/DS-009%20Pixhawk%20Connector%20Standard.pdf), so you will need an adapter cable to connect to those ports.
|
||||
The cable can be extended, but Benewake recommends keeping it shorter than 1 m.
|
||||
The cable can be extended, but Benewake recommends keeping it shorter than 1m.
|
||||
|
||||
The wire colours are the same on both models, but the pin numbering differs.
|
||||
|
||||
TFmini-S:
|
||||
|
||||
| Pin | Wire colour | Сигнал |
|
||||
| --- | ----------- | ------------------------------------------------------------ |
|
||||
| 1 | Black | GND |
|
||||
| 2 | Red | +5 V |
|
||||
| 3 | White | RX (UART receive, 3.3 V) |
|
||||
| 4 | Зелений | TX (UART transmit, 3.3 V) |
|
||||
| Pin | Wire colour | Сигнал |
|
||||
| --- | ----------- | ----------------------------------------------------------- |
|
||||
| 1 | Black | GND |
|
||||
| 2 | Red | +5V |
|
||||
| 3 | White | RX (UART receive, 3.3V) |
|
||||
| 4 | Зелений | TX (UART transmit, 3.3V) |
|
||||
|
||||
TFmini Plus:
|
||||
|
||||
| Pin | Wire colour | Сигнал |
|
||||
| --- | ----------- | ------------------------------------------------------------ |
|
||||
| 1 | Red | +5 V |
|
||||
| 2 | White | RX (UART receive, 3.3 V) |
|
||||
| 3 | Зелений | TX (UART transmit, 3.3 V) |
|
||||
| 4 | Black | GND |
|
||||
| Pin | Wire colour | Сигнал |
|
||||
| --- | ----------- | ----------------------------------------------------------- |
|
||||
| 1 | Red | +5V |
|
||||
| 2 | White | RX (UART receive, 3.3V) |
|
||||
| 3 | Зелений | TX (UART transmit, 3.3V) |
|
||||
| 4 | Black | GND |
|
||||
|
||||
### Wiring {#wiring}
|
||||
|
||||
@@ -80,12 +93,12 @@ The TFmini can be connected to any unused serial port (UART), such as `TELEM2`,
|
||||
| ------------------------------ | ------------------------------------------------------- |
|
||||
| Green (TX) | Flight controller UART RX |
|
||||
| White (RX) | Flight controller UART TX (optional) |
|
||||
| Red (+5 V) | 5 V supply |
|
||||
| Red (+5V) | 5V supply |
|
||||
| Black (GND) | Flight controller GND |
|
||||
|
||||
The driver only reads from the sensor, so the sensor's RX wire does not need to be connected.
|
||||
|
||||
The TFmini-S needs 5 V ±0.1 V and up to 140 mA (200 mA peak); the TFmini Plus needs 5 V ±0.5 V and up to 110 mA (140 mA peak).
|
||||
The TFmini-S needs 5V ±0.1V and up to 140mA (200mA peak); the TFmini Plus needs 5V ±0.5V and up to 110mA (140mA peak).
|
||||
Neither has over-voltage or reverse-polarity protection.
|
||||
|
||||
## Firmware Support {#firmware_support}
|
||||
@@ -132,7 +145,7 @@ You can observe the published measurements with:
|
||||
listener distance_sensor
|
||||
```
|
||||
|
||||
The sensor type is reported as laser, with minimum and maximum distances of 0.4 m and 12 m for the TFmini-S, and 0.1 m and 12 m for the TFmini Plus.
|
||||
The sensor type is reported as laser, with minimum and maximum distances of 0.4m and 12m for the TFmini-S, and 0.1m and 12m for the TFmini Plus.
|
||||
|
||||
The measurements can also be viewed in the `DISTANCE_SENSOR` message in the _QGroundControl MAVLink Inspector_.
|
||||
For more information see [Rangefinders > Testing](../sensor/rangefinders.md#testing).
|
||||
|
||||
@@ -179,6 +179,35 @@ make tests TESTFILTER=<regex filter expression>
|
||||
- `make tests TESTFILTER=sitl` only run simulation tests
|
||||
- `make tests TESTFILTER=Attitude` only run the `AttitudeControl` test
|
||||
|
||||
## TECS Closed-Loop Tests
|
||||
|
||||
The functional test [TECSControlClosedLoopTest](https://github.com/PX4/PX4-Autopilot/blob/main/src/lib/tecs/TECSControlClosedLoopTest.cpp) couples the TECS controller to a minimal aircraft model built from the energy model that TECS assumes internally.
|
||||
The model has perfect state knowledge and no model mismatch, so any tracking error comes from the controller itself.
|
||||
|
||||
To log every test case to a CSV file, set `TECS_TEST_LOG_DIR` to an existing directory:
|
||||
|
||||
```sh
|
||||
mkdir -p /tmp/tecs
|
||||
TECS_TEST_LOG_DIR=/tmp/tecs make tests TESTFILTER=TECSControlClosedLoop
|
||||
```
|
||||
|
||||
To run all test cases and plot them in one step:
|
||||
|
||||
```sh
|
||||
make px4_sitl_test tecs_closed_loop_plots
|
||||
```
|
||||
|
||||
This writes the CSV files to `build/px4_sitl_test/tecs_closed_loop/csv` and one PNG per test case to `build/px4_sitl_test/tecs_closed_loop/png`.
|
||||
Each plot shows altitude, airspeed, pitch, throttle, the total energy and energy balance rates, and the altitude and airspeed rates over time.
|
||||
The directory is cleared on every run, and the plots are written even if test cases fail, so use `make tests` to check whether they pass.
|
||||
Plotting requires the Python packages `numpy` and `matplotlib`.
|
||||
|
||||
CSV files from another directory can be plotted with the script directly (omit `-o` to show the figures in a window instead):
|
||||
|
||||
```sh
|
||||
python3 src/lib/tecs/plot_closed_loop.py /tmp/tecs -o /tmp/tecs/png
|
||||
```
|
||||
|
||||
## Fuzz Testing
|
||||
|
||||
Fuzz tests are a generalised form of unit test that ensures code is robust against any input.
|
||||
|
||||
Reference in new issue
Block a user