Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_motor.h
- Revision:
- 20:91ae97a811e3
- Parent:
- 19:a6cf15f89f3d
- Child:
- 24:5e18a87a0e95
--- a/config_motor.h Wed Nov 02 12:52:00 2016 +0000 +++ b/config_motor.h Sat Nov 05 07:52:36 2016 +0000 @@ -8,6 +8,7 @@ #define KT 0.3f //Nm/A -- filler value until the LUT is made #define FORWARD_TORQUE_MAX 60.0f #define REVERSE_TORQUE_MAX -20.0f +#define W_MAX 1000.0f //max speed, mechanical rad/s #define Q_MAX 50.0f #define PI 3.141593f