Skip to main content

fit_units

Function fit_units 

Source
pub fn fit_units(axis_unit: &str) -> [&'static str; 4]
Expand description

The units of an axis’s four rigid values (moved mass, viscous friction, Coulomb friction, constant force) by the axis’s unit (AxisInfo::unit): those of a rotary axis (“rad”) are kg m², N m s/rad, N m and N m, every other one’s kg, N s/m, N and N.