From 4160b8da078cac69826de03d3d544404c5d9fef7 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Mon, 29 May 2023 18:46:29 +0300 Subject: [PATCH] Minor code rearrange --- flix/flix.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flix/flix.ino b/flix/flix.ino index d474575..4002226 100644 --- a/flix/flix.ino +++ b/flix/flix.ino @@ -26,10 +26,10 @@ float dt; // time delta from previous step, s float loopFreq; // loop frequency, Hz uint16_t channels[16]; // raw rc channels float controls[RC_CHANNELS]; // normalized controls in range [-1..1] ([0..1] for throttle) -float motors[4]; // normalized motors thrust in range [-1..1] Vector rates; // angular rates, rad/s Vector acc; // accelerometer data, m/s/s Quaternion attitude; // estimated attitude +float motors[4]; // normalized motors thrust in range [-1..1] void setup() {