def position_diff(pose1, pose2):
    """Computes the position difference between two poses

    pose1: Pose
    pose2: Pose
    """
    return (pose1.R.transpose() * pose1.t - pose2.R.transpose() * pose2.t).norm()