Ikhee Jo / T-Motor_AK80_BaseCode

Dependencies:   mbed-dev-f303 FastPWM3

Revision:
1:b8bceb4daed5
Parent:
0:4e1c4df6aabd
Child:
5:51c6560bf624
--- a/Transforms/Transforms.cpp	Fri Feb 05 00:52:53 2016 +0000
+++ b/Transforms/Transforms.cpp	Fri Feb 05 01:04:57 2016 +0000
@@ -7,8 +7,6 @@
 void Transforms::Park(float alpha, float beta, float theta, float *d, float *q){
     float cosine = cos(theta);
     float sine = sin(theta);
-    //float a = sine;
-    //float b = cosine;
     *d = alpha*cosine - beta*sine;
     *q = -beta*cosine - alpha*sine;
     //DAC->DHR12R1 = (int) (*q*49.648f) + 2048;