embedded_flight/
lib.rs

1//! # embedded-flight
2//! A `#![no_std]` flight software library for embedded rust
3//!
4//! # Generic components
5//! [`scheduler`] contains the real-time scheduler to run tasks at desired frequencies.
6//!
7//! [`hal`] contains the hardware abstraction layer.
8//!
9//! # Multi-copter components
10//! [`Copter`] is a high level position controller for a multi-copter
11//! (see [`QuadCopter`] for a quad-motor implementation)
12//!
13//! [`control`](copter::control) contains the low level flight controllers.
14//!
15//! [`MotorControl`](copter::control::MotorControl) is a trait for the low level motor control.
16//! (see [`QuadMotorController`](copter::control::QuadMotorController) for a quad-motor implementation)
17
18#![no_std]
19
20pub mod copter;
21pub use copter::{Copter, QuadCopter};
22
23pub mod hal;
24pub use hal::{Sensors, ESC};
25
26pub mod scheduler;
27pub use scheduler::Scheduler;