Language Language English 简体中文 unilab.envs.common.rotation.np_matrix_from_quat¶ unilab.envs.common.rotation.np_matrix_from_quat(q)[source]¶ Convert quaternion(s) to rotation matrix (N, 3, 3) or (3, 3), w-first. Parameters: q (ndarray) Return type: ndarray