pub struct ModeView {
pub hz: f64,
pub damping: f64,
pub linear: Option<Mode>,
pub from_machine: bool,
pub shape: ShownMode,
pub stiffness: Vec<(&'static str, f64)>,
}Expand description
One mode of the machine at a pose, for the mode list.
Fields§
§hz: f64As the machine reports it (Machine::modes): Hz and damping ratio.
damping: f64§linear: Option<Mode>The oscillation of the linearised model nearest it, with the motors free or the rotors held (mode_views),
whose shape is shown where the machine gives none; None where the linearisation found none.
from_machine: boolThe shape is the machine’s own (Machine::mode_shape), not the linearised model’s.
shape: ShownMode§stiffness: Vec<(&'static str, f64)>The share of the mode’s strain energy in each kind of stiffness (STIFFNESS_KINDS), largest first: twice the
change of ln f of the reported mode over that of ln k when the kind’s stiffnesses in the config grow by 10 %
(Rayleigh: d(w^2) / dk_i is the energy in k_i over the modal mass). The shares add up to 1 where every
stiffness the mode lives in is one of the kinds.