Mid level control code
Dependencies: ros_lib_kinetic
Diff: MLSettings.h
- Revision:
- 27:6853ee8ffefd
- Parent:
- 26:7c59002c9cd7
- Child:
- 28:8e0c502c1a50
--- a/MLSettings.h Mon Jan 28 21:24:48 2019 +0000 +++ b/MLSettings.h Tue Jan 29 14:58:45 2019 +0000 @@ -15,18 +15,17 @@ // REAL TIME FREQUENCIES const short int SENSOR_FEEDBACK_HZ = 1; //10; -const float LL_DEMANDS_FREQ_HZ = 1; //50; +const float LL_DEMANDS_FREQ_HZ = 50; const unsigned int LOW_LEVEL_SPI_FREQUENCY = 10000000; const float MAX_PRESSURE_LIMIT = 10.0; // PATH GENERATION SETTINGS -const float MAX_ACTUATOR_LIMIT_MM = 41.0; +const float MAX_ACTUATOR_LIMIT_MM = 40.0; const float MAX_ACTUATOR_LENGTH_MM = 52.2; const float MAX_SPEED_MMPS = 24.3457; //const float FLT_MAX_CHAMBER_LENGTHS_MM[N_CHANNELS] = {80.0,80.0,80.0,80.0,80.0,80.0,80.0,80.0}; -//const float FLT_ACTUATOR_CONVERSION[N_CHANNELS] = {1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0}; // Convert from chamber lengths to actuator -//const float FLT_PERCENT_PATH_TOLERANCE = 0.05; // Additional % tolerance beyond maximum achievable mm tolerance -const float FLT_PATH_TOLERANCE_MM = 0.1; +//const float FLT_ACTUATOR_CONVERSION[N_CHANNELS] = {1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0}; // Convert from chamber lengths to actuator +const float FLT_PATH_TOLERANCE_MM = 0.1; // Maximum achievable mm path tolerance #endif \ No newline at end of file