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: HIDScope MODSERIAL QEI biquadFilter mbed
Fork of Project_script_union_final by
Revision 31:0418ce58af56, committed 2018-11-01
- Comitter:
- MarijkeZondag
- Date:
- Thu Nov 01 18:04:50 2018 +0000
- Parent:
- 30:f04a35f2a06d
- Child:
- 32:56a8bd82e971
- Commit message:
- zonder error;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 01 18:02:30 2018 +0000 +++ b/main.cpp Thu Nov 01 18:04:50 2018 +0000 @@ -82,10 +82,6 @@ BiQuad emg2band3( 1.00000e+00, -1.99999e+00, 9.99994e-01, -1.93552e+00, 9.39358e-01 ); BiQuad notch3( 9.91104e-01, -1.60364e+00, 9.91104e-01, -1.60364e+00, 9.82207e-01 ); //Notch filter -//Global variables -const float T = 0.002f; //Ticker period Deze wordt ook gebruikt in de PID, moet die niet anders??? -const float T2 = 0.002f; - // Inverse Kinematica variables const double L1 = 0.208; // Hoogte van tafel tot joint 1 //const double L2 = 0.288; // Hoogte van tafel tot joint 2 @@ -129,10 +125,6 @@ BiQuad LowPassFilterDer2( 1.12160e-01, 1.12160e-01, 0.00000e+00, -7.75680e-01, 0.00000e+00 ); -int start_control = 0; -double emg_cal = 1; - - //--------------Functions----------------------------------------------------------------------------------------------------------------------------//
