← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

A button wired to the flight controller did its job

InformationRangefinder, optical flow, camera, OSD and other devices

What ArduPilot says:

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

ParameterWhat it is
BTN_ENABLEEnable button reporting
BTN_PIN1First button Pin
BTN_FUNC1Button Pin 1 RC Channel function
BTN_PIN2Second button Pin
BTN_FUNC2Button 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

Written here for Copter 4.6. In the tool you choose your vehicle and version, see your own parameter values beside the ones named here, and drop a flight log to have every message in it explained.

Open it in the Message & Error Explainer