The final program for the #include AIR robot
Dependencies: Biquad HIDScope QEI angleandposition controlandadjust mbed
Fork of includeair by
Diff: main.cpp
- Revision:
- 40:8b25c0531340
- Parent:
- 39:ebcf0a60f58b
- Child:
- 41:e9fd0670f70c
--- a/main.cpp Thu Oct 29 14:03:35 2015 +0000 +++ b/main.cpp Thu Oct 29 14:52:07 2015 +0000 @@ -99,9 +99,9 @@ //////////////////////////////// POSITION AND ANGLE -const double safetymarginfield=0.1; //adjustable, tweak for maximum but safe range +const double safetymarginfield=0.05; //adjustable, tweak for maximum but safe range const double mm_per_sec_emg=0.1;// move the pod 100 mm per sec if muscle is flexed -const double y_start=0.145;//starting y position of the pod +const double y_start=0.225;//starting y position of the pod const double y_punch=0.473;// position to where there is punched const double timetoshoot=0.35;// time it can take to shoot const double timetogoback=1;// time it can take to go back after shooting