1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. ABB Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Quaternions

  • sikander bakht
  • April 12, 2022 at 8:48 PM
  • Thread is Unresolved
  • sikander bakht
    Reactions Received
    1
    Trophies
    3
    Posts
    33
    • April 12, 2022 at 8:48 PM
    • #1

    Hello to all...

    I found post on the forum for angle conversion between euler and quaternions.

    bit confusion if someone guide me.. From CAD drawing if i get angle between two points is 30 degrees.

    How i ll convert it into quaternions.. 30 degree is from reference to the gap between two points (an ARC). how to tell robot what will be orientation when reached at 2nd point.

    regards

  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • April 12, 2022 at 10:27 PM
    • #2

    More information are very welcome!

    Do you have an example explaining your problem?

  • sikander bakht
    Reactions Received
    1
    Trophies
    3
    Posts
    33
    • April 13, 2022 at 1:44 PM
    • #3

    yes sir,

    in fact i have a rotary positioner (to clamp the job and rotate the job before robot for angular machining (drilling). The positioner got faulty and i have to drill the job, controlling the tool orientation to maintain straightness of to0l with respect to robot.

    The angle can be calculated from cad drawing of job (that is the distance between two holes). i need this angle value from cad, converted in a form so abb robot understand this and take it as orientation value Q1,Q2,Q3,Q4. the robot will adjust its orientation based on these quaternion value...

    regards.

  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • April 13, 2022 at 6:23 PM
    • #4

    What angle can be calculated from cad drawing and how.

    A sketch could be useful (showing the different coordinate systems

    you can also check this out

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • April 13, 2022 at 10:58 PM
    • #5

    The system functions OrientZYX and PoseMult may be part of what you need.

  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • April 14, 2022 at 12:08 AM
    • #6

    The problem is CAD.

    KUKA and ABB have the same sequence of rotation (TB: Z,Y,X). And this leads to a specific calculation of w,x,y,z

    The problem is how to get the angle from the cad system (maybe name of cad system could be helpful)

    On the other hand ABB can also use angles instead of quaternation (check documents!)

  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • April 14, 2022 at 12:33 AM
    • #7

    check this

    I also created a tool to do all the calculation:

    33494-pasted-from-clipboard-png

    According to quaternation:

    UR and ABB could be the answer

    Have a look to here

    Actually SkyeFire never answered

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • April 14, 2022 at 4:51 PM
    • #8
    Quote from MOM

    Actually SkyeFire never answered

    I've been busy! :bawling:

    It's still on my to-do list, honest!

  • sikander bakht
    Reactions Received
    1
    Trophies
    3
    Posts
    33
    • April 15, 2022 at 9:30 PM
    • #9

    @ MOM & SkyeFire ,Thanks for the help and time.

    Sorry for being late.. I was suffering from fever..

    The scenario is i have to drill a semi-circular plate that is clamped on a fixed table.

    defined a new workobject for this table and shift zero point of robot to the table..(0 point at center of the table).

    Use AutoCad software to design table and semi circular plate models with same physical dimensions to avoid any error.

    reference of actual system and CAD designed system is same now. In autocad i just calculated the coordinates values from center position to the Plate (Plate is clamped to the table at 90 degree).

    Use the coordinates as Robtarget, drilled first hole, that is fine.

    "As the plate is mounted on static table, for the second drill the robot has to re-orient itself with respect to the hole position just to avoid drill bit breakage, came in contact with plate at 90 degree to have a good drill' .

    This re-orientation of the tool with respect to plate, i calculated as gap between two holes and angle from the reference position "a Semi circular arc". it comes to me with spherical coordinates "Theta, Phi and r"

    i want to feed as Rot.q1, Rot.q2, Rot.Q3, Rot.Q4, so the robot align itself for the next hole itself .

    hope i explained it well..

  • sikander bakht
    Reactions Received
    1
    Trophies
    3
    Posts
    33
    • April 15, 2022 at 9:36 PM
    • #10

    SkyeFire using euler angles or quaternions in robtarget rot.q1 ,q2,q3,q4 will generate orientation for the robot automatically or OrientZYX have to use in separate

  • sikander bakht
    Reactions Received
    1
    Trophies
    3
    Posts
    33
    • April 15, 2022 at 9:48 PM
    • #11

    i am studying also for the frame transformation. Rotation matrices of Rz(Sci), Ry(theta) and Rx(Phi). how to transform spherical angle into euler angles.

    I also used CREO to verify the design, dimensions and angle calculations..

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • April 18, 2022 at 3:23 PM
    • #12
    Quote from sikander bakht

    This re-orientation of the tool with respect to plate, i calculated as gap between two holes and angle from the reference position "a Semi circular arc". it comes to me with spherical coordinates "Theta, Phi and r"

    i want to feed as Rot.q1, Rot.q2, Rot.Q3, Rot.Q4, so the robot align itself for the next hole itself .

    hope i explained it well..

    Honestly, I don't understand why your CAD file cannot simply provide the coordinates in XYZ from a common reference point. Why spherical angles?

    If all the drill positions lie on a circular arc, then creating a Work Object at the center of the arc, with one axis (Z would be most convenient) perpendicular to the surface of the plate, might work. It would be necessary to teach the first drill point by hand (referenced to the Work Object), but after that, simply rotating the Work Object around Z (using OrientZYX and PoseMult) by the correct angle, and repeating the program, should work fairly well.

  • sikander bakht
    Reactions Received
    1
    Trophies
    3
    Posts
    33
    • April 18, 2022 at 6:10 PM
    • #13

    CAD can give XYZ Coordinates also. For linear drill i used that so many times.

    Rotary Positioner is damaged and i have to perform drill with job clamped on static table as work object is the thing that creates the problem, to orient the drill straight at every hole position. I ll use OrientZYX to check the euler angles at 2 ,3 different points manually , on semi circle. Then will keep the angle constant around a profile.

    Thanks for the help Sir...

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • How to Use Quaternions in Industrial Robotics

    • Meca
    • March 2, 2022 at 6:04 PM
    • Robot Geometry, Linear Algebra, Forward and Inverse Kinematics
  • Stationary TCP setup for dummies

    • SkyeFire
    • January 10, 2022 at 5:27 PM
    • ABB Robot Forum
  • Tcp bulls eye error

    • Abbro
    • January 31, 2020 at 12:17 PM
    • ABB Robot Forum
  • Will Q1, Q2, Q3 & Q4 not adding up to 1 send robot to wrong position?

    • Sean_MMSNI
    • January 14, 2020 at 1:06 PM
    • ABB Robot Forum
  • OrientZYX vs Rx-Ry'-Rz"

    • SkyeFire
    • December 16, 2019 at 9:04 PM
    • ABB Robot Forum
  • Modify rX / rY from 3D-Vision - before sending to robot. Formula/function?

    • hanho
    • April 10, 2019 at 8:21 PM
    • Robot Vision and Vision Products
  • Precise setting Wobj Orientation S4C+

    • Dawid Firlej
    • February 1, 2019 at 2:27 PM
    • ABB Robot Forum
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download