A button wired to the flight controller did its job
What ArduPilot says:
- Button N: executing (… …)
A physical button on one of the BTN_PIN1 to BTN_PIN4 inputs changed state, and ArduPilot ran the function assigned to it (BTN_FUNC1 to BTN_FUNC4, the same list as the transmitter's switch functions). The line gives the button number, the function's name and HIGH or LOW. If it appears with nobody touching the button, the input is floating or picking up noise.
Parameters to look at
| Parameter | What it is |
|---|---|
BTN_ENABLE | Enable button reporting |
BTN_PIN1 | First button Pin |
BTN_FUNC1 | Button Pin 1 RC Channel function |
BTN_PIN2 | Second button Pin |
BTN_FUNC2 | Button Pin 2 RC Channel function |
The code that sends it
Button N: executing (… …)
libraries/AP_Button/AP_Button.cpp AP_Button::run_aux_functions() · Open in ArduPilot Copter-4.7.1