Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_driving.h
- Revision:
- 29:50e6e4e46580
- Child:
- 30:c25c5bf0d951
diff -r ed9c1ca386fd -r 50e6e4e46580 config_driving.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config_driving.h Mon Nov 07 11:22:25 2016 +0000 @@ -0,0 +1,12 @@ +#ifndef __CONFIG_DRIVING +#define __CONFIG_DRIVING + +#define FORWARD_TORQUE_MAX 60.0f //N/m +#define REVERSE_TORQUE_MAX -20.0f + +#define P_FORWARD_MAX 20000.0f //W +#define P_REVERSE_MAX 4000.0f + +#define W_MAX 500.0f //rad/s + +#endif \ No newline at end of file