robot

Dependencies:   FastPWM3 mbed

Revision:
59:0416da6c3060
Parent:
58:7316c5a4c417
Child:
61:85a31897e719
--- a/main.cpp	Sat Jan 28 02:44:52 2017 +0000
+++ b/main.cpp	Sat Jan 28 03:16:40 2017 +0000
@@ -161,10 +161,12 @@
 }
 
 int main() {
-    dq = new LutMapper();// LinearNoFWMapper(KT, TORQUE_MAX, FLUX_LINKAGE);
+    dq = new LutMapper();
     th = new NullThrottleMapper();
     BREMSInit(&io, &read, &foc, &control, false);
     
     for (;;) {
+        //io.pc->printf("%f %f %f\n\r", read.w, control.d_integral, control.q_integral);
+        //wait(0.2);
     }
 }
\ No newline at end of file