adding code ptam pose