The final program for the #include AIR robot
Dependencies: Biquad HIDScope QEI angleandposition controlandadjust mbed
Fork of includeair by
Diff: main.cpp
- Revision:
- 12:b9f0b92bd659
- Parent:
- 11:c10651055871
- Child:
- 13:47b065aadae9
diff -r c10651055871 -r b9f0b92bd659 main.cpp --- a/main.cpp Mon Oct 19 08:23:58 2015 +0000 +++ b/main.cpp Mon Oct 19 08:29:36 2015 +0000 @@ -129,7 +129,7 @@ scope.set(2,mycontroller.motor1pwm()); scope.set(3,desired_angle[1]); scope.set(4,counttorad*encoder2.getPulses()); - scope.set(5,mycontroller.motor2pwm()); + scope.set(5,filteredsignal1); scope.send(); } //read potmeters and adjust the safetyfactor and threshold