Advertising

Universal Robot UR-10 - Treating each component of a p[] variable (a pose) as individual variables to get, edit. Objective: have user move robot but let it keep a fixed orientation after released.

  • I've recently been tasked with making a UR-10 weld some parts. For the time being, we will start by having it weld a simple bead in a horizontal position.

    We want the user to orient the tool (a MIG torch) and place it at the end point, have the program store that position in a variable with get_actual_tcp_pose(), then repeat the same with the starting point, turn the torch on through a digital output, and use MoveP to do the weldment.


    I would like the orientation to change to a constant value (for example, the tcp pointing directly downwards for brevity's sake), so i would need to change the values of the variables individually or at least treat position and orientation separately (all this in the tool space of course). Haven't found anything in the scriptmanual. Can you help me out? thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now