mirror of https://github.com/rusefi/rusefi.git
trying to improve ETB logging
This commit is contained in:
parent
4beea9dc58
commit
7e64b56690
|
@ -360,6 +360,7 @@ expected<percent_t> EtbController::getSetpointEtb() {
|
||||||
}
|
}
|
||||||
|
|
||||||
targetPosition = clampF(minPosition, targetPosition, maxPosition);
|
targetPosition = clampF(minPosition, targetPosition, maxPosition);
|
||||||
|
etbCurrentAdjustedTarget = targetPosition;
|
||||||
|
|
||||||
#if EFI_TUNER_STUDIO
|
#if EFI_TUNER_STUDIO
|
||||||
if (m_function == ETB_Throttle1) {
|
if (m_function == ETB_Throttle1) {
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
struct_no_prefix electronic_throttle_s
|
struct_no_prefix electronic_throttle_s
|
||||||
|
|
||||||
float idlePosition
|
float idlePosition;"ETB: idlePosition"
|
||||||
float trim
|
float trim;"ETB: trim"
|
||||||
float luaAdjustment
|
float luaAdjustment;"ETB: luaAdjustment"
|
||||||
|
|
||||||
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
|
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
|
||||||
|
|
||||||
percent_t etbFeedForward
|
percent_t etbFeedForward
|
||||||
float etbIntegralError;;"", 1, 0, -10000, 10000, 3
|
float etbIntegralError;;"", 1, 0, -10000, 10000, 3
|
||||||
float etbCurrentTarget;;"%", 1, 0, -10000, 10000, 3
|
float etbCurrentTarget;;"%", 1, 0, -10000, 10000, 3
|
||||||
|
float etbCurrentAdjustedTarget;;"%", 1, 0, -10000, 10000, 3
|
||||||
|
|
||||||
bit etbRevLimitActive
|
bit etbRevLimitActive
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue