robot

Dependencies:   FastPWM3 mbed

config_driving.h

Committer:
bwang
Date:
2016-11-29
Revision:
38:07cb4ae6c1bd
Parent:
36:cac9785c91cb
Child:
39:80b38a8e1787

File content as of revision 38:07cb4ae6c1bd:

#ifndef __CONFIG_DRIVING
#define __CONFIG_DRIVING

#define TORQUE_MODE true

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