Plane's in-flight tuning knob changed, saved or reverted a value
What ArduPilot says:
- Tuning: reverted
- Tuning: ……N.N
- Tuning: started …
- Tuning: Saved
- Tuning: recentered …
- Tuning: mid-point …
Plane's in-flight tuning: a knob on channel TUNE_CHAN changes the parameter chosen by TUNE_PARAM as you fly. “started X”: X is now on the knob. “mid-point X” (4.6): the knob crossed its centre and from here it changes the value, between the starting value divided by TUNE_RANGE and multiplied by it. The selector switch (TUNE_SELECTOR) does the rest: held high for under 2 s and released, “recentered X” makes the present value the new centre; for 2 to 5 s, the next parameter; for more than 5 s, “Saved”. “reverted”: the flight mode changed with TUNE_MODE_REVERT set, and the values went back.
Values changed with the knob are lost at the next reboot unless “Tuning: Saved” was shown.
Parameters to look at
| Parameter | What it is |
|---|---|
TUNE_PARAM | Transmitter tuning parameter or set of parameters |
TUNE_CHAN | Transmitter tuning channel |
TUNE_SELECTOR | Transmitter tuning selector channel |
TUNE_RANGE | Transmitter tuning range |
TUNE_MODE_REVERT | Revert on mode change |
TUNE_CHAN_MIN | Transmitter tuning channel minimum pwm |
TUNE_CHAN_MAX | Transmitter tuning channel maximum pwm |
The code that sends it
Tuning: reverted
libraries/AP_Tuning/AP_Tuning.cpp AP_Tuning::check_input() · Open in ArduPilot Copter-4.7.1
Tuning: ……N.N
libraries/AP_Tuning/AP_Tuning.cpp AP_Tuning::check_input() · Open in ArduPilot Copter-4.7.1
Tuning: started …
libraries/AP_Tuning/AP_Tuning.cpp AP_Tuning::next_parameter() · Open in ArduPilot Copter-4.7.1
Tuning: Saved
libraries/AP_Tuning/AP_Tuning.cpp AP_Tuning::check_selector_switch() · Open in ArduPilot Copter-4.7.1
And 2 more messages, sent from the same places.