Skip to main content

linearised_held

Function linearised_held 

pub fn linearised_held(
    machine: &dyn Machine,
    pose: &[f64],
) -> (Vec<f64>, Vec<f64>, Vec<usize>)
Expand description

The machine at rest at pose with its rotors held, as Machine::modes has its modes (motors held by their loops): linearised‘s matrix over the states that move neither a motor’s angle nor its speed (Machine::motor_state), and those states’ indices. A state that moves a motor’s angle (a rotor’s, or on a rigid drive the joint’s own) is held with the state that moves its speed. The rest, the stand at pose.