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

IRvision pick without rotation

  • Remigijus
  • October 6, 2023 at 12:58 PM
  • Thread is Unresolved
  • Remigijus
    Trophies
    1
    Posts
    10
    • October 6, 2023 at 12:58 PM
    • #1

    Hi,

    I'm working with the 2D IRvision pick and place program.

    After some tinkering it started to work and I can pick my parts. The parts that I'm picking are not symmetrical and when rotated the robot tries to rotate to pick them. Which is normal behavior. However, I use the suction cup and the rotation is not needed for me, further more the space is very tight so the rotation just knocks stuff around. Maybe you could advice me how to turn off the rotation function on the robot? In other words, I need that the robot would ignore the rotation of the part and just would approach it with linear motion without rotating according to parts rotation.

    Thanks for suggestions.

  • HawkME October 6, 2023 at 1:04 PM

    Approved the thread.
  • pdl
    Reactions Received
    269
    Trophies
    9
    Posts
    1,531
    • October 6, 2023 at 6:17 PM
    • #2

    Can you post your pick program?

    You should be able to specify the rotation of your pick position as a fixed angle pretty simply.

  • C_hiney
    Reactions Received
    2
    Trophies
    2
    Posts
    32
    • October 6, 2023 at 7:58 PM
    • #3

    Orientation can be disabled in your main tool (GPM, Blob, etc) so it receives no rotational offset just the X,Y offset. Orientation can also be limited to whatever you wish to restrict it to

  • Remigijus
    Trophies
    1
    Posts
    10
    • October 7, 2023 at 9:23 AM
    • #4

    Hi,

    the program is very simple, just recognize the part, pick and then place it. The feature recognized is a triangle on the part, specifically made for this purpose.

    I'm a beginner and wrote the program with GUI of the CRX tablet. Maybe you could specify where in GPM locator tool (or Blob) I could disable the rotation? Or where could I read more about that? Because now when I search I can find only that people want the rotation to work properly, but not to disable it.

    Thanks

  • Robot Programmer
    Reactions Received
    5
    Trophies
    3
    Posts
    26
    • October 9, 2023 at 3:46 PM
    • #5

    PR[?,4] = PR[?,4]-VR[?,4]

    Edited once, last by Robot Programmer (October 9, 2023 at 4:06 PM).

  • SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,427
    • October 9, 2023 at 6:20 PM
    • #6
    Quote from Remigijus

    I'm a beginner and wrote the program with GUI of the CRX tablet. Maybe you could specify where in GPM locator tool (or Blob) I could disable the rotation? Or where could I read more about that? Because now when I search I can find only that people want the rotation to work properly, but not to disable it.

    I'm not sure how the Tablet GUI changes things, but you should still be able to use the Web Browser (either on the pendant, or on a laptop connected to the robot controller), and access the irVision settings.

    In the DOF section, you can un-check the box named Orientation, as shown below. This is from a robot that was picking up circular objects, and as such had no need to rotate to follow the part.

  • Remigijus
    Trophies
    1
    Posts
    10
    • October 10, 2023 at 9:48 AM
    • #7
    Quote from SkyeFire

    In the DOF section, you can un-check the box named Orientation, as shown below. This is from a robot that was picking up circular objects, and as such had no need to rotate to follow the part.

    I just tried this, but it does not work for me. Because this is for feature recognition, not for the picking part. The feature that IRvision needs to recognize in my case is a triangle and picking place is below it. So I need the orientation to be recognized and picking place located. What I do not need - that the robot would turn according to rotation of the part.

    That most probably will be related to position registers, but I still cannot figure out how to use them.

    In other words from vision part I need to transfer to pick and place just the x and y coordinates, but not the rotation.

  • Remigijus
    Trophies
    1
    Posts
    10
    • October 10, 2023 at 10:09 AM
    • #8
    Quote from Robot Programmer

    dateposted-publicPR[?,4] = PR[?,4]-VR[?,4]

    Could you please specify where should I place this line for a total beginner. Is it Vision part? Detection part? Picking part? Anywhere in the code? The question mark in the code stands for register that I use to write object position or something else? Number 4 means rotation?

    My problem is most probably related to position registers, but I still cannot figure out how to use them.

    In other words from Vision part I need to transfer to Pick and Place just the x and y coordinates, but not the rotation.

    My code in Flickr:

    Program code
    www.flickr.com

    Visual:

    Visual code
    www.flickr.com
  • gpunkt
    Reactions Received
    124
    Trophies
    6
    Posts
    474
    • October 10, 2023 at 11:35 AM
    • #9

    If you have the option "Vision Support Tools" you can use the karel-program TRANSROT.

    It will create a PR for your pick position with the vision offset added (X and Y translation) but without the R-rotation part.

  • SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,427
    • October 10, 2023 at 4:07 PM
    • #10
    Quote from Remigijus

    I just tried this, but it does not work for me. Because this is for feature recognition, not for the picking part. The feature that IRvision needs to recognize in my case is a triangle and picking place is below it. So I need the orientation to be recognized and picking place located. What I do not need - that the robot would turn according to rotation of the part.

    Hm... I haven't tried this, but my first thought would be to try the SET ORIGIN button in the GPM tool. Place the origin at the point of contact where the robot vacuum cup should land, and keep the Orientation turned off.

    The Origin of the model is what the GPM tool should output the coordinates of, and with the Orientation output turned off, the Offset value returned by irVision should only have non-zero values for X and Y.

    You may need to re-teach your optimum pick position again, after making the GPM changes.

  • C_hiney
    Reactions Received
    2
    Trophies
    2
    Posts
    32
    • October 10, 2023 at 4:14 PM
    • #11
    Quote from Remigijus

    I just tried this, but it does not work for me. Because this is for feature recognition, not for the picking part. The feature that IRvision needs to recognize in my case is a triangle and picking place is below it. So I need the orientation to be recognized and picking place located. What I do not need - that the robot would turn according to rotation of the part.

    That most probably will be related to position registers, but I still cannot figure out how to use them.

    In other words from vision part I need to transfer to pick and place just the x and y coordinates, but not the rotation.

    Here are some manipulations I don't fully understand what you need. These are PR[interger,Joint] manipulations. You may need to change representation of the PR to joint if Cartesian doesn't work for your needs

    move values from a PR to a register R[X]=PR[i,j]

    repopulate values from register to a PR Pr[i,j]=R[Y]

    Transfer values from other PR's PR[i,j]=Pr[i,j]

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • October 10, 2023 at 9:16 PM
    • #12

    Set the 6th element of your vision register to 0.

  • Remigijus
    Trophies
    1
    Posts
    10
    • October 23, 2023 at 11:47 AM
    • #13

    Hi all,

    maybe someone will want to know how I solved the problem. Also I should mention, that Fanuc support could not help me with this problem, it's good that I found one person who already did similar project before.

    So the solution that works good enough (not perfect) - was to create a bunch of GPM locator tools. Teach all of them with the part rotated with different angle (rotated by 25 degrees in my case). So when the part is rotated one of the GPM locator tools detects it. When picking, robot still rotates, but the rotation is minimal. I can live with that.

  • gpunkt
    Reactions Received
    124
    Trophies
    6
    Posts
    474
    • October 23, 2023 at 1:40 PM
    • #14
    Quote from HawkME

    Set the 6th element of your vision register to 0.

    Would you please elaborate?
    Which part of the vision register do you mean?

    I found a solution when setting the VP to be "Found Position" instead of "Fixed Frame Offset", and then writing the found position to a PR, fixing the W and P so that the position is normal to the User Frame and then zeroing the R-part (6th element) of the PR.

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

  • irPickTool -- Part rotation throws robot well off location

    • SkyeFire
    • November 28, 2022 at 5:03 PM
    • Fanuc Robot Forum
  • Fanuc and IRvision - Offset when picking up a part which is at an angle

    • robotrev3
    • July 2, 2021 at 7:46 PM
    • Fanuc Robot Forum

Tags

  • IrVision 2d
  • remove rotation

Users Viewing This Thread

  • 1 Guest
  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