First of all, we need every sensor we have learnt so far : Sound sensor, Light sensor, Touch sensor and Ultrasonic Sensor. The robot starts by hearing a clap. It goes straight and meets the first obstacle which is stopping inside a box drawn on the ground. At this point, we can clap again to turn off the sound sensor and turn on the light sensor. As the light sensor sees the blue color, the robot stops and by using wait sensor (time) we can stop the robot for 5 seconds. Then the robot goes straight again. When it collides with the first wall, it turns right. As soon as it turns right, the ultrasonic sensor senses the second wall and the robot approaches it. Then the robot stops in front of walls and make a right turn and ultrasonic sensor senses the cans. Some of you might worry that the robot might hit the cans. However, the robot can avoid them by setting the robot to go straight. Lastly, by using light sensor, we can make the robot stops when it sees the white tape.
Subscribe to:
Post Comments (Atom)
I feel that it is hard to follow what you need to do in steps but else it is detailed and well writen
ReplyDeleteNice job in describing the flow of the race simulation. It is really detailed. It will probably be even nicer if you can point out the place in the diagram where each section of the event in your description will occur.
ReplyDelete