how to switch movement of KUKA youBot

Typically: "How do I... ", "How can I... " questions
Post Reply
farah amirah
Posts: 11
Joined: 05 Oct 2016, 07:31

how to switch movement of KUKA youBot

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: how to switch movement of KUKA youBot

Post 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

Post Reply