Skip to main content

nabled_model/
link.rs

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