This commit is contained in:
rusefi 2018-11-22 23:15:05 -05:00
parent 64a592e507
commit 1fffc8b740
4 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Sep 25 15:46:46 EDT 2018
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Nov 22 23:13:59 EST 2018
// begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_
@ -27,10 +27,12 @@ typedef struct {
*/
int16_t period;
/**
* Output min value
* offset 16
*/
int16_t minValue;
/**
* Output max value
* offset 18
*/
int16_t maxValue;
@ -2422,4 +2424,4 @@ typedef struct {
#endif
// end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Sep 25 15:46:46 EDT 2018
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Nov 22 23:13:59 EST 2018

View File

@ -27,6 +27,7 @@
#include "efilib.h"
#include "efitime.h"
// see https://en.wikipedia.org/wiki/Ziegler%E2%80%93Nichols_method
// order must be match enumerated type for auto tune methods
Tuning tuningRule[PID_AutoTune::NO_OVERSHOOT_PID + 1] =
{

View File

@ -130,6 +130,7 @@ public:
byte peakCount;
float input;
// suggested P coefficient while auto-tuning
float output;
void setOutput(float output);

View File

@ -144,8 +144,8 @@ struct pid_s
float dFactor;;"", 1, 0, -10000, 10000, 7
int16_t offset;Linear addition to PID logic;"", 1, 0, 0, 1000, 0
int16_t period;PID dTime;"ms", 1, 0, 0, 3000, 0
int16_t minValue;;"", 1, 0, -3000, 3000.0, 3
int16_t maxValue;;"", 1, 0, -3000, 3000.0, 3
int16_t minValue;Output min value;"", 1, 0, -3000, 3000.0, 3
int16_t maxValue;Output max value;"", 1, 0, -3000, 3000.0, 3
end_struct
struct cranking_parameters_s