Skip to main content

hex_motor/
lib.rs

1//! HEX-MOTOR
2//!
3//! 针对 HEX-MECHA 电机的 Rust 驱动库。
4//!
5//! v0.1 范围:仅 CiA402 形态电机;仅"上位机交互"使用范式。
6//! 详见 `DESIGN.md`。
7//!
8//! 通信层使用 [`can_transport`] 的 trait,跨平台。
9//! SDO 客户端来自 [`canopen_sdo`]。
10
11#![warn(missing_debug_implementations)]
12#![warn(rust_2018_idioms)]
13
14pub mod canopen;
15pub mod cia402;
16pub mod error;
17pub mod types;
18
19pub use error::{Error, Result};