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

Geometric operator and Inv_Pos()

  • work_BR
  • October 31, 2024 at 5:59 PM
  • Thread is Unresolved
  • work_BR
    Reactions Received
    11
    Trophies
    1
    Posts
    95
    • October 31, 2024 at 5:59 PM
    • #1

    I am a little stumped by the Inv_Pos() function Kuka has. I've looked around the forum and everywhere seems to point to old integrator manuals. I'm looking for peoples sentiment on this particular problem.

    I have a robot picking from a cart, and placing on a table. I want to have a program that can be ran once and get a vector that can be used to offsets subsequent place points. So you'd run a calibration program like:

    Code
    DEF CALIBRATION()
    
    ...
    
    IDEAL_POS.X = 1000
    IDEAL_POS.Y = 1000
    IDEAL_POS.Z = 1000
    IDEAL_POS.A = -90
    IDEAL_POS.B = 0
    IDEAL_POS.C = 180
          
    MsgDialog(DialogAnswer, "Adjust the robot "XTOUCHED_UP_POS", "Calib", , "Ok") 
          
    HALT ; Jog to desired position and touch up the "XTOUCHED_UP_POS"
    
    ;INLINE FORMS DON'T WORK SUPER WELL SO TOUCH UP THIS POINT
    XTOUCHED_UP_POS
    
    NEW_CALIB_OFFSET = INV_POS(IDEAL_POS):XTOUCHED_UP_POS
    
    ...
    
    END
    Display More

    Then the idea is at this point "NEW_CALIB_OFFSET" is the vector you seek that can be added in a different program like:


    Code
    DEF PROG_2()
    
    ...
    
    PLACE_PT = PLACE_PT:NEW_CALIB_OFFSET
    
    ...
    
    END

    So when you go to "PLACE_PT" it accounts for some of the inaccuracy in teaching the tool / base, some of the mechanical tooling slop and so on. This seems to work, but not quite. The values that pop out of "NEW_CALIB_OFFSET" are of magnitude <10 mm. The inaccuracy in my placement is about 2mm in X and Y.

    I don't understand how: NEW_CALIB_OFFSET = INV_POS(IDEAL_POS):XTOUCHED_UP_POS is different from NEW_CALIB_OFFSET = IDEAL_POS:XTOUCHED_UP_POS. One gives different values then the other obviously.

    I hope this ramble makes some sense. At a high level, what is the ideal use case of INV_POS()?

  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,629
    • November 1, 2024 at 10:03 AM
    • #2
    Quote from work_BR

    I don't understand how: NEW_CALIB_OFFSET = INV_POS(IDEAL_POS):XTOUCHED_UP_POS is different from NEW_CALIB_OFFSET = IDEAL_POS:XTOUCHED_UP_POS. One gives different values then the other obviously.

    First is a subtraction of the two vectors, latter one is an addition of the two vectors.

    Quote from work_BR

    At a high level, what is the ideal use case of INV_POS()?

    The highest level is: use it when you need it, otherwise don't use it. :icon_mrgreen:

    There's no ideal use case, it depends on what you want to calculate. Nobody can enumerate all use cases, there exist uncountable many use cases.

  • work_BR
    Reactions Received
    11
    Trophies
    1
    Posts
    95
    • November 1, 2024 at 3:20 PM
    • #3
    Quote from hermann

    First is a subtraction of the two vectors, latter one is an addition of the two vectors.s.

    Honestly thank you. This is exactly what i needed to hear.

    Quote from hermann

    The highest level is: use it when you need it, otherwise don't use it. :icon_mrgreen:

    Also lol

  • Hes
    Reactions Received
    42
    Trophies
    2
    Posts
    243
    • November 2, 2024 at 8:16 PM
    • #4

    Inv pos is the reverse relation. Like your ideal_pos is a frame from base to the point. Inv_pos(ideal_pos) is the frame from the point to the base.

    Hence Inv_pos(ideal_pos):ideal_pos = $nullframe this is also true the other way around.

    Inv_pos i very powerful when trying to find the relation to something. Eg if you want to calculate the same point in another base or with another tool. Examples of this is available in the SI manual.

    There is a really good topic on this forum by MOM where alot of people pitched in. Cannot remember the topic but something along the lines of "geometric operator in depth" with really good examples and general discussion.

  • MOM
    Reactions Received
    176
    Trophies
    7
    Posts
    1,424
    • November 2, 2024 at 8:28 PM
    • #5

    Here is the topic Behind the scene - geometric operator

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • Write protection on $OUT[48]

    • GregoryAshmore
    • May 3, 2013 at 9:13 PM
    • KUKA Robot Forum
  • Kuka.Sim 4.3 $ACT_POS_MES not working

    • sloopkogel
    • March 27, 2024 at 11:07 AM
    • KUKA Robot Forum
  • Behind the scene - geometric operator

    • MOM
    • April 15, 2023 at 1:03 AM
    • KUKA Robot Forum
  • frame transformation with interpolation change

    • mmilo31
    • January 23, 2023 at 5:28 PM
    • KUKA Robot Forum
  • Syntax of POS variables?

    • Rune_frost
    • April 14, 2023 at 9:30 AM
    • KUKA Robot Forum
  • How transformation is calculated when base is switched

    • kiwasuse
    • February 3, 2023 at 12:57 AM
    • KUKA Robot Forum
  • Calculating Coordinates in External Positioner Frame

    • dave tripp
    • October 25, 2021 at 4:41 PM
    • KUKA 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