1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#[macro_use]
extern crate bitflags;
#[cfg(feature = "double")]
mod typedef {
pub type Float = f64;
pub const PI: Float = std::f64::consts::PI;
}
#[cfg(not(feature = "double"))]
mod typedef {
pub type Float = f32;
pub const PI: Float = std::f32::consts::PI;
}
pub use typedef::*;
pub mod controller;
mod core;
pub mod gain;
pub mod geometry;
pub mod link;
pub mod modulation;
pub mod prelude;
pub mod sequence;
pub mod utils;
pub use crate::core::configuration::{Configuration, ModBufSize, ModSamplingFreq};
pub use crate::core::consts;