The FollowMeBot follows the user based on the color of his or her shirt. The device hosts a webcam on a servo to find the object and orient the robot. The color is chosen through the user interface with push buttons. Currently, the MATLAB code supports red and green detection. The purpose of FollowMeBot is to be able to follow the user in order to be helpful for daily tasks.

Dependencies:   Rectangle Servo TextLCD mbed

Fork of FollowMeBot3 by Rahul Shetty

Files at this revision

API Documentation at this revision

Comitter:
rshetty6
Date:
Sat Dec 07 04:06:40 2013 +0000
Parent:
10:d53a8ef068c0
Commit message:
Final commit

Changed in this revision

iRobot/iRobot.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d53a8ef068c0 -r 503f845d2766 iRobot/iRobot.cpp
--- a/iRobot/iRobot.cpp	Sat Dec 07 02:51:52 2013 +0000
+++ b/iRobot/iRobot.cpp	Sat Dec 07 04:06:40 2013 +0000
@@ -48,8 +48,8 @@
 // Forward  - turn on drive motors
 void iRobot::forward()
 {
-    device.printf("%c%c%c%c%c", DriveDirect, char((50>>8)&0xFF),  char(50&0xFF),
-                  char((50>>8)&0xFF),  char(50&0xFF));
+    device.printf("%c%c%c%c%c", DriveDirect, char((200>>8)&0xFF),  char(200&0xFF),
+                  char((200>>8)&0xFF),  char(200&0xFF));
 //10-speed
 }
 // Reverse - reverse drive motors