Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_motor.h
- Revision:
- 15:b583cd30b063
- Child:
- 18:3863ca45cf26
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config_motor.h Sun Oct 30 22:16:30 2016 +0000 @@ -0,0 +1,12 @@ +#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 Q_MAX 50.0f + +#define PI 3.141593f + +#endif \ No newline at end of file