This page contains source code that we've written for our project. Whee
Complete package: all of the files needed to run the robot, packaged in a zip file
Picobot map running code: code for the Picobot project that solves the first three maps. This bot automatically detects if it is in a corridor, and engages the maze-solving logic if so. Otherwise it uses a generic ground-covering algorithm.
Set game player: Our code to play the game Set. Hit 'S' to load images in, then press 'r' and the game will tell you about the first set it finds.
Square Run Data: This is some old data from our robot running around in squares.
VideoTool Red.cpp: the "seeing red" code. We had this on the desktop and have been working on the laptop for a while now. It not a good excuse for putting it up late, but it works. This little bit of code will probably be more useful in the second half of the semester.
RemoteControl.py: the "remote control" client, sans wandering code. Use the /aoe,/ or /wasf/ keys to move forward and backwards and turn left and right. Heck, the code's self-documenting; it's not too hard to figure out.
Wandering client: the remote control, but with wandering behaviour added.
Robot.cpp: this bit of code will probably be out of date soon, since it is a major part of our code in MCL. It has a lot of good stuff in it. Check it out!
VideoTool Set.cpp: this is our code so far for the game of set. So far, it can recognize the four properties of the cards: number, color, texture, and shape. Next up is creating an interface that can actually apply this information to play the game.
VideoTool Blob.cpp: Here's our code for searching and following a person based on t-shirt color. We use connected components to find a the biggest blob and center the field of view on that blob. It first found red blobs, but when in the halls and no t-shirt was around, it was happy staring at the red stripes on the walls. We switched over to finding yellow blobs and this works a lot better now.