Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.6:Single notify LED #6221

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions common/source/docs/common-leds-pixhawk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ This topic explains how to interpret the colours and flash sequence of
the main and/or external LED(s), if the :ref:`NTF_LED_OVERRIDE<NTF_LED_OVERRIDE>` parameter is set to its ``standard`` default setting. Some of the LED patterns have associated sound/tone
patterns as listed in :ref:`Sounds (Pixhawk) <common-sounds-pixhawkpx4>`.

Boards with 2 Notify LEDS
=========================
Boards with 1 or 2 Notify LEDS
==============================

These boards have two leds on the board: LED A and LED B, normally, but not always, green and blue, respectively.
These boards have one(LED A) or two(LED A and LED B) leds on the board, normally, but not always, green and blue, respectively.

After boot, LED A usually shows system status, while LED B shows GPS status. Each sequence of flashes shown below repeats every second. So, LED A will flash with a 50% duty cycle at 4Hz , alternating with LED B, when the autopilot is in ESC calibration mode.

The states and events are shown in order of precedence. For example, LED A will flash the battery failsafe sequence even if RC is in failsafe also.
The states and events are shown in order of precedence. For example, LED A will flash the battery failsafe sequence even if RC is in failsafe also, in the two LED case.

+-----------------------------------------------+--------------------+-----------------+
| STATE | LED A | LED B |
+===============================================+====================+=================+
| Initializing (calibrating gyros,etc.) | |init| | |
| Initializing (calibrating gyros,etc.) \* | |init| | |
+-----------------------------------------------+--------------------+-----------------+
| Save Trim or ESC Calibration | |savetrima| | |savetrimb| |
+-----------------------------------------------+--------------------+-----------------+
Expand All @@ -31,19 +31,21 @@ The states and events are shown in order of precedence. For example, LED A will
| | Failed | | |atf| | |
+-----------------------------------------------+--------------------+-----------------+
| | ARMED: | | | |
| | Battery failsafe | | |battfs| | |
| | Battery failsafe \* | | |battfs| | |
| | RC or GCS failsafe | | |fs| | |
| | Readytofly | | |armed| | |
| | Readytofly(ARMED) \* | | |armed| | |
+-----------------------------------------------+--------------------+-----------------+
| | DISARMED: | | | |
| | pre-arm checks failing | | |prearm| | |
| | ready to arm | | |ready| | |
| | pre-arm checks failing \* | | |prearm| | |
| | ready to arm \* | | |ready| | |
+-----------------------------------------------+--------------------+-----------------+
| | GPS: | | | |
| | No lock or No GPS | | | not lit |
| | Lock (flashs = # sats/2) | | | |gps| 8sats |
+-----------------------------------------------+--------------------+-----------------+

\* in the single LED case, only these indications are shown. The battery failsafe indication also is shown for GCS and RC failsafes.

.. |init| image:: ../../../images/initializinga.gif
:width: 30pt

Expand Down Expand Up @@ -105,11 +107,12 @@ The states and events are shown in order of precedence.
+-----------------------------------------------+--------------------+
| | DISARMED: | | |
| | pre-arm checks failing | | |rgbprearm| |
| | good DGPS fix | | |rgbready1| |
| | good GPS fix | | |rgbready2| |
| | good DGPS fix \* | | |rgbready1| |
| | good GPS fix \* | | |rgbready2| |
| | bad GPS fix | | |rgbbadgps| |
+-----------------------------------------------+--------------------+

\* GPS lock is shown only if position has become valid which requires more than just GPS lock

.. |rgbinit| image:: ../../../images/rgb-initializing.gif
:width: 30pt
Expand Down
Loading