Orientation of e_puck

Typically: "How do I... ", "How can I... " questions
Post Reply
Rose111
Posts: 8
Joined: 13 Sep 2018, 08:05

Orientation of e_puck

Post by Rose111 » 24 Sep 2018, 11:32

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.

fferri
Posts: 219
Joined: 09 Sep 2013, 19:28

Re: Orientation of e_puck

Post by fferri » 24 Sep 2018, 12:02

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

Rose111
Posts: 8
Joined: 13 Sep 2018, 08:05

Re: Orientation of e_puck

Post by Rose111 » 28 Sep 2018, 09:48

Thank you fferri for your reply. It helped me alot.

Regards.

Post Reply