From b26d8810d477477c28fa90286f65aa458db22956 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Nov 2021 13:26:36 +1100 Subject: [PATCH] Copter: add warning that heli's stabilize init code isn't run at vehicle startup --- ArduCopter/mode_stabilize_heli.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/mode_stabilize_heli.cpp b/ArduCopter/mode_stabilize_heli.cpp index 89678c4c10..2a7056cd1f 100644 --- a/ArduCopter/mode_stabilize_heli.cpp +++ b/ArduCopter/mode_stabilize_heli.cpp @@ -8,6 +8,9 @@ // stabilize_init - initialise stabilize controller bool ModeStabilize_Heli::init(bool ignore_checks) { + // be aware that when adding code to this function that it is *NOT + // RUN* at vehicle startup! + // set stab collective true to use stabilize scaled collective pitch range copter.input_manager.set_use_stab_col(true);