Lag during simulation

Hello all
So i’ve gotten an extensive robot program and i’ve witnised some lag that i cannot understand is there…

So take this simple code fx. and add it to the Robot Program:


And it will lag for 1-2 sec during the “assign” operation
Because as soon as i remove it, eg;
image
its running smoothly!

How come a simple assign instruction is adding lag to my layout?
Does it perhaps have something to do with my settings?
image

“On value change: Rebuild” in component property configuration means the whole component’s geometry tree is rebuilt, which is in general a heavy operation and especially so for complex geometry components like robots.

1 Like