I am working on Pioneer P3Dx robot in V-rep simulator using Python. I would like to read robot's position and orientation in some variables. Can any one help me in the regard? Thanks in advance.
- simxGetObjectPosition which will give a vector size of 1x3 containing x position , y position and z position , in you case you will need only x and y.
- simxGetObjectOrientation which will give a vector size of 1*3 containing Euler angles alpha beta and gamma, in your case you will need gamma (check this information).