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