difference between Euler angles and roll pitch yaw angles

1,776 views
Skip to first unread message

Priyadarshini Ravichandran

unread,
Jun 15, 2017, 11:15:52 AM6/15/17
to Robotics & Machine Vision Toolboxes
Hello all,

 I would like to know the difference between the euler(tr2eul) and roll pitch yaw angles(tr2rpy), by definition it appears to be same, please let me know there are different representations of orientaion matrix like quaternion, axis angle. Thank you.

Erik van Oene

unread,
Jun 16, 2017, 6:04:49 AM6/16/17
to Robotics & Machine Vision Toolboxes
Hi,

It is just an other way / sequence or successive rotation to fully describe an orientation.
Just google or take an average robotics book. It is explained everywhere.

Erik


Op donderdag 15 juni 2017 17:15:52 UTC+2 schreef Priyadarshini Ravichandran:

Priyadarshini Ravichandran

unread,
Jun 16, 2017, 3:16:37 PM6/16/17
to Robotics & Machine Vision Toolboxes
Yes sir, I got that answer its just intrinsic and extrinsic rotation. I have another doubt...To validate my inverse kinematics algorithm for desired transformation matrix(orientation and position) i got joint angles(as an output), just to cross check I gave those joint angles to fkine command... I got the same position values but orientation matrix is different, please let me know...why I am getting like that.....

Erik van Oene

unread,
Jun 19, 2017, 3:22:23 AM6/19/17
to Robotics & Machine Vision Toolboxes
Do you have a 6 DOF system (or more). If not, the orientation may nog be fully controllable.

Please send the code such that we can investigate it further.

Erik

Op vrijdag 16 juni 2017 21:16:37 UTC+2 schreef Priyadarshini Ravichandran:

Priyadarshini Ravichandran

unread,
Jun 19, 2017, 3:50:33 AM6/19/17
to Robotics & Machine Vision Toolboxes
Dear Sir, 
I have 15 DOFs in total and I have attached the code.....
masterthesis.m

Erik van Oene

unread,
Jun 22, 2017, 8:26:36 PM6/22/17
to Robotics & Machine Vision Toolboxes
Hi,

I have no access to Matlab at the moment. However, I will check this out if I do.

Erik

Op maandag 19 juni 2017 09:50:33 UTC+2 schreef Priyadarshini Ravichandran:

Priyadarshini Ravichandran

unread,
Jun 23, 2017, 7:18:30 AM6/23/17
to Robotics & Machine Vision Toolboxes
Hi, yeah sure sir..thank you so much
Message has been deleted

Erik van Oene

unread,
Jun 27, 2017, 8:14:40 PM6/27/17
to Robotics & Machine Vision Toolboxes
Hi,

So thats quite some lines in the script... I'm guessing that the variables: 'el'  and 'er') contain the error signals. 

I changed the script a bit such that I can plot the error over time (the loop). My results look fine to me, however, at the start both position and orientation is a bit off. You see the robot arms jump a bit in the first few loops, but after that both arms follow the trajectory.

In the loop I keep track of er and el to plot them afterwards. Results can be found in the attachment. If you the same results, than please point out which values you don't trust. If your results are different, than you probably run a older version of the toolbox, have some shadow function.

I ran Toolbox version 9.10 on Matlab R2017a

Erik 

Op vrijdag 23 juni 2017 13:18:30 UTC+2 schreef Priyadarshini Ravichandran:
masterthesis.m
masterthesis.pdf

Peter Corke

unread,
Jul 9, 2017, 6:23:34 AM7/9/17
to Robotics & Machine Vision Toolboxes
I am not sure what it means "by definition it appears to be the same".  They involve sequences of rotations about different axes.
Reply all
Reply to author
Forward
0 new messages