The final program for the #include AIR robot

Dependencies:   Biquad HIDScope controlandadjust mbed QEI angleandposition

Files at this revision

API Documentation at this revision

Comitter:
Gerth
Date:
Mon Oct 19 08:43:26 2015 +0000
Parent:
12:b9f0b92bd659
Child:
14:4c4f45a1dd23
Commit message:
x movement in stead of y movement;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Oct 19 08:29:36 2015 +0000
+++ b/main.cpp	Mon Oct 19 08:43:26 2015 +0000
@@ -261,7 +261,7 @@
     } else {
         led1=led2=0;
     }
-    desired_angle[0]=(-1*desired_position);// REMOVE IN FINAL VERSION
+    desired_angle[0]=(desired_position);// REMOVE IN FINAL VERSION
     desired_angle[1]=desired_position;//REMOVE IN FINAL VERSION
 }