Bluetooth communication for flocking.

Dependencies:   mbed

Fork of BeautifulMemeProject by James Hilder

Revision:
20:e08376c0b4ea
Parent:
19:77f7089dca87
Child:
21:e5ab8c56a769
--- a/programs.cpp	Tue Jan 12 17:28:12 2016 +0000
+++ b/programs.cpp	Fri Jan 15 14:42:42 2016 +0000
@@ -756,12 +756,10 @@
         char beacon_heading_byte = (beacon_heading + 180) * degrees_per_value; // Convert beacon heading from +/-180 degrees into a single byte value
         
         out("sending beacon heading: %d\n", beacon_heading);
-        //out("beacon heading byte: %d\n", beacon_heading_byte);
-//        out("ground truth: %f\n", (beacon_heading + 180) * degrees_per_value);
-    //    bt.putc(beacon_heading);
         bt.putc(beacon_heading_byte);
-    //    bt.printf("%d\n", beacon_heading);
-    }   
+        
+//        out("robot_id: %d\n", robot_id);
+    }
 }
 
 //Timer timer;