<< return to Pixycam.com

Object following robot stuck in loop need to exit after geting needed x & y cordines

Harshit here, i am trying this ball follow code it’s working all good, now after geting my needed X and Y velue i wanto exit this loop (loop interrupt) i have tried some copare block, range block and loop interrupt too but robot is stuck with obj following program it’s not exiting this loop.
may i know is there anything can be done with that.???

Thank You.

You want to exit the loop after you get the x, y value? You don’t want to update the motors continuously, as in a control loop?