odrive_rs/
lib.rs

1/// The `commands` module contains the ODrive structure, which is used to interact with the ODrive
2/// protocol.
3pub mod commands;
4
5/// The `enumerations` module contains enums and constants related to different properties and
6/// errors.
7pub mod enumerations;
8
9#[cfg(test)]
10#[cfg_attr(tarpaulin, skip)]
11mod test_stream;
12
13pub mod prelude {
14    pub use crate::commands::ODrive;
15    pub use crate::enumerations::{AxisID, AxisState, EncoderMode, ControlMode, MotorType};
16    pub use crate::enumerations::errors::{ODriveError, EncoderError, AxisError, ControllerError, MotorError, ODriveResult};
17}