Move controlsTime variable to rc.ino

This commit is contained in:
Oleg Kalachev
2025-01-11 00:28:31 +03:00
parent 7bf5ee330b
commit 9e4a2c5ffc
5 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ float t = NAN; // current step time, s
float dt; // time delta from previous step, s
int16_t channels[16]; // raw rc channels
float controls[16]; // normalized controls in range [-1..1] ([0..1] for throttle)
float controlsTime; // time of the last controls update
Vector gyro; // gyroscope data
Vector acc; // accelerometer data, m/s/s
Vector rates; // filtered angular rates, rad/s