Bayley Wang
/
flash_configuration
flash based config testing
Defaults/config_driving.h
- Committer:
- bwang
- Date:
- 2017-03-02
- Revision:
- 1:df6bbacb7bb9
- Parent:
- config_driving.h@ 0:941e150e78b6
File content as of revision 1:df6bbacb7bb9:
#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