During our lecture we made a C++ program that utilizes the Myro library and lets users draw shapes with CPK. The four shapes we implemented are a fibonacci spiral, a square, a circular spiral, and a star. To pick which shape to draw, users click the corresponding picture on the graphical user interface.
For our Lab 7 we had a competition to determine who could draw Sierpinski Triangles with our robots in the shortest amount of time. For my implementation, I tried to minimize the number of degrees the robot needed to turn while drawing out the triangles because turning is slower than moving forward/backward. To achieve this, my robot drew both forwards and backwards. Sadly, CPK did not perform well on competition day and my triangles did not turn out so well...
For my homework 6, I am going to teach a group of middle school students about Artificial Intelligence. I am working on a team with Matthew Cuellar, Lorraine Sposto, and Kayla Green. My subtopic within AI will be about Creativity and its importance for creating human-like robots. Tomorrow in class I will give a short presentation about creativity in AI.
Today we did our robot demos for middle school kids to demonstrate our CS topic. My demo had the robot play a game where the kids tried to guess what randomly generated shape the robot was drawing given only the first quarter of the shape. They could then guess the shape, or see the next quarter of it. The goal of the game is to get the lowest score, which means guessing the shapes correctly with the smallest portion of the overall shape drawn. At the end of the game, the program graphs data collected from all the kids who played the shape guessing game to show which shapes were the hardest (and easiest) to guess. In the demo, the robot also plays Twinkle Twinkle Little Star.
Our Homework 7 assignment was to use our robot to take pictures of "qrcode" symbol playlists, identify the symbols, sort them by size, then play a song for each shape.