Robotics+Class+6

This week’s lesson was similar to last week. We continued programming our robots, although he tasks were harder. Two of our group members (Madi and Ottavia) were absent, so I was put in a group with Nadia, Stefano and Riccardo. We then split in pairs. I was with Riccardo. The group work was not very effective – I wasa programming most of the time, whilst Riccardo looked at other group’s work to find out how we could program. Our task was to make the robot use the ultrasonic sensor in order to see the light; when the robot saw darkness, which is often an obstacle, ahead, it would turn and go in another direction. I had some problems with the task. It took me a lot of time to figure out how to program it. In the end, Mr. Emanuele helped me with programming the robot, but there were then some technological failures – the actions have been erased, so I had to restart it. The other problem was the cable – most of the time it wouldn’t work properly, so it was hard to download the program onto the robot. In the end I achieved the desired result, but I didn’t have much time to test it since I finished it in the last few minutes. The steps were: the robot had to condinue going for an infinite amount of time; stop when it sees an obstacle; look 90 degrees left; rotate 180 degrees; compare the results; go into the direction there is no or less obstacles. There was one command that Mr. Emanule put in the program that I did not understand – I think it made the robot compare the two directions.