Author Topic: Algorithm To Scan For Different Colored Objects  (Read 1655 times)

0 Members and 1 Guest are viewing this topic.

Offline MastermimeTopic starter

  • Supreme Robot
  • *****
  • Posts: 316
  • Helpful? 5
Algorithm To Scan For Different Colored Objects
« on: September 25, 2011, 01:02:36 PM »
Hey guys,

Does anyone know of a algorithm to scan for different colored pieces of paper along the floor in three different rooms? I have a bump and light sensor.  So I was thinking I could scan the room in lines and then once it hits a wall, the bump sensor will activate and turn it 180 degrees (similar to how you mow your lawn).  The only problem with this is that it could go into the next room without sensing the different piece of colored paper.  What are your guys thoughts?  Is there a better algorithm?

 


data_list