mirror of
https://github.com/okalachev/flix.git
synced 2026-01-12 05:57:52 +00:00
Some unification of the headers
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
||||||
// Repository: https://github.com/okalachev/flix
|
// Repository: https://github.com/okalachev/flix
|
||||||
|
|
||||||
|
// Implementation of command line interface
|
||||||
|
|
||||||
#include "pid.h"
|
#include "pid.h"
|
||||||
|
|
||||||
static String command;
|
static String command;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
||||||
// Repository: https://github.com/okalachev/flix
|
// Repository: https://github.com/okalachev/flix
|
||||||
|
|
||||||
|
// Flight control
|
||||||
|
|
||||||
#pragma diag_suppress 144, 513
|
#pragma diag_suppress 144, 513
|
||||||
|
|
||||||
#include "pid.h"
|
#include "pid.h"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
||||||
// Repository: https://github.com/okalachev/flix
|
// Repository: https://github.com/okalachev/flix
|
||||||
|
|
||||||
|
// Estimation of attitude from gyro and accelerometer
|
||||||
|
|
||||||
#include "quaternion.h"
|
#include "quaternion.h"
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
||||||
// Repository: https://github.com/okalachev/flix
|
// Repository: https://github.com/okalachev/flix
|
||||||
|
|
||||||
|
// In-RAM logging
|
||||||
|
|
||||||
const int LOG_RATE = 100;
|
const int LOG_RATE = 100;
|
||||||
const int LOG_DURATION = 10;
|
const int LOG_DURATION = 10;
|
||||||
const int LOG_PERIOD = 1000000 / LOG_RATE;
|
const int LOG_PERIOD = 1000000 / LOG_RATE;
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
// Lightweight rotation quaternion library
|
|
||||||
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
||||||
// Repository: https://github.com/okalachev/flix
|
// Repository: https://github.com/okalachev/flix
|
||||||
|
|
||||||
|
// Lightweight rotation quaternion library
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
// Lightweight vector library
|
|
||||||
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
||||||
// Repository: https://github.com/okalachev/flix
|
// Repository: https://github.com/okalachev/flix
|
||||||
|
|
||||||
|
// Lightweight vector library
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class Vector : public Printable
|
class Vector : public Printable
|
||||||
|
|||||||
Reference in New Issue
Block a user