flash based config testing

Dependencies:   mbed

Committer:
bwang
Date:
Tue Mar 07 08:06:39 2017 +0000
Revision:
3:82c00c8e2cb4
Parent:
1:df6bbacb7bb9
lot's more commands

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bwang 0:941e150e78b6 1 #ifndef __CONFIG_DRIVING
bwang 0:941e150e78b6 2 #define __CONFIG_DRIVING
bwang 0:941e150e78b6 3
bwang 0:941e150e78b6 4 #define TORQUE_MODE true
bwang 0:941e150e78b6 5
bwang 0:941e150e78b6 6 /*forward torque scaling*/
bwang 0:941e150e78b6 7 #define MAX_TQPCT_PLUS 1.0f
bwang 0:941e150e78b6 8
bwang 0:941e150e78b6 9 /*reverse/regen torque scaling*/
bwang 0:941e150e78b6 10 #define MAX_TQPCT_MINUS 0.3f
bwang 0:941e150e78b6 11
bwang 0:941e150e78b6 12 /*maximum torque for approximate methods*/
bwang 0:941e150e78b6 13 #define TORQUE_MAX 75.0f
bwang 0:941e150e78b6 14
bwang 0:941e150e78b6 15 /*max speed, including any field weakening, rad/s*/
bwang 0:941e150e78b6 16 #define W_MAX 1000.0f
bwang 0:941e150e78b6 17
bwang 0:941e150e78b6 18 #endif