rs_opw_kinematics::utils

Function transition_costs

Source
pub fn transition_costs(
    from: &Joints,
    to: &Joints,
    coefficients: &Joints,
) -> f64
Expand description

Calculates the transition cost between two sets of joint positions, weighted by given coefficients (rotating heavy base joints is more expensive). This function returns maximum rotation