2 Robots Working

Because we refactored the code to treat the robots as objects, it was a cinch to add in a second robot, and we are now tracking 2 robots (green and blue) while we experiment with the LED’s and their effectiveness at color detection.  It will be a simple matter to expand from 2 to 6 […]

GUI Progress!

GUI Progress!

Static GUI started in Qt

Hit A Snag

It seems that colored paper varies in RGB intensities widely across the board, due both to different lighting conditions from the 2 fluorescent lights above our board and from the varying distance of the robot to the CMUcam.  We attempted to use LED’s for identification but the LED’s flood the sensors of the camera and […]

camera mounted

camera mounted

Robot struct created

In order to better manage the variables and data of our robots, a struct was created for the robot.  properties include x and y position, dx and dy to show the movement, angle to show direction the robot is moving in, and node number to identify which firefly node the robot will belong to.  This […]

Found on a CMUCam2 FAQ Web Site

CMUcam2 Frequently-Asked-Questions Q1: AAAHHHhhh! We’re spazzing because we can’t get the #%*$@&! camera to do anything. What do we do?

FireFly to 3pi communication works

Serial Communication

One important aspect of this project will be communication between the FireFly nodes and their respective 3pi hosts.  This requires knowledge of both APIs, although it is made simpler by the fact that in our implementation communication is one-way.  Since the 3pi hosts will essentially be “dumb” recipients of velocity inputs, the communication will only travel from […]

Motor control working

That was easy.

LCD control working

After getting all the libraries and tools installed, actually programming the 3pi was very easy. The code is very high-level, and programming over USB takes about 5 seconds.