diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 0f3e5faa6e..7c1b137165 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -147,7 +147,7 @@ struct pid_s float pFactor;;"", 1, 0, -10000, 10000, 7 float iFactor;;"", 1, 0, -10000, 10000, 7 float dFactor;;"", 1, 0, -10000, 10000, 7 - int16_t offset;Linear addition to PID logic;"", 1, 0, 0, 1000, 0 + int16_t offset;Linear addition to PID logic;"", 1, 0, -1000, 1000, 0 int16_t periodMs;PID dTime;"ms", 1, 0, 0, 3000, 0 int16_t minValue;Output min value;"", 1, 0, -30000, 30000.0, 0 int16_t maxValue;Output max value;"", 1, 0, -30000, 30000.0, 0 diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index f81aeb27bb..37dc219019 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -68,7 +68,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun May 05 13:29:04 EDT 2019 +; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun May 05 17:43:55 EDT 2019 pageSize = 20000 page = 1 @@ -581,21 +581,21 @@ page = 1 alternatorControl_pFactor = scalar, F32, 1736, "", 1, 0, -10000, 10000, 7 alternatorControl_iFactor = scalar, F32, 1740, "", 1, 0, -10000, 10000, 7 alternatorControl_dFactor = scalar, F32, 1744, "", 1, 0, -10000, 10000, 7 - alternatorControl_offset = scalar, S16, 1748, "", 1, 0, 0, 1000, 0 + alternatorControl_offset = scalar, S16, 1748, "", 1, 0, -1000, 1000, 0 alternatorControl_periodMs = scalar, S16, 1750, "ms", 1, 0, 0, 3000, 0 alternatorControl_minValue = scalar, S16, 1752, "", 1, 0, -30000, 30000.0, 0 alternatorControl_maxValue = scalar, S16, 1754, "", 1, 0, -30000, 30000.0, 0 etb_pFactor = scalar, F32, 1756, "", 1, 0, -10000, 10000, 7 etb_iFactor = scalar, F32, 1760, "", 1, 0, -10000, 10000, 7 etb_dFactor = scalar, F32, 1764, "", 1, 0, -10000, 10000, 7 - etb_offset = scalar, S16, 1768, "", 1, 0, 0, 1000, 0 + etb_offset = scalar, S16, 1768, "", 1, 0, -1000, 1000, 0 etb_periodMs = scalar, S16, 1770, "ms", 1, 0, 0, 3000, 0 etb_minValue = scalar, S16, 1772, "", 1, 0, -30000, 30000.0, 0 etb_maxValue = scalar, S16, 1774, "", 1, 0, -30000, 30000.0, 0 warmupAfrPid_pFactor = scalar, F32, 1776, "", 1, 0, -10000, 10000, 7 warmupAfrPid_iFactor = scalar, F32, 1780, "", 1, 0, -10000, 10000, 7 warmupAfrPid_dFactor = scalar, F32, 1784, "", 1, 0, -10000, 10000, 7 - warmupAfrPid_offset = scalar, S16, 1788, "", 1, 0, 0, 1000, 0 + warmupAfrPid_offset = scalar, S16, 1788, "", 1, 0, -1000, 1000, 0 warmupAfrPid_periodMs = scalar, S16, 1790, "ms", 1, 0, 0, 3000, 0 warmupAfrPid_minValue = scalar, S16, 1792, "", 1, 0, -30000, 30000.0, 0 warmupAfrPid_maxValue = scalar, S16, 1794, "", 1, 0, -30000, 30000.0, 0 @@ -605,7 +605,7 @@ page = 1 idleRpmPid_pFactor = scalar, F32, 1808, "", 1, 0, -10000, 10000, 7 idleRpmPid_iFactor = scalar, F32, 1812, "", 1, 0, -10000, 10000, 7 idleRpmPid_dFactor = scalar, F32, 1816, "", 1, 0, -10000, 10000, 7 - idleRpmPid_offset = scalar, S16, 1820, "", 1, 0, 0, 1000, 0 + idleRpmPid_offset = scalar, S16, 1820, "", 1, 0, -1000, 1000, 0 idleRpmPid_periodMs = scalar, S16, 1822, "ms", 1, 0, 0, 3000, 0 idleRpmPid_minValue = scalar, S16, 1824, "", 1, 0, -30000, 30000.0, 0 idleRpmPid_maxValue = scalar, S16, 1826, "", 1, 0, -30000, 30000.0, 0 @@ -725,7 +725,7 @@ page = 1 fuelClosedLoopPid_pFactor = scalar, F32, 2540, "", 1, 0, -10000, 10000, 7 fuelClosedLoopPid_iFactor = scalar, F32, 2544, "", 1, 0, -10000, 10000, 7 fuelClosedLoopPid_dFactor = scalar, F32, 2548, "", 1, 0, -10000, 10000, 7 - fuelClosedLoopPid_offset = scalar, S16, 2552, "", 1, 0, 0, 1000, 0 + fuelClosedLoopPid_offset = scalar, S16, 2552, "", 1, 0, -1000, 1000, 0 fuelClosedLoopPid_periodMs = scalar, S16, 2554, "ms", 1, 0, 0, 3000, 0 fuelClosedLoopPid_minValue = scalar, S16, 2556, "", 1, 0, -30000, 30000.0, 0 fuelClosedLoopPid_maxValue = scalar, S16, 2558, "", 1, 0, -30000, 30000.0, 0 @@ -763,28 +763,28 @@ page = 1 auxPid1_pFactor = scalar, F32, 2636, "", 1, 0, -10000, 10000, 7 auxPid1_iFactor = scalar, F32, 2640, "", 1, 0, -10000, 10000, 7 auxPid1_dFactor = scalar, F32, 2644, "", 1, 0, -10000, 10000, 7 - auxPid1_offset = scalar, S16, 2648, "", 1, 0, 0, 1000, 0 + auxPid1_offset = scalar, S16, 2648, "", 1, 0, -1000, 1000, 0 auxPid1_periodMs = scalar, S16, 2650, "ms", 1, 0, 0, 3000, 0 auxPid1_minValue = scalar, S16, 2652, "", 1, 0, -30000, 30000.0, 0 auxPid1_maxValue = scalar, S16, 2654, "", 1, 0, -30000, 30000.0, 0 auxPid2_pFactor = scalar, F32, 2656, "", 1, 0, -10000, 10000, 7 auxPid2_iFactor = scalar, F32, 2660, "", 1, 0, -10000, 10000, 7 auxPid2_dFactor = scalar, F32, 2664, "", 1, 0, -10000, 10000, 7 - auxPid2_offset = scalar, S16, 2668, "", 1, 0, 0, 1000, 0 + auxPid2_offset = scalar, S16, 2668, "", 1, 0, -1000, 1000, 0 auxPid2_periodMs = scalar, S16, 2670, "ms", 1, 0, 0, 3000, 0 auxPid2_minValue = scalar, S16, 2672, "", 1, 0, -30000, 30000.0, 0 auxPid2_maxValue = scalar, S16, 2674, "", 1, 0, -30000, 30000.0, 0 auxPid3_pFactor = scalar, F32, 2676, "", 1, 0, -10000, 10000, 7 auxPid3_iFactor = scalar, F32, 2680, "", 1, 0, -10000, 10000, 7 auxPid3_dFactor = scalar, F32, 2684, "", 1, 0, -10000, 10000, 7 - auxPid3_offset = scalar, S16, 2688, "", 1, 0, 0, 1000, 0 + auxPid3_offset = scalar, S16, 2688, "", 1, 0, -1000, 1000, 0 auxPid3_periodMs = scalar, S16, 2690, "ms", 1, 0, 0, 3000, 0 auxPid3_minValue = scalar, S16, 2692, "", 1, 0, -30000, 30000.0, 0 auxPid3_maxValue = scalar, S16, 2694, "", 1, 0, -30000, 30000.0, 0 auxPid4_pFactor = scalar, F32, 2696, "", 1, 0, -10000, 10000, 7 auxPid4_iFactor = scalar, F32, 2700, "", 1, 0, -10000, 10000, 7 auxPid4_dFactor = scalar, F32, 2704, "", 1, 0, -10000, 10000, 7 - auxPid4_offset = scalar, S16, 2708, "", 1, 0, 0, 1000, 0 + auxPid4_offset = scalar, S16, 2708, "", 1, 0, -1000, 1000, 0 auxPid4_periodMs = scalar, S16, 2710, "ms", 1, 0, 0, 3000, 0 auxPid4_minValue = scalar, S16, 2712, "", 1, 0, -30000, 30000.0, 0 auxPid4_maxValue = scalar, S16, 2714, "", 1, 0, -30000, 30000.0, 0 @@ -851,7 +851,7 @@ page = 1 idleTimingPid_pFactor = scalar, F32, 3992, "", 1, 0, -10000, 10000, 7 idleTimingPid_iFactor = scalar, F32, 3996, "", 1, 0, -10000, 10000, 7 idleTimingPid_dFactor = scalar, F32, 4000, "", 1, 0, -10000, 10000, 7 - idleTimingPid_offset = scalar, S16, 4004, "", 1, 0, 0, 1000, 0 + idleTimingPid_offset = scalar, S16, 4004, "", 1, 0, -1000, 1000, 0 idleTimingPid_periodMs = scalar, S16, 4006, "ms", 1, 0, 0, 3000, 0 idleTimingPid_minValue = scalar, S16, 4008, "", 1, 0, -30000, 30000.0, 0 idleTimingPid_maxValue = scalar, S16, 4010, "", 1, 0, -30000, 30000.0, 0