Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_motor.h
- Revision:
- 19:a6cf15f89f3d
- Parent:
- 18:3863ca45cf26
- Child:
- 20:91ae97a811e3
--- a/config_motor.h Mon Oct 31 06:53:28 2016 +0000 +++ b/config_motor.h Wed Nov 02 12:52:00 2016 +0000 @@ -6,7 +6,8 @@ #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 FORWARD_TORQUE_MAX 60.0f +#define REVERSE_TORQUE_MAX -20.0f #define Q_MAX 50.0f #define PI 3.141593f