don't need autoscale when it's 1.0 ratio (#3625)

* don't need autoscale when it's 1.0 ratio

* chmod +x

* we needed a few of those
This commit is contained in:
Matthew Kennedy 2021-11-27 07:01:17 -08:00 committed by GitHub
parent 43cda35d79
commit 5d2f0e6c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 20 deletions

View File

@ -93,10 +93,10 @@ uint16_t rpmAcceleration;;"RPM/s",1, 0, 0, 0, 0
uint16_t autoscale wallFuelAmount;;"",{1/@@PACK_MULT_FUEL_MASS@@}, 0, 0, 0, 0
uint16_t autoscale wallFuelCorrection;;"",{1/@@PACK_MULT_FUEL_MASS@@}, 0, 0, 0, 0
uint16_t autoscale unused76;;"",{1/1}, 0, 0, 0, 0
uint16_t unused76;;"",1, 0, 0, 0, 0
uint16_t autoscale deltaTps;TPS acceleration enrichment;"",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 0
uint16_t autoscale unused80;;"",{1/1}, 0, 0, 0, 0
uint16_t unused80;;"",1, 0, 0, 0, 0
uint16_t autoscale tpsAccelFuel;;"",{1/@@PACK_MULT_MS@@}, 0, 0, 0, 0
! Ignition
uint16_t autoscale ignitionAdvance;;"",{1/@@PACK_MULT_ANGLE@@}, 0, 0, 0, 0
@ -111,7 +111,7 @@ uint16_t rpmAcceleration;;"RPM/s",1, 0, 0, 0, 0
! Fuel system
uint16_t autoscale fuelTankLevel;;"",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 0
uint16_t autoscale totalFuelConsumption;;"",{1/1}, 0, 0, 0, 0
uint16_t autoscale totalFuelConsumption;;"",1, 0, 0, 0, 0
uint16_t autoscale fuelFlowRate;;"",{1/@@PACK_MULT_FUEL_FLOW@@}, 0, 0, 0, 0
! Y axis values for selectable tables
@ -149,13 +149,13 @@ uint16_t rpmAcceleration;;"RPM/s",1, 0, 0, 0, 0
uint16_t autoscale ignitionLoad;;"",{1/100}, 0, 0, 0, 0
! we want a hash of engineMake+engineCode+vehicleName in the log file in order to match TS logs to rusEFI Online tune
uint16_t autoscale engineMakeCodeNameCrc16;;"",{1/1}, 0, 0, 0, 0
uint16_t autoscale engineMakeCodeNameCrc16;;"",1, 0, 0, 0, 0
! Errors
uint32_t autoscale totalTriggerErrorCounter;;"",{1/1}, 0, 0, 0, 0
uint32_t autoscale orderingErrorCounter;;"",{1/1}, 0, 0, 0, 0
uint32_t autoscale totalTriggerErrorCounter;;"",1, 0, 0, 0, 0
uint32_t orderingErrorCounter;;"",1, 0, 0, 0, 0
uint16_t autoscale warningCounter;;"",{1/1}, 0, 0, 0, 0
uint16_t autoscale lastErrorCode;;"",{1/1}, 0, 0, 0, 0
uint16_t autoscale warningCounter;;"",1, 0, 0, 0, 0
uint16_t autoscale lastErrorCode;;"",1, 0, 0, 0, 0
uint16_t[8] recentErrorCodes;;"", 1, 0, 0, 0, 0
@ -194,7 +194,7 @@ uint16_t rpmAcceleration;;"RPM/s",1, 0, 0, 0, 0
uint8_t[12] autoscale knockLevels;;"",1, 0, 0, 0, 0
uint8_t autoscale tcuDesiredGear;;"",{1/1}, 0, 0, 0, 0
uint8_t autoscale tcuDesiredGear;;"",1, 0, 0, 0, 0
uint8_t autoscale flexPercent;;"",{1/2}, 0, 0, 0, 0
uint16_t autoscale rawIdlePositionSensor;;"",{1/@@PACK_MULT_VOLTAGE@@}, 0, 0, 0, 0
@ -226,16 +226,16 @@ uint16_t rpmAcceleration;;"RPM/s",1, 0, 0, 0, 0
uint16_t autoscale rawTps2Primary;;"",{1/@@PACK_MULT_VOLTAGE@@}, 0, 0, 0, 0
uint16_t autoscale rawTps2Secondary;;"",{1/@@PACK_MULT_VOLTAGE@@}, 0, 0, 0, 0
uint16_t autoscale knockCount;;"",{1/1}, 0, 0, 0, 0
uint16_t knockCount;;"",1, 0, 0, 0, 0
uint16_t autoscale accelerationZ;;"",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 0
uint16_t autoscale accelerationRoll;;"",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 0
uint16_t autoscale accelerationYaw;;"",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 0
uint8_t[4] autoscale vvtTargets;;"",1, 0, 0, 0, 0
uint16_t autoscale turboSpeed;;"",1, 0, 0, 0, 0
uint16_t turboSpeed;;"",1, 0, 0, 0, 0
! we have some unused bytes to allow compatible TS changes
uint8_t[18] autoscale unusedAtTheEnd;;"",1, 0, 0, 0, 0
uint8_t[18] unusedAtTheEnd;;"",1, 0, 0, 0, 0
end_struct

View File

@ -1,4 +1,4 @@
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Fri Nov 26 21:43:13 EST 2021
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Sat Nov 27 05:37:21 PST 2021
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
@ -147,30 +147,37 @@ struct ts_outputs_s {
*/
scaled_channel<uint16_t, 100, 1> auxTemp2 = (uint16_t)0;
/**
%
* offset 20
*/
scaled_channel<uint16_t, 100, 1> TPSValue = (uint16_t)0;
/**
%
* offset 22
*/
scaled_channel<uint16_t, 100, 1> throttlePedalPosition = (uint16_t)0;
/**
ADC
* offset 24
*/
uint16_t tpsADC = (uint16_t)0;
/**
V
* offset 26
*/
scaled_channel<uint16_t, 1000, 1> MAFValue = (uint16_t)0;
/**
Kg/h
* offset 28
*/
scaled_channel<uint16_t, 10, 1> massAirFlowValue = (uint16_t)0;
/**
kPa
* offset 30
*/
scaled_channel<uint16_t, 30, 1> MAPValue = (uint16_t)0;
/**
kPa
* offset 32
*/
scaled_channel<uint16_t, 30, 1> baroPressure = (uint16_t)0;
@ -195,6 +202,7 @@ struct ts_outputs_s {
*/
scaled_channel<uint16_t, 30, 1> oilPressure = (uint16_t)0;
/**
deg
* offset 42
*/
scaled_channel<uint16_t, 50, 1> vvtPositionB1I = (uint16_t)0;
@ -273,7 +281,7 @@ struct ts_outputs_s {
/**
* offset 76
*/
scaled_channel<uint16_t, 1, 1> unused76 = (uint16_t)0;
uint16_t unused76 = (uint16_t)0;
/**
* TPS acceleration enrichment
* offset 78
@ -282,7 +290,7 @@ struct ts_outputs_s {
/**
* offset 80
*/
scaled_channel<uint16_t, 1, 1> unused80 = (uint16_t)0;
uint16_t unused80 = (uint16_t)0;
/**
* offset 82
*/
@ -386,7 +394,7 @@ struct ts_outputs_s {
/**
* offset 144
*/
scaled_channel<uint32_t, 1, 1> orderingErrorCounter = (uint32_t)0;
uint32_t orderingErrorCounter = (uint32_t)0;
/**
* offset 148
*/
@ -564,14 +572,17 @@ struct ts_outputs_s {
*/
scaled_channel<uint16_t, 1000, 1> airFuelRatio2 = (uint16_t)0;
/**
deg
* offset 290
*/
scaled_channel<uint16_t, 50, 1> vvtPositionB1E = (uint16_t)0;
/**
deg
* offset 292
*/
scaled_channel<uint16_t, 50, 1> vvtPositionB2I = (uint16_t)0;
/**
deg
* offset 294
*/
scaled_channel<uint16_t, 50, 1> vvtPositionB2E = (uint16_t)0;
@ -594,7 +605,7 @@ struct ts_outputs_s {
/**
* offset 306
*/
scaled_channel<uint16_t, 1, 1> knockCount = (uint16_t)0;
uint16_t knockCount = (uint16_t)0;
/**
* offset 308
*/
@ -614,11 +625,11 @@ struct ts_outputs_s {
/**
* offset 318
*/
scaled_channel<uint16_t, 1, 1> turboSpeed = (uint16_t)0;
uint16_t turboSpeed = (uint16_t)0;
/**
* offset 320
*/
scaled_channel<uint8_t, 1, 1> unusedAtTheEnd[18];
uint8_t unusedAtTheEnd[18];
/**
* need 4 byte alignment
units
@ -629,4 +640,4 @@ struct ts_outputs_s {
};
// end
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Fri Nov 26 21:43:13 EST 2021
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Sat Nov 27 05:37:21 PST 2021

0
firmware/gen_output_channels.sh Normal file → Executable file
View File