From d6cca7dcf7385cddf8816df79e5f8dacd9c304f1 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Wed, 24 May 2023 11:26:30 +0300 Subject: [PATCH] Some unification of the headers --- flix/cli.ino | 2 ++ flix/control.ino | 2 ++ flix/estimate.ino | 2 ++ flix/log.ino | 2 ++ flix/quaternion.h | 3 ++- flix/vector.h | 3 ++- 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/flix/cli.ino b/flix/cli.ino index 4d4637c..493ada8 100644 --- a/flix/cli.ino +++ b/flix/cli.ino @@ -1,6 +1,8 @@ // Copyright (c) 2023 Oleg Kalachev // Repository: https://github.com/okalachev/flix +// Implementation of command line interface + #include "pid.h" static String command; diff --git a/flix/control.ino b/flix/control.ino index cf4626d..1fa5a40 100644 --- a/flix/control.ino +++ b/flix/control.ino @@ -1,6 +1,8 @@ // Copyright (c) 2023 Oleg Kalachev // Repository: https://github.com/okalachev/flix +// Flight control + #pragma diag_suppress 144, 513 #include "pid.h" diff --git a/flix/estimate.ino b/flix/estimate.ino index d86e81b..83bb631 100644 --- a/flix/estimate.ino +++ b/flix/estimate.ino @@ -1,6 +1,8 @@ // Copyright (c) 2023 Oleg Kalachev // Repository: https://github.com/okalachev/flix +// Estimation of attitude from gyro and accelerometer + #include "quaternion.h" #include "vector.h" diff --git a/flix/log.ino b/flix/log.ino index 6aa0433..90b1c7e 100644 --- a/flix/log.ino +++ b/flix/log.ino @@ -1,6 +1,8 @@ // Copyright (c) 2023 Oleg Kalachev // Repository: https://github.com/okalachev/flix +// In-RAM logging + const int LOG_RATE = 100; const int LOG_DURATION = 10; const int LOG_PERIOD = 1000000 / LOG_RATE; diff --git a/flix/quaternion.h b/flix/quaternion.h index 2513bf2..8c9dc38 100644 --- a/flix/quaternion.h +++ b/flix/quaternion.h @@ -1,7 +1,8 @@ -// Lightweight rotation quaternion library // Copyright (c) 2023 Oleg Kalachev // Repository: https://github.com/okalachev/flix +// Lightweight rotation quaternion library + #pragma once #include "vector.h" diff --git a/flix/vector.h b/flix/vector.h index ead55ee..2d1b1ee 100644 --- a/flix/vector.h +++ b/flix/vector.h @@ -1,7 +1,8 @@ -// Lightweight vector library // Copyright (c) 2023 Oleg Kalachev // Repository: https://github.com/okalachev/flix +// Lightweight vector library + #pragma once class Vector : public Printable