Page 1 of 1

Orientation of e_puck

Posted: 24 Sep 2018, 11:32
by Rose111
Hi,
I used the Remote Api function "simxGetObjectOrientation" to get the orientation of e_puck, and I get it.
But I noticed that the angle Beta changes between [-90,90] degree, and there are 2 possipilities for each angle between that range. I want to get the orientation of e_puck in this range [0,360] to determine the motion of it. How can I do it?

I'm new in Vrep and I need help.
Thank's.

Re: Orientation of e_puck

Posted: 24 Sep 2018, 12:02
by fferri
Hello,

not all 3 Euler angles are able to vary between -pi and +pi. This is a particularity of Euler angles. Typically:
  • Euler alpha can vary between -pi and +pi
  • Euler beta can vary between -pi/2 and +pi/2
  • Euler gamma can vary between -pi and +pi
Make sure to read more about Euler angles here, and to know what Euler angle conventions V-REP uses here.

Cheers

Re: Orientation of e_puck

Posted: 28 Sep 2018, 09:48
by Rose111
Thank you fferri for your reply. It helped me alot.

Regards.