Bayley Wang
/
foc-ed_in_the_bot_compact
robot
config_motor.h
- Committer:
- bwang
- Date:
- 2016-11-07
- Revision:
- 30:c25c5bf0d951
- Parent:
- 29:50e6e4e46580
- Child:
- 31:ebe42589ab9d
File content as of revision 30:c25c5bf0d951:
#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.0f //uH #define Lq 0.0f #define KT 0.3f //Nm/A -- filler value until the LUT is made #define IPHASE_MOTOR_LIMIT 200.0f #define W_LIMIT 1000.0f #define PI 3.141593f #endif