![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
Diff: debug.cpp
- Revision:
- 100:222c27f55b85
- Parent:
- 98:25528494287d
- Child:
- 101:b821e89fc108
- Child:
- 110:a6439e13be8b
--- a/debug.cpp Thu Oct 22 08:16:28 2015 +0000 +++ b/debug.cpp Thu Oct 22 08:51:50 2015 +0000 @@ -7,8 +7,8 @@ // all the debugging functions // #define TUNEPID // set to switch between normal opperation or tuning PID -// #define TUNEEMG // set hdiscope for EMG -#define TUNEPWM // set hidscope for rest + #define TUNEEMG // set hdiscope for EMG +//#define TUNEPWM // set hidscope for rest #ifdef TUNEPID HIDScope scope(5); @@ -38,13 +38,15 @@ #endif #ifdef TUNEEMG -HIDScope scope(4); // Number of scopes +HIDScope scope(5); // Number of scopes void debugProcess(){ - scope.set(0,x_velocity); - scope.set(1,y_velocity); - scope.set(2,pump); - scope.set(3,DOF); + scope.set(0,y_velocity); + scope.set(1,motor2SetSpeed); + scope.set(2,z_velocity); + scope.set(3,mode); + scope.set(4,DOF); + scope.set(5,motorsEnable); scope.send(); } #endif \ No newline at end of file