auto-sync

This commit is contained in:
rusEfi 2015-05-30 14:06:21 -04:00
parent 5b13bd19c1
commit f2245df847
7 changed files with 26 additions and 16 deletions

View File

@ -1,4 +1,4 @@
// this section was generated by config_definition.jar on Fri May 29 23:04:33 EDT 2015
// this section was generated by config_definition.jar on Sat May 30 13:04:24 EDT 2015
// begin
#include "rusefi_types.h"
typedef struct {
@ -279,7 +279,7 @@ typedef struct {
*/
idle_hardware_s idle;
/**
* value between 0 and 100
* value between 0 and 100 used in Manual mode
* offset 20
*/
float idlePosition;
@ -1398,4 +1398,4 @@ typedef struct {
} persistent_config_s;
// end
// this section was generated by config_definition.jar on Fri May 29 23:04:33 EDT 2015
// this section was generated by config_definition.jar on Sat May 30 13:04:24 EDT 2015

View File

@ -310,7 +310,7 @@ struct_no_prefix board_configuration_s
idle_hardware_s idle;
float idlePosition;value between 0 and 100;"%", 1, 0, 0, 100, 0
float idlePosition;value between 0 and 100 used in Manual mode;"%", 1, 0, 0, 100, 0
brain_pin_e fuelPumpPin;
pin_output_mode_e fuelPumpPinMode;
@ -486,6 +486,7 @@ bit cutSparkOnHardLimit
bit hasFrequencyReportingMapSensor;
adc_channel_e hipOutputChannel;
custom idle_mode_e 4 bits, U32, @OFFSET@, [0:0], "false", "true"
idle_mode_e idleMode;
bit isInjectionEnabled
@ -509,7 +510,7 @@ bit hasFrequencyReportingMapSensor;
uint32_t engineChartSize;;"count", 1, 0, 0, 300, 0
int targetIdleRpm;
int targetIdleRpm;;"RPM", 1, 0, 0, 7000, 0
adc_channel_e acSwitchAdc;A/C button input handled as analog input

View File

@ -30,7 +30,6 @@ enable2ndByteCanID = false
writeBlocks = on
interWriteDelay = 10
blockReadTimeout = 3000; Milliseconds general timeout
dataReadTimeout = 3000 ; really not sure if this is applicable here
blockingFactor = 256 ; max chunk size
;end communication settings
@ -41,7 +40,7 @@ enable2ndByteCanID = false
; see PAGE_0_SIZE in C source code
; CONFIG_DEFINITION_START
; this section was generated by ConfigDefinition.jar on Fri May 29 23:04:37 EDT 2015
; this section was generated by ConfigDefinition.jar on Sat May 30 13:04:28 EDT 2015
pageSize = 15288
page = 1
@ -398,7 +397,7 @@ page = 1
cutSparkOnHardLimit = bits, U32, 1496, [17:17], "false", "true"
hasFrequencyReportingMapSensor= bits, U32, 1496, [18:18], "false", "true"
hipOutputChannel = bits, U32, 1500, [0:3] "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
;skipping idleMode offset 1504
idleMode = bits, U32, 1504, [0:0], "false", "true"
isInjectionEnabled = bits, U32, 1508, [0:0], "false", "true"
isIgnitionEnabled = bits, U32, 1508, [1:1], "false", "true"
isCylinderCleanupEnabled= bits, U32, 1508, [2:2], "false", "true"
@ -415,7 +414,7 @@ page = 1
twoWireBatch = bits, U32, 1508, [13:13], "false", "true"
useOnlyFrontForTrigger = bits, U32, 1508, [14:14], "false", "true"
engineChartSize = scalar, U32, 1512, "count", 1, 0, 0, 300, 0
;skipping targetIdleRpm offset 1516
targetIdleRpm = scalar, S32, 1516, "RPM", 1, 0, 0, 7000, 0
acSwitchAdc = bits, U32, 1520, [0:3] "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PC0", "PC1", "PC2", "PC3", "PC4", "PC5"
;skipping ignMathCalculateAtIndex offset 1524
;skipping acCutoffLowRpm offset 1528
@ -637,7 +636,9 @@ fileVersion = { 20150522 }
deltaTps = scalar, F32, 116, "ratio", 1, 0
triggerErrorsCounter = scalar, U32,120, "counter", 1, 0
currentMapAccelDelta = scalar,F32, 124, "%", 1, 0
currentTpsAccel = scalar, F32, 128, "ms", 1, 0
tpsAccelFuel = scalar, F32, 128, "ms", 1, 0
baroCorrection = scalar, F32, 132, "%", 1, 0
pedalPosition = scalar, F32, 136, "%", 1, 0
egoCorrection = { 100 }
time = { timeNow }
; engineLoad = { algorithm == 0 ? MAF : TPS }
@ -833,7 +834,10 @@ fileVersion = { 20150522 }
deltaTpsGauge = deltaTps, "%", "", 0, 120, 10, 10, 100, 100, 1, 1
; minDeltaGauge = minDelta, "%", "", 0, 120, 10, 10, 100, 100, 1, 1
currentMapAccelDeltaGauge = currentMapAccelDelta,"MAP enrich", "%", 0, 120, 10, 10, 100, 100, 1, 1
currentTpsAccelGauge = currentTpsAccel,"TPS enrich", "ms", 0, 120, 10, 10, 100, 100, 1, 1
tpsAccelFuelGauge = tpsAccelFuel,"TPS enrich", "ms", 0, 120, 10, 10, 100, 100, 1, 1
baroCorrectionGauge = baroCorrection,"BaroCorr", "%", 0, 120, 10, 10, 100, 100, 1, 1
pedalPositionGauge = pedalPosition,"Pedal Position", "%", 0, 120, 10, 10, 100, 100, 1, 1
triggerErrorsCounterGauge = triggerErrorsCounter, "trg err", "count", 0, 15000, 0, 0, 6000, 6000, 0, 0
[FrontPage]
@ -902,7 +906,9 @@ fileVersion = { 20150522 }
entry = massAirFlowValue,"Mass", float, "%.3f"
entry = veValue, "ratio", float, "%.3f"
entry = currentMapAccelDelta, "mapAccel",float, "%.3f"
entry = currentTpsAccel, "tpsAccel", float, "%.3f"
entry = tpsAccelFuel, "tpsAccel", float, "%.3f"
entry = baroCorrection "baroCorrection",float,"%.3f"
entry = pedalPosition, "pedal", float, "%.3f"
entry = triggerErrorsCounter, "trg err",int, "%d"
@ -1154,9 +1160,11 @@ fileVersion = { 20150522 }
panel = idleStepper, East
dialog = idleSettings, "", yAxis
slider = "Idle Position", idlePosition
field = "Manual mode", idleMode
field = "Auto target", targetIdleRpm, { idleMode == 0}
slider = "Manual Idle Position", idlePosition, horizontal
field = ""
field = "use stepper", useStepperIdle
field = "use stepper", useStepperIdle
panel = idleType
; Engine->Fan Settings

View File

@ -24,6 +24,7 @@ public enum Sensor {
MAF("MAF", SensorCategory.SENSOR_INPUTS, "Volts", 4),
MAFR("MAFR", SensorCategory.SENSOR_INPUTS, "kg/hr", 4),
TPS("throttle", SensorCategory.SENSOR_INPUTS, "%", 100),
PPS("pedal", SensorCategory.SENSOR_INPUTS, "%", 100),
VSS("Speed", SensorCategory.SENSOR_INPUTS, "kph", 100),
ENGINE_LOAD("Engine Load", SensorCategory.SENSOR_INPUTS, "x", 300),

View File

@ -178,6 +178,7 @@ public class SensorCentral {
addDoubleSensor("baro", Sensor.BARO, es);
addDoubleSensor("clt", Sensor.CLT, es);
addDoubleSensor("tp", Sensor.TPS, es);
addDoubleSensor("pps", Sensor.TPS, es);
addDoubleSensor(Sensor.VSS, es);
addDoubleSensor(Sensor.ENGINE_LOAD, es);

View File

@ -32,7 +32,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
* @see com.rusefi.StartupFrame
*/
public class Launcher {
public static final int CONSOLE_VERSION = 20150529;
public static final int CONSOLE_VERSION = 20150530;
public static final boolean SHOW_STIMULATOR = false;
private static final String TAB_INDEX = "main_tab";
protected static final String PORT_KEY = "port";

View File

@ -23,7 +23,6 @@ import java.util.Hashtable;
*/
public class SensorGauge {
public static Component createGauge(final Sensor sensor) {
return createGauge(sensor, GaugeChangeListener.VOID);
}