#![no_std]
mod body_rate;
pub use body_rate::BodyRateController;
mod lateral_pos;
pub use lateral_pos::LateralPositionController;
mod yaw;
pub use yaw::YawController;
pub mod pid;
pub use pid::PID;
pub mod attitude;
fn pid_config(t_rise: f32, delta: f32) -> (f32, f32) {
let w = 1. / (1.57 * t_rise);
(w * w, 2. * delta * w)
}