twizy_description/src/twizy_description/robot_description.py
def shear_matrix(striu):
    """Convert a 3x3 matrix representation of shear to a 4x4 representation

    :striu: A 3x3 shear matrix

    :return: A 4x4 shear matrix
    """

    S = np.identity(4)
    S[:3, :3] = striu2mat(striu)
    return S
Convert a 3x3 matrix representation of shear to a 4x4 representation

    :striu: A 3x3 shear matrix

    :return: A 4x4 shear matrix
    
Convert a 3x3 matrix representation of shear to a 4x4 representation
Convert a 3x3 matrix representation of shear to a 4x4 representation
def shear_matrix(striu):
    S = np.identity(4)
    S[:3, :3] = striu2mat(striu)
    return S
def shear_matrix ( striu ) : S = np . identity ( 4 ) S [ : 3 , : 3 ] = striu2mat ( striu ) return S
Convert a 3x3 matrix representation of shear to a 4x4 representation
Convert a 3x3 matrix representation of shear to a 4x4 representation
"""Convert a 3x3 matrix representation of shear to a 4x4 representation

    :striu: A 3x3 shear matrix

    :return: A 4x4 shear matrix
    """
A 4x4 shear matrix
A 4x4 shear matrix
striu
striu
A 3x3 shear matrix
A 3x3 shear matrix