only:A bit of additional ETB logging

This commit is contained in:
Andrey 2024-09-03 09:49:59 -04:00
parent e182c88541
commit 91aad49b6a
2 changed files with 5 additions and 2 deletions

View File

@ -314,6 +314,8 @@ expected<percent_t> EtbController::getSetpointEtb() {
targetWithIdlePosition = interpolateClamped(0, etbIdleAddition, 100, 100, etbCurrentTarget);
percent_t targetPosition = boardAdjustEtbTarget(targetWithIdlePosition + getLuaAdjustment());
// just an additional logging data point
adjustedEtbTarget = targetPosition;
#if EFI_ANTILAG_SYSTEM
if (engine->antilagController.isAntilagCondition) {

View File

@ -19,13 +19,14 @@ struct_no_prefix electronic_throttle_s
bit jamDetected
float etbDutyRateOfChange;"ETB duty rate of change";"per", 1,0, 0,25, 2,@@GAUGE_CATEGORY_ETB@@
float etbDutyAverage;"ETB average duty";"per", 1,0, -20,50, 2,@@GAUGE_CATEGORY_ETB@@
float etbDutyAverage;"ETB average duty";"%", 1,0, -20,50, 2,@@GAUGE_CATEGORY_ETB@@
uint16_t etbTpsErrorCounter;"ETB TPS error counter";"count", 1,0, 0,3, 0,@@GAUGE_CATEGORY_ETB@@
uint16_t etbPpsErrorCounter;"ETB pedal error counter";"count", 1,0, 0,3, 0,@@GAUGE_CATEGORY_ETB@@
int8_t etbErrorCode
int8_t tcEtbDrop
int8_t tcEtbDrop;ETB traction control;"%", 1, 0, 0, 100, 0
uint16_t autoscale jamTimer;ETB jam timer;"sec", 0.01, 0, 0, 100, 2
int8_t adjustedEtbTarget;ETB with adjustments;"%", 1, 0, 0, 100, 0
end_struct