Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dev-f303 FastPWM3
Diff: Transforms/Transforms.cpp
- 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;