Biorobotics / Robot-Software

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed Servo

Revision:
5:0dd66c757f24
Parent:
4:88d28354e023
Child:
6:8ff9566c91e2
--- a/help_functions/kinematics.h	Mon Oct 22 19:10:41 2018 +0000
+++ b/help_functions/kinematics.h	Mon Oct 22 19:12:42 2018 +0000
@@ -8,7 +8,7 @@
 double forwardkinematics_function(double q1, double q2) {
     // input are joint angles, output are x and y position of end effector
     
-    double x;
+    double x; // WE SHOULD MAKE x and y global. Discuss this!!
     double y;
     
     x = x01 - L1 * sin(q1) + L2 * cos(q1 + q2);