diff --git a/docs/en/leds.md b/docs/en/leds.md index 76a780fb..4cecd3df 100644 --- a/docs/en/leds.md +++ b/docs/en/leds.md @@ -95,16 +95,26 @@ disconnected: { effect: blink, r: 255, g: 50, b: 50 } ``` -The left part is one of the possible events that the strip reacts to. The right part contains the effect description that you want to execute for this event. Here is the list of supported events: +The left part is one of the possible events that the strip reacts to. The right part contains the effect description that you want to execute for this event. -* `startup` – Clover system startup; -* `connected` – successful connection to the flight controller; -* `disconnected` – connection to the flight controller lost; -* `armed` – flight controller transitioned to armed state; -* `disarmed` – flight controller transitioned to disarmed state; -* `stabilized`, `acro`, `rattitude`, `altctl`, `posctl`, `offboard`, `mission`, `rtl`, `land` – transition to said flight mode; -* `error` – an error occured in one of ROS nodes or in the flight controller (*ERROR* message in `/rosout`); -* `low_battery` – low battery (threshold is set in the `threshold` parameter). +Here is the list of supported events: + + + + + + + + + + + + + + + + +
EventDescriptionDefault effect
startupClover system startupWhite
connectedSuccessful connection to flight controllerRainbow
disconnectedConnection to flight controller lost
Red blink
armedTransition to Armed state
disarmedTransition to Disarmed state
acroAcro mode
Orange
stabilizedStabilized mode
Green
altctlAltitude mode
Yellow
posctlPosition mode
Blue
offboardOffboard mode
Violet
rattitude, mission, rtl, landCorresponding mode
errorError in one of ROS nodes or in the flight controller (ERROR message in /rosout)
Red flash
low_batteryLow battery (threshold is set in the threshold parameter)
Red fast blink
> **Note** You need to [calibrate the power sensor](power.md#calibrating-the-power-sensor) for the `low_battery` event to work properly. diff --git a/docs/ru/leds.md b/docs/ru/leds.md index 72004d19..ab353c3f 100644 --- a/docs/ru/leds.md +++ b/docs/ru/leds.md @@ -95,16 +95,26 @@ disconnected: { effect: blink, r: 255, g: 50, b: 50 } ``` -В левой части таблицы указывается событие, на которая лента должна среагировать. В правой части указывается эффект (анимация), который необходимо включить при возникновении события. Список поддерживаемых событий: +В левой части таблицы указывается событие, на которая лента должна среагировать. В правой части указывается эффект (анимация), который необходимо включить при возникновении события. -* `startup` – запуск всех систем Клевера; -* `connected` – успешное подключение к полетному контроллеру; -* `disconnected` – разрыв связи с полетным контроллером; -* `armed` – переключение полетного контроллера в состояние Armed; -* `disarmed` – переключение полетного контроллера в состояние Disarmed; -* `stabilized`, `acro`, `rattitude`, `altctl`, `posctl`, `offboard`, `mission`, `rtl`, `land` – переключение полетных режимов; -* `error` – возникновение ошибки в ROS-нодах или полетном контроллере (*ERROR*-сообщение в топике `/rosout`); -* `low_battery` – низкий заряд батареи (порог настраивается в параметре `threshold`). +Список поддерживаемых событий: + + + + + + + + + + + + + + + + +
СобытиеОписаниеЭффект по умолчанию
startupЗапуск всех систем КлевераБелый
connectedУспешное подключение к полетному контроллеруЭффект радуги
disconnectedРазрыв связи с полетным контроллером
Мигание красным
armedПереход в состояние Armed
disarmedПереход в состояние Disarmed
acroРежим Acro
Оранжевый
stabilizedРежим Stabilized
Зеленый
altctlРежим Altitude
Желтый
posctlРежим Position
Синий
offboardРежим Offboard
Фиолетовый
rattitude, mission, rtl, landПереход в соответствующие режимы
errorВозникновение ошибки в ROS-нодах или полетном контроллере (ERROR-сообщение в топике /rosout)
Мигнуть красным
low_batteryНизкий заряд батареи (порог настраивается в параметре threshold)
Быстрое мигание красным
> **Note** Для корректной работы сигнализации LED-лентой о низком заряде батареи необходимо корректная [калибровка электропитания](power.md#Калибровка-делителя-напряжения).