Takashi Asano / Mbed 2 deprecated linearMirrorMotion1017

Fork of linearMirrorMotion1017 by Hiromasa Oku

Revision:
28:d86c629b6fd3
Parent:
27:38bc8dc67dab
--- a/main.cpp	Tue Jul 23 03:01:35 2013 +0000
+++ b/main.cpp	Wed Jul 24 08:31:32 2013 +0000
@@ -86,8 +86,8 @@
     angleX = inx;
     angleY = iny;
     
-    PotX = 0.25*potxx;//inPotX;
-    PotY = 0.25*potyy;//inPotY;
+    PotX = inPotX;//0.25*potxx;
+    PotY = inPotY;//0.25*potyy;
     
     // low pass filter (recusive filter):
     float alpha=.35; // alpha=dt/(RC+dt), with dt=COMPUTE_SPEED, and f_cut=1/(2*PI*RC) is the filter cutoff frequency