flash based config testing

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config_driving.h Source File

config_driving.h

00001 #ifndef __CONFIG_DRIVING
00002 #define __CONFIG_DRIVING
00003 
00004 #define TORQUE_MODE true
00005 
00006 /*forward torque scaling*/
00007 #define MAX_TQPCT_PLUS 1.0f
00008 
00009 /*reverse/regen torque scaling*/
00010 #define MAX_TQPCT_MINUS 0.3f
00011 
00012 /*maximum torque for approximate methods*/
00013 #define TORQUE_MAX 75.0f
00014 
00015 /*max speed, including any field weakening, rad/s*/
00016 #define W_MAX 1000.0f
00017 
00018 #endif