1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Link and inertial specifications. use ndarray::Array2; #[derive(Debug, Clone, PartialEq)] pub struct LinkSpec { pub name: String, } #[derive(Debug, Clone, PartialEq)] pub struct InertialSpec<T> { pub mass: T, pub com: [T; 3], pub inertia: Array2<T>, }