Bayley Wang
/
foc-ed_in_the_bot_compact
robot
config_motor.h
- Committer:
- bwang
- Date:
- 2016-11-27
- Revision:
- 37:ba7ebf4f8a78
- Parent:
- 36:cac9785c91cb
- Child:
- 38:07cb4ae6c1bd
File content as of revision 37:ba7ebf4f8a78:
#ifndef __CONFIG_MOTOR_H #define __CONFIG_MOTOR_H #define POLE_PAIRS 3.0f #define POS_OFFSET 5.88f #define RESOLVER_LOBES 3.0f #define CPR 4096 #define Ld 0.000876f //Henries #define Lq 0.002068f #define FLUX_LINKAGE 0.1f //Vs #define KT 0.6f //Nm/A -- filler value until the LUT is made #define W_LIMIT 1000.0f #define PI 3.141593f #endif