Page 1 of 1

how to switch movement of KUKA youBot

Posted: 26 Sep 2017, 09:28
by farah amirah
Hello,
My project is about to make KUKA youbot arm attached with vision sensor move by following the motion of target (blob) along a path. There two types of target which are (blue&red blob). During start up, the first target (blue) move and then followed by the second target (red). The KUKA youBot will firstly track and follow the blue target and when the blue target stop, the KUKA will switch to follow the second target (red). The problem is how to make KUKA youBot switch from following the first target to the second target? Is there any simple program that can help? Here i attached my project for you to review.

https://www.dropbox.com/s/a7tti74zsx4yh ... 9.ttt?dl=0

Re: how to switch movement of KUKA youBot

Posted: 26 Sep 2017, 13:18
by coppelia
Hello,

I would simply adjust the blob detection filter to detect the two colored balls (red and blue). This will produce one or two blobs. Then, you can parse through your blobs and check the pixel color at the center of each blob. Then you can decide which blob you want to follow or ignore.

Cheers