robot

Dependencies:   FastPWM3 mbed

config_driving.h

Committer:
bwang
Date:
2016-11-27
Revision:
36:cac9785c91cb
Parent:
30:c25c5bf0d951
Child:
38:07cb4ae6c1bd

File content as of revision 36:cac9785c91cb:

#ifndef __CONFIG_DRIVING
#define __CONFIG_DRIVING

#define TORQUE_MODE true

#define FORWARD_TORQUE_MAX 120.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