def list_to_raw_list(poselist):
    """
    Flatten a normal pose list into a raw list
    :param poselist: a formatted list [[x,y,z], [x,y,z,w]]
    :return: a raw list [x, y, z, x, y, z, w]
    """
    if not (isinstance(poselist, list) or isinstance(poselist, tuple)):
        raise TypeError(
            "flatten_pose({}) does not accept this type of argument".format(
                str(type(poselist))))
    return [field for pose in poselist for field in pose]
Flatten a normal pose list into a raw list
    :param poselist: a formatted list [[x,y,z], [x,y,z,w]]
    :return: a raw list [x, y, z, x, y, z, w]