Boom LED Override
The LED lights on the ends of the booms can be controlled by user systems using a custom override via DroneCAN and/or mavlink from a payload or ground-based system.
In the event that mavlink and DroneCAN overrides are active simultaneously, DroneCAN will take precedence.
A 1000ms timeout is present where the lights will resume normal function when a valid override message has not been received in this time. To maintain the override, messages are suggested to be sent at least once every 500ms.
DroneCAN Override
a CAN based override can be realised using the "LightsCommand" message available in the standard message set.
The target light ID is: 0
This will be accepted from any source node
See also: DroneCAN, SingleLightCommand, RGB565
MAVLink Override
The MAVLink override makes use of the LED_CONTROL message found in the Ardupilotmega dialect.
To Target the boom LEDs with this message:
target_system: 1
target_component: 59
instance: 0
pattern: 255
custom_len: 3
Custom_bytes: uint8_t array [red,green,blue]