A fork of foc-ed_in_the_bot_compact modified to test motors using bayleyw's prius inverter ECU
Fork of foc-ed_in_the_bot_compact by
Transforms/Transforms.h@0:bac9c3a3a6ca, 2016-03-09 (annotated)
- Committer:
- bwang
- Date:
- Wed Mar 09 06:44:51 2016 +0000
- Revision:
- 0:bac9c3a3a6ca
open loop, working; motor draws ~400mA at 30V; pre-center aligned PWM
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bwang | 0:bac9c3a3a6ca | 1 | namespace Transforms{ |
bwang | 0:bac9c3a3a6ca | 2 | |
bwang | 0:bac9c3a3a6ca | 3 | void Park(float alpha, float beta, float theta, float *d, float *q); |
bwang | 0:bac9c3a3a6ca | 4 | void InvPark(float d, float q, float theta, float *alpha, float *beta); |
bwang | 0:bac9c3a3a6ca | 5 | void Clarke(float a, float b, float *alpha, float *beta); |
bwang | 0:bac9c3a3a6ca | 6 | void InvClarke(float alpha, float beta, float *a, float *b, float *c); |
bwang | 0:bac9c3a3a6ca | 7 | }; |
bwang | 0:bac9c3a3a6ca | 8 |