Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
28:c7e8d2db03f5
Parent:
27:688409727452
Child:
29:1132155bc7da
diff -r 688409727452 -r c7e8d2db03f5 main.cpp
--- a/main.cpp	Fri Mar 14 02:13:10 2014 +0000
+++ b/main.cpp	Fri Mar 21 00:48:29 2014 +0000
@@ -262,7 +262,8 @@
                 
                 // poll the compass ( currently gives bad values )
             case 'Q':
-                DBGPRINT("Compass vector = %d\t%d\t%d\r\n",bot.gyro.xmag,bot.gyro.ymag,bot.gyro.zmag);
+                //bot.gyro.checkCompass();
+                DBGPRINT("Compass vector = %d\t%d\t%d\t%f\r\n",bot.gyro.xmag,bot.gyro.ymag,bot.gyro.zmag,bot.gyro.compDir*180.0/3.14159);
                 break;
                 
                // brake if we get an unknown command