Universal Robots Forum

How to convert a list to a pose


In the variables tab the PlaneScript i got for running the robotics_r1 program appears as a list is there any way to convert a list variable to a pose variable?


the error when i run the program

i am not totaly into this (planes and converting list) but maybe this will help you short term.

at second picture
instead of:
movel(pose_trans(planescript,p[0,0,0,0,0,0]))
use
P_planescript=p[Planescript[0],Planescript[1],Planescript[2],Planescript[3],Planescript[4],Planescript[5]]
movel(pose_trans(P_planescript,p[0,0,0,0,0,0]))

it is not pretty but i hope this will work.

Corné

1 Like

Here is an explaination

https://www.universal-robots.com/articles/ur/programming/urscript-move-with-respect-to-a-custom-featureframe/

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.