telemetry dreams
This commit is contained in:
parent
5506d6ad6a
commit
065b92f4b6
|
@ -106,6 +106,7 @@ void Engine::reset() {
|
||||||
sensorChartMode = SC_OFF;
|
sensorChartMode = SC_OFF;
|
||||||
actualLastInjection = 0;
|
actualLastInjection = 0;
|
||||||
isAlternatorControlEnabled = false;
|
isAlternatorControlEnabled = false;
|
||||||
|
callFromPitEndTime = 0;
|
||||||
wallFuelCorrection = 0;
|
wallFuelCorrection = 0;
|
||||||
/**
|
/**
|
||||||
* it's important for fixAngle() that engineCycle field never has zero
|
* it's important for fixAngle() that engineCycle field never has zero
|
||||||
|
|
|
@ -274,6 +274,14 @@ public:
|
||||||
*/
|
*/
|
||||||
bool isAlternatorControlEnabled;
|
bool isAlternatorControlEnabled;
|
||||||
|
|
||||||
|
|
||||||
|
// floatms_t callToPitEndTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* remote telemetry: if not zero, time to stop flashing 'CALL FROM PIT' light
|
||||||
|
*/
|
||||||
|
floatms_t callFromPitEndTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This flag indicated a big enough problem that engine control would be
|
* This flag indicated a big enough problem that engine control would be
|
||||||
* prohibited if this flag is set to true.
|
* prohibited if this flag is set to true.
|
||||||
|
|
|
@ -296,6 +296,7 @@ void runIoTest(int subsystem, int index) {
|
||||||
} else if (subsystem == 0x16) {
|
} else if (subsystem == 0x16) {
|
||||||
milBench();
|
milBench();
|
||||||
} else if (subsystem == 0x17) {
|
} else if (subsystem == 0x17) {
|
||||||
|
} else if (subsystem == 0x20 && index == 0x3456) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Apr 29 21:15:49 EDT 2017
|
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon May 01 20:47:16 EDT 2017
|
||||||
|
|
||||||
pageSize = 16376
|
pageSize = 16376
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1496,6 +1496,10 @@ fileVersion = { 20161225 }
|
||||||
; and may create error messages.
|
; and may create error messages.
|
||||||
; It is expected that these commands would not typically alter any ram mapped to a Constant.
|
; It is expected that these commands would not typically alter any ram mapped to a Constant.
|
||||||
|
|
||||||
|
;
|
||||||
|
; see TS_IO_TEST_COMMAND in firmware code
|
||||||
|
;
|
||||||
|
|
||||||
cmd_test_spk1 = "w\x00\x12\x00\x01"
|
cmd_test_spk1 = "w\x00\x12\x00\x01"
|
||||||
cmd_test_spk2 = "w\x00\x12\x00\x02"
|
cmd_test_spk2 = "w\x00\x12\x00\x02"
|
||||||
cmd_test_spk3 = "w\x00\x12\x00\x03"
|
cmd_test_spk3 = "w\x00\x12\x00\x03"
|
||||||
|
@ -1535,6 +1539,7 @@ cmd_test_fuel_pump = "w\x00\x14\x00\x01"
|
||||||
cmd_test_radiator_fan = "w\x00\x15\x00\x01"
|
cmd_test_radiator_fan = "w\x00\x15\x00\x01"
|
||||||
cmd_test_check_engine_light = "w\x00\x16\x00\x01"
|
cmd_test_check_engine_light = "w\x00\x16\x00\x01"
|
||||||
cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
||||||
|
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||||
|
|
||||||
|
|
||||||
[UserDefined]
|
[UserDefined]
|
||||||
|
@ -2333,11 +2338,13 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
||||||
commandButton = "Injector #8", cmd_test_inj8
|
commandButton = "Injector #8", cmd_test_inj8
|
||||||
|
|
||||||
dialog = testMisc, "Misc"
|
dialog = testMisc, "Misc"
|
||||||
|
commandButton = "Come To Pit", cmd_call_from_pit
|
||||||
commandButton = "Fuel Pump", cmd_test_fuel_pump
|
commandButton = "Fuel Pump", cmd_test_fuel_pump
|
||||||
commandButton = "Radiator Fan", cmd_test_radiator_fan
|
commandButton = "Radiator Fan", cmd_test_radiator_fan
|
||||||
commandButton = "Check Engine", cmd_test_check_engine_light
|
commandButton = "Check Engine", cmd_test_check_engine_light
|
||||||
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
||||||
|
|
||||||
|
; bench test
|
||||||
dialog = ioTest, "I-O Test", border
|
dialog = ioTest, "I-O Test", border
|
||||||
panel = testSpark, West
|
panel = testSpark, West
|
||||||
panel = testInjectors, Center
|
panel = testInjectors, Center
|
||||||
|
|
|
@ -764,6 +764,10 @@ fileVersion = { 20161225 }
|
||||||
; and may create error messages.
|
; and may create error messages.
|
||||||
; It is expected that these commands would not typically alter any ram mapped to a Constant.
|
; It is expected that these commands would not typically alter any ram mapped to a Constant.
|
||||||
|
|
||||||
|
;
|
||||||
|
; see TS_IO_TEST_COMMAND in firmware code
|
||||||
|
;
|
||||||
|
|
||||||
cmd_test_spk1 = "w\x00\x12\x00\x01"
|
cmd_test_spk1 = "w\x00\x12\x00\x01"
|
||||||
cmd_test_spk2 = "w\x00\x12\x00\x02"
|
cmd_test_spk2 = "w\x00\x12\x00\x02"
|
||||||
cmd_test_spk3 = "w\x00\x12\x00\x03"
|
cmd_test_spk3 = "w\x00\x12\x00\x03"
|
||||||
|
@ -803,6 +807,7 @@ cmd_test_fuel_pump = "w\x00\x14\x00\x01"
|
||||||
cmd_test_radiator_fan = "w\x00\x15\x00\x01"
|
cmd_test_radiator_fan = "w\x00\x15\x00\x01"
|
||||||
cmd_test_check_engine_light = "w\x00\x16\x00\x01"
|
cmd_test_check_engine_light = "w\x00\x16\x00\x01"
|
||||||
cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
||||||
|
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||||
|
|
||||||
|
|
||||||
[UserDefined]
|
[UserDefined]
|
||||||
|
@ -1601,11 +1606,13 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
||||||
commandButton = "Injector #8", cmd_test_inj8
|
commandButton = "Injector #8", cmd_test_inj8
|
||||||
|
|
||||||
dialog = testMisc, "Misc"
|
dialog = testMisc, "Misc"
|
||||||
|
commandButton = "Come To Pit", cmd_call_from_pit
|
||||||
commandButton = "Fuel Pump", cmd_test_fuel_pump
|
commandButton = "Fuel Pump", cmd_test_fuel_pump
|
||||||
commandButton = "Radiator Fan", cmd_test_radiator_fan
|
commandButton = "Radiator Fan", cmd_test_radiator_fan
|
||||||
commandButton = "Check Engine", cmd_test_check_engine_light
|
commandButton = "Check Engine", cmd_test_check_engine_light
|
||||||
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
||||||
|
|
||||||
|
; bench test
|
||||||
dialog = ioTest, "I-O Test", border
|
dialog = ioTest, "I-O Test", border
|
||||||
panel = testSpark, West
|
panel = testSpark, West
|
||||||
panel = testInjectors, Center
|
panel = testInjectors, Center
|
||||||
|
|
Loading…
Reference in New Issue