Change the baseframe with a variable

Hi,

Is it somehow possible to change the working frame with an variable created in the program?

image

Im increasing a variable each cycle, and it would be great to just move the frame

Br Kenneth

Hi @KJohnsen,
you can use this statement in the robot program editor to change the base position from within the robot program:


Hope this helps!

1 Like

Hi,

Yes i have tried this, and it works. But what im asking for, is that i want the values to be a edited with a variable that i have defined in the program.
So i can increment this variable depending on the state in my program
Br

It sounds like Python API might be good way to solve this and also give you more flexibility:

1 Like