Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_motor.h
- Revision:
- 55:3568b78dc203
- Parent:
- 42:030e0ec4eac5
- Child:
- 95:a86aea5c5ab2
--- a/config_motor.h Wed Jan 25 02:18:22 2017 +0000 +++ b/config_motor.h Wed Jan 25 02:41:17 2017 +0000 @@ -24,6 +24,10 @@ /*torque/phase amp for approximate models*/ #define KT 0.3f +/*a safe speed below which you + never need to field weaken*/ +#define W_SAFE 100.0f + /*maximum sane mechanical speed, used to filter velocity (rad/s)*/ #define W_CRAZY 1500.0f