Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Some unification of the headers
Oleg Kalachevd6cca7dcf738
diff --git a/flix/cli.ino b/flix/cli.inoindex 4d4637c..493ada8 100644--- a/flix/cli.ino+++ b/flix/cli.ino@@ -1,6 +1,8 @@// Copyright (c) 2023 Oleg Kalachev <[email protected]>// 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.inoindex cf4626d..1fa5a40 100644--- a/flix/control.ino+++ b/flix/control.ino@@ -1,6 +1,8 @@// Copyright (c) 2023 Oleg Kalachev <[email protected]>// 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.inoindex d86e81b..83bb631 100644--- a/flix/estimate.ino+++ b/flix/estimate.ino@@ -1,6 +1,8 @@// Copyright (c) 2023 Oleg Kalachev <[email protected]>// 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.inoindex 6aa0433..90b1c7e 100644--- a/flix/log.ino+++ b/flix/log.ino@@ -1,6 +1,8 @@// Copyright (c) 2023 Oleg Kalachev <[email protected]>// 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.hindex 2513bf2..8c9dc38 100644--- a/flix/quaternion.h+++ b/flix/quaternion.h@@ -1,7 +1,8 @@-// Lightweight rotation quaternion library// Copyright (c) 2023 Oleg Kalachev <[email protected]>// Repository: https://github.com/okalachev/flix+// Lightweight rotation quaternion library+#pragma once#include "vector.h"diff --git a/flix/vector.h b/flix/vector.hindex ead55ee..2d1b1ee 100644--- a/flix/vector.h+++ b/flix/vector.h@@ -1,7 +1,8 @@-// Lightweight vector library// Copyright (c) 2023 Oleg Kalachev <[email protected]>// Repository: https://github.com/okalachev/flix+// Lightweight vector library+#pragma onceclass Vector : public Printable