Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_motor.h
- Revision:
- 108:ac6db1b94b59
- Parent:
- 97:785be556c06d
--- a/config_motor.h Wed Apr 12 18:24:11 2017 +0000 +++ b/config_motor.h Fri Apr 14 23:21:12 2017 +0000 @@ -6,7 +6,7 @@ /*electrical position offset, measured as +a, -b, -c (radians)*/ -#define POS_OFFSET 5.65f//5.88f +#define POS_OFFSET 5.65f /*# of resolver lobes*/ #define RESOLVER_LOBES 3.0f @@ -15,8 +15,8 @@ #define CPR 4096 /*d and q axis inductances, henries*/ -#define Ld 0.000876f -#define Lq 0.002068f +#define Ld 0.000605f +#define Lq 0.001539f /*PM flux linkage, volt-seconds*/ #define FLUX_LINKAGE 0.06f