debug is set to idle mode, but none of the debug fields show anything #4335

better log names?
This commit is contained in:
rusefillc 2022-07-08 01:05:48 -04:00
parent db3f92edf4
commit d850bea101
1 changed files with 9 additions and 9 deletions

View File

@ -7,19 +7,19 @@ custom idle_state_e 4 bits, S32, @OFFSET@, [0:2], "not important"
percent_t currentIdlePosition;"idle: current position\nthat's current position with CLT and IAT corrections" percent_t currentIdlePosition;"idle: current position\nthat's current position with CLT and IAT corrections"
percent_t baseIdlePosition;"idle: base value\ncurrent position without adjustments (iacByTpsTaper, afterCrankingIACtaperDuration)" percent_t baseIdlePosition;"idle: base value\ncurrent position without adjustments (iacByTpsTaper, afterCrankingIACtaperDuration)"
percent_t iacByTpsTaper;iacByTpsTaper portion of idle percent_t iacByTpsTaper;idle: iacByTpsTaper portion of idle
int throttlePedalUpState;true in IDLE throttle pedal state, false if driver is touching the pedal\ntodo: better name for this field? int throttlePedalUpState;true in IDLE throttle pedal state, false if driver is touching the pedal\ntodo: better name for this field?
bit mightResetPid;The idea of 'mightResetPid' is to reset PID only once - each time when TPS > idlePidDeactivationTpsThreshold.\nThe throttle pedal can be pressed for a long time, making the PID data obsolete (thus the reset is required).\nWe set 'mightResetPid' to true only if PID was actually used (i.e. idlePid.getOutput() was called) to save some CPU resources.\nSee automaticIdleController(). bit mightResetPid;The idea of 'mightResetPid' is to reset PID only once - each time when TPS > idlePidDeactivationTpsThreshold.\nThe throttle pedal can be pressed for a long time, making the PID data obsolete (thus the reset is required).\nWe set 'mightResetPid' to true only if PID was actually used (i.e. idlePid.getOutput() was called) to save some CPU resources.\nSee automaticIdleController().
bit shouldResetPid; bit shouldResetPid;idle: shouldResetPid
bit wasResetPid;This is needed to slowly turn on the PID back after it was reset. bit wasResetPid;idle: wasResetPid\nThis is needed to slowly turn on the PID back after it was reset.
bit mustResetPid;This is used when the PID configuration is changed, to guarantee the reset bit mustResetPid;idle: mustResetPid\nThis is used when the PID configuration is changed, to guarantee the reset
bit isCoasting bit isCoasting;idle: coasting
bit useIacTableForCoasting bit useIacTableForCoasting
bit notIdling bit notIdling
bit needReset bit needReset;idle: reset
bit isInDeadZone bit isInDeadZone;idle: dead zone
bit isBlipping bit isBlipping
bit useClosedLoop bit useClosedLoop
bit badTps bit badTps
@ -30,8 +30,8 @@ bit useInstantRpmForIdle
bit isVerboseIAC bit isVerboseIAC
int targetRpmByClt int targetRpmByClt;idle: target by CLT
int targetRpmAcBump int targetRpmAcBump;idle: A/C bump
! end of idle_state_s structure definition ! end of idle_state_s structure definition
end_struct end_struct