From 5050da0ba00c45377f4ef91340fa89eb8faa1b9d Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 4 Oct 2015 11:29:44 +0200 Subject: [PATCH] TECS: Add function to reset system --- src/lib/external_lgpl/tecs/tecs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/external_lgpl/tecs/tecs.h b/src/lib/external_lgpl/tecs/tecs.h index 914e41eba0..1ca7428849 100644 --- a/src/lib/external_lgpl/tecs/tecs.h +++ b/src/lib/external_lgpl/tecs/tecs.h @@ -118,6 +118,9 @@ public: return get_throttle_demand(); } + void reset_state() { + _states_initalized = false; + } float get_pitch_demand() { return _pitch_dem; }