2022-01-04 21:09:04 -08:00
// this section null
2019-09-01 10:56:46 -07:00
// by class com.rusefi.output.CHeaderConsumer
// begin
2020-07-05 23:07:22 -07:00
# pragma once
2019-09-01 10:56:46 -07:00
# include "rusefi_types.h"
// start of pid_state_s
struct pid_state_s {
/**
* offset 0
*/
float iTerm = ( float ) 0 ;
/**
* we are remembering this only for debugging purposes
* offset 4
*/
float dTerm = ( float ) 0 ;
/**
* only used for logging
* offset 8
*/
float target = ( float ) 0 ;
/**
* only used for logging
* offset 12
*/
float input = ( float ) 0 ;
/**
* only used for logging
* offset 16
*/
float output = ( float ) 0 ;
/**
* offset 20
*/
float errorAmplificationCoef = ( float ) 0 ;
2019-09-01 16:37:58 -07:00
/**
* offset 24
*/
float previousError = ( float ) 0 ;
/** total size 28*/
2019-09-01 10:56:46 -07:00
} ;
// end
2022-01-04 21:09:04 -08:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) util/math/pid_state.txt Wed Jan 05 05:06:32 UTC 2022