PTAM implementation for perc sdk