Biorobotics / Robot-Software

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed Servo

Revision:
5:0dd66c757f24
Parent:
0:4cb1de41d049
Child:
7:b77f2201b156
Child:
10:7339dca7d604
--- a/main.cpp	Mon Oct 22 19:10:41 2018 +0000
+++ b/main.cpp	Mon Oct 22 19:12:42 2018 +0000
@@ -33,6 +33,8 @@
 float e, u1, u2, emg_signal_raw_0, processed_emg_0, emg_signal_raw_1, processed_emg_1, robot_end_point, reference_end_point, motor_angle, motor_counts, q_ref; //will be set by the motor_controller function
 int counts_per_rotation = 32;
 bool state_changed = false;
+double x; // Making the position (x,y) of the end effector global
+double y;
 
 float processing_chain_emg(int num) {
     return 6.0;