Bayley Wang
/
foc-ed_in_the_bot_compact
robot
config_motor.h
- Committer:
- bwang
- Date:
- 2016-10-31
- Revision:
- 18:3863ca45cf26
- Parent:
- 15:b583cd30b063
- Child:
- 19:a6cf15f89f3d
File content as of revision 18:3863ca45cf26:
#ifndef __CONFIG_MOTOR_H #define __CONFIG_MOTOR_H #define POLE_PAIRS 3.0f #define POS_OFFSET 1.49f #define RESOLVER_LOBES 3.0f #define CPR 4096 #define KT 0.3f //Nm/A -- filler value until the LUT is made #define TORQUE_MAX 60.0f #define Q_MAX 50.0f #define PI 3.141593f #endif