mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:13:34 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -33,7 +33,6 @@ Similarly, PX4 can also run natively Raspberry Pi (this approach is not generall
|
||||
- [Raspberry Pi 2/3 Navio2](../flight_controller/raspberry_pi_navio2.md)
|
||||
- [Raspberry Pi 2/3/4 PilotPi Shield](../flight_controller/raspberry_pi_pilotpi.md)
|
||||
|
||||
|
||||
## Commercial UAVs that can run PX4
|
||||
|
||||
PX4 is available on many popular commercial drone products, including some that ship with PX4 and others that can be updated with PX4 (allowing you to add mission planning and other PX4 Flight modes to your vehicle).
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# LED Meanings (Pixhawk Series)
|
||||
|
||||
[Pixhawk-series flight controllers](../flight_controller/pixhawk_series.md) use LEDs to indicate the current status of the vehicle.
|
||||
- The [UI LED](#ui_led) provides user-facing status information related to *readiness for flight*.
|
||||
|
||||
- The [UI LED](#ui_led) provides user-facing status information related to _readiness for flight_.
|
||||
- The [Status LEDs](#status_led) provide status for the PX4IO and FMU SoC.
|
||||
They indicate power, bootloader mode and activity, and errors.
|
||||
|
||||
@@ -9,7 +10,7 @@
|
||||
|
||||
## UI LED
|
||||
|
||||
The RGB *UI LED* indicates the current *readiness for flight* status of the vehicle.
|
||||
The RGB _UI LED_ indicates the current _readiness for flight_ status of the vehicle.
|
||||
This is typically a superbright I2C peripheral, which may or may not be mounted on the flight controller board (i.e. FMUv4 does not have one on board, and typically uses an LED mounted on the GPS).
|
||||
|
||||
The image below shows the relationship between LED and vehicle status.
|
||||
@@ -19,47 +20,45 @@ It is possible to have a GPS lock (Green LED) and still not be able to arm the v
|
||||
:::
|
||||
|
||||
:::tip
|
||||
In the event of an error (blinking red), or if the vehicle can't achieve GPS lock (change from blue to green), check for more detailed status information in *QGroundControl* including calibration status, and errors messages reported by the [Preflight Checks (Internal)](../flying/pre_flight_checks.md).
|
||||
In the event of an error (blinking red), or if the vehicle can't achieve GPS lock (change from blue to green), check for more detailed status information in _QGroundControl_ including calibration status, and errors messages reported by the [Preflight Checks (Internal)](../flying/pre_flight_checks.md).
|
||||
Also check that the GPS module is properly attached, Pixhawk is reading your GPS properly, and that the GPS is sending a proper GPS position.
|
||||
:::
|
||||
|
||||

|
||||
|
||||
- **[Solid Blue] Armed, No GPS Lock:** Indicates vehicle has been armed and has no position lock from a GPS unit.
|
||||
When vehicle is armed, PX4 will unlock control of the motors, allowing you to fly your drone.
|
||||
As always, exercise caution when arming, as large propellers can be dangerous at high revolutions.
|
||||
Vehicle cannot perform guided missions in this mode.
|
||||
|
||||
* **[Solid Blue] Armed, No GPS Lock:** Indicates vehicle has been armed and has no position lock from a GPS unit.
|
||||
When vehicle is armed, PX4 will unlock control of the motors, allowing you to fly your drone.
|
||||
As always, exercise caution when arming, as large propellers can be dangerous at high revolutions.
|
||||
Vehicle cannot perform guided missions in this mode.
|
||||
- **[Pulsing Blue] Disarmed, No GPS Lock:** Similar to above, but your vehicle is disarmed.
|
||||
This means you will not be able to control motors, but all other subsystems are working.
|
||||
|
||||
* **[Pulsing Blue] Disarmed, No GPS Lock:** Similar to above, but your vehicle is disarmed.
|
||||
This means you will not be able to control motors, but all other subsystems are working.
|
||||
- **[Solid Green] Armed, GPS Lock:** Indicates vehicle has been armed and has a valid position lock from a GPS unit.
|
||||
When vehicle is armed, PX4 will unlock control of the motors, allowing you to fly your drone.
|
||||
As always, exercise caution when arming, as large propellers can be dangerous at high revolutions.
|
||||
In this mode, vehicle can perform guided missions.
|
||||
|
||||
* **[Solid Green] Armed, GPS Lock:** Indicates vehicle has been armed and has a valid position lock from a GPS unit.
|
||||
When vehicle is armed, PX4 will unlock control of the motors, allowing you to fly your drone.
|
||||
As always, exercise caution when arming, as large propellers can be dangerous at high revolutions.
|
||||
In this mode, vehicle can perform guided missions.
|
||||
|
||||
* **[Pulsing Green] Disarmed, GPS Lock:** Similar to above, but your vehicle is disarmed.
|
||||
- **[Pulsing Green] Disarmed, GPS Lock:** Similar to above, but your vehicle is disarmed.
|
||||
This means you will not be able to control motors, but all other subsystems including GPS position lock are working.
|
||||
|
||||
* **[Solid Purple] Failsafe Mode:** This mode will activate whenever vehicle encounters an issue during flight,
|
||||
such as losing manual control, a critically low battery, or an internal error.
|
||||
During failsafe mode, vehicle will attempt to return to its takeoff location, or may simply descend where it currently is.
|
||||
- **[Solid Purple] Failsafe Mode:** This mode will activate whenever vehicle encounters an issue during flight,
|
||||
such as losing manual control, a critically low battery, or an internal error.
|
||||
During failsafe mode, vehicle will attempt to return to its takeoff location, or may simply descend where it currently is.
|
||||
|
||||
* **[Solid Amber] Low Battery Warning:** Indicates your vehicle's battery is running dangerously low.
|
||||
After a certain point, vehicle will go into failsafe mode. However, this mode should signal caution that it's time to end
|
||||
this flight.
|
||||
|
||||
* **[Blinking Red] Error / Setup Required:** Indicates that your autopilot needs to be configured or calibrated before flying.
|
||||
Attach your autopilot to a Ground Control Station to verify what the problem is.
|
||||
If you have completed the setup process and autopilot still appears as red and flashing, there may be another error.
|
||||
- **[Solid Amber] Low Battery Warning:** Indicates your vehicle's battery is running dangerously low.
|
||||
After a certain point, vehicle will go into failsafe mode. However, this mode should signal caution that it's time to end
|
||||
this flight.
|
||||
|
||||
- **[Blinking Red] Error / Setup Required:** Indicates that your autopilot needs to be configured or calibrated before flying.
|
||||
Attach your autopilot to a Ground Control Station to verify what the problem is.
|
||||
If you have completed the setup process and autopilot still appears as red and flashing, there may be another error.
|
||||
|
||||
<a id="status_led"></a>
|
||||
|
||||
## Status LED
|
||||
|
||||
Three *Status LEDs* provide status for the FMU SoC, and three more provide status for the PX4IO (if present).
|
||||
Three _Status LEDs_ provide status for the FMU SoC, and three more provide status for the PX4IO (if present).
|
||||
They indicate power, bootloader mode and activity, and errors.
|
||||
|
||||

|
||||
@@ -67,11 +66,11 @@ They indicate power, bootloader mode and activity, and errors.
|
||||
From power on, the FMU and PX4IO CPUs first run the bootloader (BL) and then the application (APP).
|
||||
The table below shows how the Bootloader and then APP use the LEDs to indicate condition.
|
||||
|
||||
Color | Label | Bootloader usage | APP usage
|
||||
--- | --- | --- | ---
|
||||
Blue | ACT (Activity) | Flutters when the bootloader is receiving data | Indication of ARM state
|
||||
Red/Amber | B/E (In Bootloader / Error) | Flutters when in the bootloader | Indication of an ERROR
|
||||
Green |PWR (Power) | Not used by bootloader | Indication of ARM state
|
||||
| Color | Label | Bootloader usage | APP usage |
|
||||
| --------- | --------------------------- | ---------------------------------------------- | ----------------------- |
|
||||
| Blue | ACT (Activity) | Flutters when the bootloader is receiving data | Indication of ARM state |
|
||||
| Red/Amber | B/E (In Bootloader / Error) | Flutters when in the bootloader | Indication of an ERROR |
|
||||
| Green | PWR (Power) | Not used by bootloader | Indication of ARM state |
|
||||
|
||||
::: info
|
||||
The LED labels shown above are commonly used, but might differ on some boards.
|
||||
@@ -79,11 +78,11 @@ The LED labels shown above are commonly used, but might differ on some boards.
|
||||
|
||||
More detailed information for how to interpret the LEDs is given below (where "x" means "any state")
|
||||
|
||||
Red/Amber | Blue | Green | Meaning
|
||||
--- | --- | --- | ---
|
||||
10Hz | x | x | Overload CPU load > 80%, or RAM usage > 98%
|
||||
OFF | x | x | Overload CPU load <= 80%, or RAM usage <= 98%
|
||||
NA | OFF | 4 Hz| actuator_armed->armed && failsafe
|
||||
NA | ON | 4 Hz | actuator_armed->armed && !failsafe
|
||||
NA | OFF |1 Hz | !actuator_armed-> armed && actuator_armed->ready_to_arm
|
||||
NA | OFF |10 Hz | !actuator_armed->armed && !actuator_armed->ready_to_arm
|
||||
| Red/Amber | Blue | Green | Meaning |
|
||||
| --------- | ---- | ----- | ------------------------------------------------------- |
|
||||
| 10Hz | x | x | Overload CPU load > 80%, or RAM usage > 98% |
|
||||
| OFF | x | x | Overload CPU load <= 80%, or RAM usage <= 98% |
|
||||
| NA | OFF | 4 Hz | actuator_armed->armed && failsafe |
|
||||
| NA | ON | 4 Hz | actuator_armed->armed && !failsafe |
|
||||
| NA | OFF | 1 Hz | !actuator_armed-> armed && actuator_armed->ready_to_arm |
|
||||
| NA | OFF | 10 Hz | !actuator_armed->armed && !actuator_armed->ready_to_arm |
|
||||
|
||||
@@ -9,16 +9,16 @@ The set of standard sounds are listed below.
|
||||
You can search for tune use using the string `TUNE_ID_name`(e.g. `TUNE_ID_PARACHUTE_RELEASE)
|
||||
:::
|
||||
|
||||
|
||||
## Boot/Startup
|
||||
|
||||
These tunes are played during the boot sequence.
|
||||
<!-- https://github.com/PX4/PX4-Autopilot/blob/main/ROMFS/px4fmu_common/init.d/rcS -->
|
||||
|
||||
<!-- https://github.com/PX4/PX4-Autopilot/blob/main/ROMFS/px4fmu_common/init.d/rcS -->
|
||||
|
||||
#### Startup Tone
|
||||
|
||||
<audio controls><source src="../../assets/tunes/1_startup_tone.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- tune: 1, STARTUP -->
|
||||
|
||||
- microSD card successfully mounted (during boot).
|
||||
@@ -26,36 +26,37 @@ These tunes are played during the boot sequence.
|
||||
#### Error Tune
|
||||
|
||||
<audio controls><source src="../../assets/tunes/2_error_tune.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- tune 2, ERROR_TUNE -->
|
||||
|
||||
- Hard fault has caused a system reboot.
|
||||
- System set to use PX4IO but no IO present.
|
||||
- UAVCAN is enabled but driver can't start.
|
||||
- SITL/HITL enabled but *pwm_out_sim* driver can't start.
|
||||
- SITL/HITL enabled but _pwm_out_sim_ driver can't start.
|
||||
- FMU startup failed.
|
||||
|
||||
|
||||
#### Make File System
|
||||
|
||||
<audio controls><source src="../../assets/tunes/16_make_fs.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 14, SD_INIT (previously tune 16) -->
|
||||
|
||||
- Formatting microSD card.
|
||||
- Formatting microSD card.
|
||||
- Mounting failed (if formatting succeeds boot sequence will try to mount again).
|
||||
- No microSD card.
|
||||
|
||||
|
||||
#### Format Failed
|
||||
|
||||
<audio controls><source src="../../assets/tunes/17_format_failed.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 15, SD_ERROR (previously 17) -->
|
||||
|
||||
- Formatting microSD card failed (following previous attempt to mount card).
|
||||
|
||||
|
||||
#### Program PX4IO
|
||||
#### Program PX4IO
|
||||
|
||||
<audio controls><source src="../../assets/tunes/18_program_px4io.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 16, PROG_PX4IO (previously id 18) -->
|
||||
|
||||
- Starting to program PX4IO.
|
||||
@@ -63,6 +64,7 @@ These tunes are played during the boot sequence.
|
||||
#### Program PX4IO Success
|
||||
|
||||
<audio controls><source src="../../assets/tunes/19_program_px4io_success.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 17, PROG_PX4IO_OK (previously tune 19) -->
|
||||
|
||||
- PX4IO programming succeeded.
|
||||
@@ -70,21 +72,23 @@ These tunes are played during the boot sequence.
|
||||
#### Program PX4IO Fail
|
||||
|
||||
<audio controls><source src="../../assets/tunes/20_program_px4io_fail.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 18, PROG_PX4IO_ERR (previously tune 20) -->
|
||||
|
||||
- PX4IO programming failed.
|
||||
- PX4IO couldn't start.
|
||||
- AUX Mixer not found.
|
||||
|
||||
|
||||
## Operational
|
||||
|
||||
These tones/tunes are emitted during normal operation.
|
||||
|
||||
<a id="error_tune_operational"></a>
|
||||
|
||||
#### Error Tune
|
||||
|
||||
<audio controls><source src="../../assets/tunes/2_error_tune.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 2, ERROR_TUNE -->
|
||||
|
||||
- RC Loss
|
||||
@@ -92,6 +96,7 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Notify Positive Tone
|
||||
|
||||
<audio controls><source src="../../assets/tunes/3_notify_positive_tone.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 3, NOTIFY_POSITIVE -->
|
||||
|
||||
- Calibration succeeded.
|
||||
@@ -102,6 +107,7 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Notify Neutral Tone
|
||||
|
||||
<audio controls><source src="../../assets/tunes/4_notify_neutral_tone.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 4, NOTIFY_NEUTRAL -->
|
||||
|
||||
- Mission is valid and has no warnings.
|
||||
@@ -111,6 +117,7 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Notify Negative Tone
|
||||
|
||||
<audio controls><source src="../../assets/tunes/5_notify_negative_tone.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 5, NOTIFY_NEGATIVE -->
|
||||
|
||||
- Calibration failed.
|
||||
@@ -123,6 +130,7 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Arming Warning
|
||||
|
||||
<audio controls><source src="../../assets/tunes/6_arming_warning.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 6, ARMING_WARNING -->
|
||||
|
||||
- Vehicle is now armed.
|
||||
@@ -130,6 +138,7 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Arming Failure Tune
|
||||
|
||||
<audio controls><source src="../../assets/tunes/10_arming_failure_tune.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 10, ARMING_FAILURE -->
|
||||
|
||||
- Arming failed
|
||||
@@ -137,6 +146,7 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Battery Warning Slow
|
||||
|
||||
<audio controls><source src="../../assets/tunes/7_battery_warning_slow.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 7, BATTERY_WARNING_SLOW -->
|
||||
|
||||
- Low battery warning ([failsafe](../config/safety.md#battery-level-failsafe)).
|
||||
@@ -144,27 +154,29 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Battery Warning Fast
|
||||
|
||||
<audio controls><source src="../../assets/tunes/8_battery_warning_fast.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 8, BATTERY_WARNING_FAST -->
|
||||
|
||||
- Critical low battery warning ([failsafe](../config/safety.md#battery-level-failsafe)).
|
||||
|
||||
|
||||
#### GPS Warning Slow
|
||||
|
||||
<audio controls><source src="../../assets/tunes/9_gps_warning_slow.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 9, GPS_WARNING -->
|
||||
|
||||
#### Parachute Release
|
||||
|
||||
<audio controls><source src="../../assets/tunes/11_parachute_release.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 11, PARACHUTE_RELEASE -->
|
||||
|
||||
- Parachute release triggered.
|
||||
|
||||
|
||||
#### Single Beep
|
||||
|
||||
<audio controls><source src="../../assets/tunes/14_single_beep.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 12, SINGLE_BEEP (previously was id 14 -->
|
||||
|
||||
- Magnetometer/Compass calibration: Notify user to start rotating vehicle.
|
||||
@@ -172,6 +184,7 @@ These tones/tunes are emitted during normal operation.
|
||||
#### Home Set Tune
|
||||
|
||||
<audio controls><source src="../../assets/tunes/15_home_set_tune.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
|
||||
|
||||
<!-- 13, HOME_SET (previously id 15) -->
|
||||
|
||||
- Home position initialised (first time only).
|
||||
|
||||
@@ -7,6 +7,6 @@ In addition, PX4 provides more fine-grained information about readiness to fly i
|
||||
|
||||
The LED, tune, and GCS notifications are linked below:
|
||||
|
||||
* [LED Meanings](../getting_started/led_meanings.md)
|
||||
* [Tune/Sound Meanings](../getting_started/tunes.md)
|
||||
* [QGroundControl Flight-Readiness Status](../flying/pre_flight_checks.md)
|
||||
- [LED Meanings](../getting_started/led_meanings.md)
|
||||
- [Tune/Sound Meanings](../getting_started/tunes.md)
|
||||
- [QGroundControl Flight-Readiness Status](../flying/pre_flight_checks.md)
|
||||
|
||||
Reference in New Issue
Block a user