Zachary Sunberg / Mbed 2 deprecated SAILORSbot_student

Dependencies:   mbed

Fork of SAILORSbot by Zachary Sunberg

Revision:
2:483c2e492a36
Parent:
1:a7aab5937375
Child:
3:47cd6b9e4dbb
diff -r a7aab5937375 -r 483c2e492a36 main.cpp
--- a/main.cpp	Sun Jun 28 08:43:51 2015 +0000
+++ b/main.cpp	Mon Jul 20 20:19:47 2015 -0700
@@ -1,8 +1,6 @@
 #include "robot.h"
 #include <sstream>
 
-// std::stringstream command;
-
 volatile double leftspeed;
 volatile double rightspeed;
 
@@ -14,10 +12,8 @@
 /*
     parses a single command from the stream
 */
-// int parse_command(std::stringstream & cmd)
 int parse_command(const char* cmd)
 {
-    //xbee.printf("%s\n", cmd.str().c_str());
     //xbee.printf("%s\n", cmd);
     if(cmd[1]==':'){
         if(cmd[0]=='l'){