Author Topic: Calculate Roll, Pitch, Yaw from a normal vector  (Read 1187 times)

0 Members and 1 Guest are viewing this topic.

Offline NguyenLam

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 7
Calculate Roll, Pitch, Yaw from a normal vector
« on: November 17, 2017, 12:50:40 PM »
Hello every one,
I am new to Robot, we have an Fanuc Robot ARC Mate 100ic.
I have a normal vector N= (0.963665164640684, 1.27688742042028E-09, 0.267113179117099). My questions is, how can I calculate the angle of Roll, Pitch, Yaw from this normal vector.
Appreciate any help and suggestion.
Thanks and Best regards,
Lam Nguyen

Online robotero

  • Sr. Member
  • ****
  • Thank You
  • -Given: 43
  • -Receive: 73
  • Posts: 306
Re: Calculate Roll, Pitch, Yaw from a normal vector
« Reply #1 on: December 06, 2017, 03:32:31 PM »
You canĀ“t!

There is infinite solutions! You are only specifying the approach vector (z)
but the tool can rotate around it in infinite postures

You must define criteria to define another direction vector then compute the third one using the cross-product

Finally derive the WPR values from the components of these vectors

We might asked instead:

I have an initial position and an approach vector z,
how to compute the target position that uses the shortest wrist motion to orient the tool with the given approach vector .......

Let me think about it ........

Regards





Offline NguyenLam

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 7
Re: Calculate Roll, Pitch, Yaw from a normal vector
« Reply #2 on: December 11, 2017, 04:07:22 PM »
Hello Robotero,
Thank you so much
Lam