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: foc.h
- Revision:
- 20:bf9ea5125d52
diff -r bd10a04eedc2 -r bf9ea5125d52 foc.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/foc.h Thu Mar 02 15:31:23 2017 +0000 @@ -0,0 +1,12 @@ +#ifndef FOC_H +#define FOC_H + +#include "structs.h" + + +void abc(float theta, float d, float q, float *a, float *b, float *c); +void dq0(float theta, float a, float b, float c, float *d, float *q); +void svm(float v_bus, float u, float v, float w, float *dtc_u, float *dtc_v, float *dtc_w); +void zero_current(int *offset_1, int *offset_2); +void reset_foc(ControllerStruct *controller); +#endif