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.
Dependencies: MatrixMath Matrix ExperimentServer QEI_pmw MotorShield
Diff: main.cpp
- Revision:
 - 25:52b378e89f42
 - Parent:
 - 24:26a515ebb7cf
 - Child:
 - 26:5822d4d8dca7
 
--- a/main.cpp	Tue Sep 29 20:38:35 2020 +0000
+++ b/main.cpp	Tue Sep 29 21:09:51 2020 +0000
@@ -214,10 +214,10 @@
                 float vMult = 0;
                 if( t < start_period) {
                     if (K_xx > 0 || K_yy > 0) {
-                        K_xx = 1; // for joint space control, set this to 50
-                        K_yy = 1; // for joint space control, set this to 50
-                        D_xx = 0.1;  // for joint space control, set this to 2
-                        D_yy = 0.1;  // for joint space control, set this to 2
+                        K_xx = 1; // for joint space control, set this to 1; for Cartesian space control, set this to 50
+                        K_yy = 1; // for joint space control, set this to 1; for Cartesian space control, set this to 50
+                        D_xx = 0.1;  // for joint space control, set this to 0.1; for Cartesian space control, set this to 2
+                        D_yy = 0.1;  // for joint space control, set this to 0.1; for Cartesian space control, set this to 2
                         K_xy = 0;
                         D_xy = 0;
                     }
    