flash based config testing

Dependencies:   mbed

Defaults/config_driving.h

Committer:
bwang
Date:
2017-03-07
Revision:
3:82c00c8e2cb4
Parent:
1:df6bbacb7bb9

File content as of revision 3:82c00c8e2cb4:

#ifndef __CONFIG_DRIVING
#define __CONFIG_DRIVING

#define TORQUE_MODE true

/*forward torque scaling*/
#define MAX_TQPCT_PLUS 1.0f

/*reverse/regen torque scaling*/
#define MAX_TQPCT_MINUS 0.3f

/*maximum torque for approximate methods*/
#define TORQUE_MAX 75.0f

/*max speed, including any field weakening, rad/s*/
#define W_MAX 1000.0f

#endif