This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Revision:
25:b16f1045108f
Parent:
22:6e3218cf75f8
Child:
62:78d99b781f02
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Processes/MotorControl/MotorControl.h	Wed Apr 10 02:01:51 2013 +0000
@@ -0,0 +1,22 @@
+
+#ifndef MOTOR_CONTROL_H
+#define MOTOR_CONTROL_H
+
+namespace MotorControl{
+    
+    extern float fwdcmd;
+    extern float omegacmd;
+    
+    inline void set_fwdcmd(float infwdcmd){
+        fwdcmd = infwdcmd;
+    }
+    
+    inline void set_omegacmd(float inomega){
+        omegacmd = inomega;
+    }
+    
+    void motor_control_isr();
+    
+}
+
+#endif //MOTOR_CONTROL_H
\ No newline at end of file