trying to improve ETB logging

This commit is contained in:
rusefillc 2022-11-22 20:20:45 -05:00
parent 4beea9dc58
commit 7e64b56690
2 changed files with 5 additions and 3 deletions

View File

@ -360,6 +360,7 @@ expected<percent_t> EtbController::getSetpointEtb() {
}
targetPosition = clampF(minPosition, targetPosition, maxPosition);
etbCurrentAdjustedTarget = targetPosition;
#if EFI_TUNER_STUDIO
if (m_function == ETB_Throttle1) {

View File

@ -1,14 +1,15 @@
struct_no_prefix electronic_throttle_s
float idlePosition
float trim
float luaAdjustment
float idlePosition;"ETB: idlePosition"
float trim;"ETB: trim"
float luaAdjustment;"ETB: luaAdjustment"
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
percent_t etbFeedForward
float etbIntegralError;;"", 1, 0, -10000, 10000, 3
float etbCurrentTarget;;"%", 1, 0, -10000, 10000, 3
float etbCurrentAdjustedTarget;;"%", 1, 0, -10000, 10000, 3
bit etbRevLimitActive