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!