Detect if Target is out of WZ

Hello,

So I have a set World Zone:
PROC zone_output()
        CONST pos corner1:=[300,-740,379];
        CONST pos corner2:=[-300,478,-121];
        WZBoxDef\Outside,volume,corner1,corner2;
        WZLimSup\Stat,object,volume;
ENDPROC

I am sending the robot arbitrary targets via Sockets, and then sending a Move command. I am wanting to detect if the target I send is outside of the WZ before I send the Move command. Is this possible? If so, can someone point me in the right direction to get it working?

Thanks in advance for any help!
SM

Comments

Sign In or Register to comment.