On day 1, we made a 5-minute bot and gave it commands. This is what I did:
Making a square using the 5-minute Bot
I had a little trouble to program the bot to move around to make a square. The problem is the time. I plug in and out random numbers between .1 and 1. I got 0.76 and it worked perfectly.
The code to make the robot scatter around and sensing:
I program the bot to move around and program the sensors. For example, the ultra sound detect an object in distance, it will redirect and keep move and repeat. The Problem I went through was the coding because it is hard to make a code that commands the robots to move and detect stuff. and if it would detect something, it would move like turn around and move forward for example.