Auto-generated default tune
This commit is contained in:
parent
5ff1ff3c2b
commit
54ef1affc2
|
@ -4720,7 +4720,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4720,7 +4720,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4723,7 +4723,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -2341,6 +2341,9 @@ ENGINE_4_23E_574 = 574
|
|||
ENGINE_5_551_1361 = 1361
|
||||
ENGINE_6_580_1408 = 1408
|
||||
|
||||
speedSensor = Sensor.new("VehicleSpeed")
|
||||
speedSensor : setTimeout(3000)
|
||||
|
||||
setTickRate(100)
|
||||
startUpTimer = Timer.new()
|
||||
startUpTimer : reset()
|
||||
|
@ -2408,39 +2411,40 @@ end
|
|||
payloadENGINE_2_561 = {0xe0, 0x80, 0x09, 0xe0, 0xd4, 0xc3, 0x4c, 0x9e}
|
||||
function sendENGINE_2_231_561()
|
||||
payloadENGINE_2_561[3] = pps / 0.5 -- tps or pps
|
||||
txCan(TCU_BUS, ENGINE_2_561, 0, payloadENGINE_2_561)
|
||||
txCan(1, ENGINE_2_561, 0, payloadENGINE_2_561)
|
||||
end
|
||||
|
||||
payloadENGINE_4_574 = {0x00, 0x40, 0xff, 0x45, 0x00, 0xd6, 0x00, 0xa2}
|
||||
function sendENGINE_4_23E_574()
|
||||
payloadENGINE_4_574[3] = (100 - pps) / 0.392 -- data[3] -- affects desired torque converter pressure Throttle_position_inverted
|
||||
payloadENGINE_4_574[7] = pps / 0.392 -- data[7] -- TPS
|
||||
txCan(TCU_BUS, ENGINE_4_23E_574, 0, payloadENGINE_4_574)
|
||||
txCan(1, ENGINE_4_23E_574, 0, payloadENGINE_4_574)
|
||||
end
|
||||
|
||||
CAN_721_2d1 = 721
|
||||
payload721_2d1 = {0x00, 0x84, 0x00, 0x00, 0x31, 0xf8, 0x01}
|
||||
function sendCan721_2d1()
|
||||
txCan(TCU_BUS, CAN_721_2d1, 0, payload721_2d1)
|
||||
txCan(1, CAN_721_2d1, 0, payload721_2d1)
|
||||
end
|
||||
|
||||
CAN_734_2de = 734
|
||||
payload734_2de = {0x0f, 0x08, 0x02, 0x00, 0x19, 0x65, 0x07, 0xa8}
|
||||
function sendCan734_2de()
|
||||
txCan(TCU_BUS, CAN_734_2de, 0, payload734_2de)
|
||||
txCan(1, CAN_734_2de, 0, payload734_2de)
|
||||
end
|
||||
|
||||
payloadENGINE_5 = {0x7d, 0xdb, 0x00, 0xa0, 0x00, 0x02, 0x80, 0xff}
|
||||
function sendENGINE_5_551_1361()
|
||||
txCan(TCU_BUS, ENGINE_5_551_1361, 0, payloadENGINE_5)
|
||||
txCan(1, ENGINE_5_551_1361, 0, payloadENGINE_5)
|
||||
end
|
||||
|
||||
payloadENGINE_6 = {0x00, 0x82, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00}
|
||||
function sendEngine6_580_1408()
|
||||
txCan(TCU_BUS, ENGINE_6_580_1408, 0, payloadENGINE_6)
|
||||
txCan(1, ENGINE_6_580_1408, 0, payloadENGINE_6)
|
||||
end
|
||||
|
||||
_10msPeriodTimer = Timer.new()
|
||||
_15msPeriodTimer = Timer.new()
|
||||
|
||||
function onTick()
|
||||
pps = getSensor("AcceleratorPedal") or 0
|
||||
|
@ -2494,6 +2498,7 @@ end
|
|||
|
||||
function onCanRxAbs1(bus, id, dlc, data)
|
||||
kph = getTwoBytesMSB(data, 0, 0.005)
|
||||
speedSensor : set(kph)
|
||||
end
|
||||
|
||||
function onCanRxAc(bus, id, dlc, data)
|
||||
|
@ -4879,7 +4884,7 @@ canRxAdd(IN_35D, onCanRxAc)</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4769,7 +4769,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4769,7 +4769,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4722,7 +4722,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4721,7 +4721,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4812,7 +4812,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4719,7 +4719,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4722,7 +4722,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4722,7 +4722,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4722,7 +4722,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4722,7 +4722,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4723,7 +4723,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4722,7 +4722,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
|
@ -4719,7 +4719,7 @@ end</constant>
|
|||
0.0
|
||||
</constant>
|
||||
</page>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.29.f407-discovery.3993242163" version="5.0"/>
|
||||
<versionInfo firmwareInfo="20240617" nPages="1" signature="rusEFI master.2024.06.30.f407-discovery.3993242163" version="5.0"/>
|
||||
<bibliography author="rusEFI 20240617" writeDate="date"/>
|
||||
<settings/>
|
||||
<userComments/>
|
||||
|
|
Loading…
Reference in New Issue