Monday 26 April 2010

Program roadsymbols part

The roadsymbols section of the program was altered in order to allow the buggy to read specific signals and carry out a strict task depending on which sensor is activated.

It follows the same principle as the linefollowing section where the program checks accordingly innitially if the middle sensor has been placed above a dark surface and then whether any of the other conditions were met.
i.e it follows the magnetic strip then at the end of the symbol reads the final stage then depending on which sensors are also showing signs of being positioned over a dark strip will carry out 1 of three tasks. (saves memory space)




No comments:

Post a Comment