Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of linearMirrorMotion1017 by
Diff: main.cpp
- 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
