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. Kawasaki 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

rotational offset from an image

  • brian.b
  • April 29, 2020 at 3:07 PM
  • Thread is Unresolved
  • brian.b
    Reactions Received
    7
    Trophies
    4
    Posts
    49
    • April 29, 2020 at 3:07 PM
    • #1

    I have a Cognex camera setup to take an image of a part and bring back offset values of x, y, and angular rotation.

    • TCP was taught with QTOOL ON and with the teach pendant. Tool pointer does track with the pointer used to teach the TCP.
    • Robot frame has been taught to the calibration grid that I used in the vision setup. I used the origin of the fiducial on the grid and went out x and y and taught those points to set up my frame. (cam1_frame = frame(cam1_o,cam1_x,cam1_y,cam1_o))
    • Created a master pick position and referenced the robot frame. (cam1_frame+master_pick)
    • Created a final pick instruction. (point final_pick = cam1_frame+master_pick+trans(x,y,0,a,0,0)
    • I execute the shift. (do lmove final_pick)

    Everything works pretty well when shifting in either the x direction, y direction, or both the x and y direction. However, when I try to do an angular shift, it does not shift correctly. My pick position will shift in the correction direction but if I tell the robot to shift 1 degree, it seams like shifts further then 1 degree.

    So I feel confident that my vision system is set up properly, what are some things that I can check/verify on the robot side of things to see why my x/y shifting is ok and why my angular shift is not?


    Please let me know if any more info is needed.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • April 29, 2020 at 6:05 PM
    • #2

    If the robot is not producing any errors, then it's doing what it is told to do............but there's oodles that could be influencing it, to name but a few:

    1. Is the zeroing accurate and correct.

    2. What was the BASE set to when you created the frame locations.

    3. What BASE values are you using in your program.

    4. Does you frame have any orientation applied - ie is it parallel to the pick up surface or is there slight orientation difference.

    5. Is the rotation and orientation between the taught frame and master_pick position accurate - ie same plane.

    6. Have you used the align command to align the Z of the tool to make parallel with the Z axis of the frame prior to teaching the master_pick.

    3. Is the received theta value from vision actually correct - ie same orientation as left hand rule (RZ,RY,RZ)

    4. Is your variable 'a' being set to the correct received value from the vision.

    5. What is the result of your compound instruction (this is your target location) - what do you need to do in order to correct it.

    6. Is the 'a' value sending it in the opposite rotation direction - ie positive value making it rotate negative or vice versa.

    7. Have you tried an alternate solution for your calculation as a comparison.

    ie (DO NOT COPY AND PASTE THIS AS I HAVE NO VALUES TO REFER TO)

    DECOMPOSE maspick[1] = master_pick; grab all the separate elements XYZOAT values of master pick and dump into arrary elements.

    POINT new_pick = TRANS(maspick[1]+x,maspick[2]+y,maspick[3],maspick[4]+a,maspick[5],maspick[6]); target values

    LMOVE cam1_frame+new_pick

    Without any code or values...……………...I aint got the foggiest...…...Your code and associated location values would be useful

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • cbrackin77
    Trophies
    2
    Posts
    7
    • May 19, 2021 at 8:34 PM
    • #3

    Alignment command,

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
  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