ok so i find the wait to do it, I would like to give a better explanation of what it is that I wanted to do, but I am very bad giving explanations, what I was that when the robot reached the pr2 position if it in that point a di get activated, the position information would be saved, or something like that
L PR [1] (MOVE ROBOT TO THE CENTER OF THE FRAME)
FOR R[1]=0 TO 360
R[2]=COS(R[1])*100
R[3]=SIN(R[1])*100
PR[2,1]=R[2]
PR[2,2]=R[3]
L PR [2]
if di=on
(STORE POSOTION INFORMATION)
thanks for the support