does scale matter?
This commit is contained in:
parent
c9a345062e
commit
0930b044df
|
@ -369,7 +369,7 @@ float mapFast
|
|||
uint16_t autoscale mafMeasured2;@@GAUGE_NAME_AIR_FLOW_MEASURED_2@@;"kg/h",{1/@@PACK_MULT_MASS_FLOW@@}, 0, 0, 0, 1
|
||||
|
||||
uint16_t schedulingUsedCount;;"",1,0,0,0,0
|
||||
uint16_t autoscale vehicleSpeedKph;@@GAUGE_NAME_VVS@@;"kph",0.01, 0, 0, 0, 2
|
||||
uint16_t autoscale vehicleSpeedKph;@@GAUGE_NAME_VVS@@;"kph",{1/@@PACK_MULT_VSS@@}, 0, 0, 0, 2
|
||||
|
||||
uint8_t[136 iterate] unusedAtTheEnd;;"",1, 0, 0, 0, 0
|
||||
end_struct
|
||||
|
|
|
@ -235,6 +235,7 @@ struct_no_prefix engine_configuration_s
|
|||
#define PACK_MULT_TEMPERATURE 100
|
||||
#define PACK_ADD_TEMPERATURE 40
|
||||
#define PACK_MULT_MS 300
|
||||
#define PACK_MULT_VSS 100
|
||||
#define PACK_MULT_AFR 1000
|
||||
#define PACK_MULT_LAMBDA 10000
|
||||
#define PACK_MULT_ANGLE 50
|
||||
|
|
|
@ -32,7 +32,7 @@ public enum Sensor implements BinaryLogEntry {
|
|||
RPMValue(GAUGE_NAME_RPM, SensorCategory.SENSOR_INPUTS, FieldType.UINT16, TsOutputs.RPMVALUE, 1, 0, 8000, "RPM"),
|
||||
// rpmAcceleration("dRPM", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 6, 1.0, 0.0, 5.0, "RPM/s"),
|
||||
// speedToRpmRatio("Gearbox Ratio", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 8, 0.01, 0.0, 0.0, "value"),
|
||||
vehicleSpeedKph("Vehicle Speed", SensorCategory.SENSOR_INPUTS, FieldType.INT8, TsOutputs.VEHICLESPEEDKPH, 1.0, 0.0, 0.0, "kph"),
|
||||
vehicleSpeedKph("Vehicle Speed", SensorCategory.SENSOR_INPUTS, FieldType.INT8, TsOutputs.VEHICLESPEEDKPH, 1.0 / PACK_MULT_VSS, 0.0, 0.0, "kph"),
|
||||
|
||||
// Temperatures
|
||||
INT_TEMP(GAUGE_NAME_CPU_TEMP, SensorCategory.OPERATIONS, FieldType.INT8, TsOutputs.INTERNALMCUTEMPERATURE, 1, 0, 5, "C"),
|
||||
|
|
Loading…
Reference in New Issue