This is the final project for my Advanced Mechatronics class at Penn State University. The robot is the skeleton of a turret from the game Portal that uses an IP webcam to track a target and fire nerf bullets at them. This is the current state of the robot as of 5/9/12, but I am currently molding a shell for the frame to make it look like the Portal turret, along with improving my code to make the tracking faster. All programming is done with MATLAB and Arduino. Enjoy!