46737. TP02 : Aspirateur

Ready to bite the dust!

https://youtu.be/5Ze5-if_EFk

"The iRobot Roomba 870 is a smart robot vacuum cleaner that cleans power your whole house! Its revolutionary cleaning system allows it to suck on all types of floors. Programmable up to 7 times a week, easy to use and maintenance, it will quickly become your most loyal asset to your spotless floors in all circumstances and without efforts! "

You have the BOT120 enterprise A4 equipped with a front bumper.

1. Using the documentation BOT120, find the Cx input pin of the left bumper? Cx be noted CL.

2. Find the Cy input pin of the right bumper? Cy is noted CR.

A shock to the left leads CL = 1. And a shock on the right leads CR = 1.

3. If the shock is central, what are the values of CL and CR sensors?

4. Set the BOT120 so that if left shock the left headlight is ON and do the same to the right.

5. Program BOT120 to get it going until it collides. In a collision, BOT120 back for 1 second then turns left or right for 1 second before resuming its path.