Connor's CS 101 Homepage

Learn ALL the C++

Learning C++ with Scribbler Robots

Me CPK

Me on the left and my robot, CPK, on the right


Robots and GUIs -- Lecture April 4th 2013

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.

Scribbler Shape GUI

Above is a picture of our user interface, with the four shape icons

Click here to view my C++ program for our Shape GUI


Sierpinski Triangles / Lab 7 -- April 5th 2013

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...

Lab 7 Picture

As you can see, CPK had some troubles :S

Click here to view my C++ program for Sierpinski Triangles


Presentation Slide for Homework 6: What is Computer Science -- April 7th 2013

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.

Homework 6 Slide

My powerpoint slide on creativity in AI


Demo for Homework 6: What is Computer Science -- April 12th 2013

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.

A video of my demo

Click here to view my C++ code, design document, and everything else for Homework 6


Homework 7: Computer Vision -- May 3rd 2013

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.

Homework 7 Example Playlist

An example playlist I had to process with CPK

Click here to view my C++ code, design document, and everything else for Homework 7 [WITH ROBOT]

Click here to view my C++ code, design document, and everything else for Homework 7 [WITHOUT ROBOT]



Last Updated May 3rd 2013
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees