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 QEI biquadFilter mbed
Fork of NR_method by
Diff: NR_method_1.cpp
- Revision:
- 4:f16a18aa58bd
- Parent:
- 3:40427c0157a0
- Child:
- 5:d3031d082c22
--- a/NR_method_1.cpp Thu Nov 01 11:21:04 2018 +0000 +++ b/NR_method_1.cpp Thu Nov 01 11:31:21 2018 +0000 @@ -313,7 +313,7 @@ void initializeren() { waiting = 1; - while(waiting <=3) + while(waiting <=2) if (bas == true) { if (waiting == 1) { @@ -327,7 +327,7 @@ } if(waiting == 2) { - Cxx = -40; + Cxx = -45; Cyy = 10; position_define(); angle_define(); @@ -356,7 +356,8 @@ bqc2.add( &bq3 ); bqc3.add( &bq4 ).add( &bq5 ); bqc4.add( &bq6 ); - + Cxx = -35; + Cyy = 27; while(true) { if(bas == true) { @@ -366,9 +367,9 @@ angle_define(); motor_controler(); - sw2.fall(change); - Position1x(emgFiltered3); - Position1y(emgFiltered23); + //sw2.fall(change); + //Position1x(emgFiltered3); + //Position1y(emgFiltered23); Led = 0; bas= false; }