I am not sure about traj_ref and traj_est of main_ape functions should be camera2world or world2camera matrixs. In my opinion, I think pose trajectory, that is, trajectory of camera pose means camera2world matrixs, and extrinsics means world2camera matrixs. However, I found using of world2camera matrixs as inputs of main_ape in some repos, for example, this one. Could you tell me which one is correct?