MAP phase sensing #3544
This commit is contained in:
parent
17d95341f4
commit
004f28a60a
|
@ -110,6 +110,7 @@ void mapAveragingAdcCallback(adcsample_t adcValue) {
|
|||
engine->triggerCentral.mapState.add(instantMap);
|
||||
bool isPeak = engine->triggerCentral.mapState.isPeak();
|
||||
#if EFI_TUNER_STUDIO
|
||||
tsOutputChannels.TEMPLOG_map_length = MAP_CAM_BUFFER;
|
||||
tsOutputChannels.TEMPLOG_MAP_INSTANT_AVERAGE = engine->triggerCentral.mapState.current;
|
||||
if (isPeak) {
|
||||
tsOutputChannels.TEMPLOG_map_peak++;
|
||||
|
|
|
@ -644,7 +644,7 @@ uint8_t knockRetardMaximum;+Maximum amount of knock retard.;"deg", 1, 0, 0, 30,
|
|||
uint8_t mapCamDetectionThreshold;;"", 1, 0, 0, 240, 0
|
||||
uint16_t autoscale vssGearRatio;Number of turns of your vehicle speed sensor per turn of the wheels. For example if your sensor is on the transmission output, enter your axle/differential ratio. If you are using a hub-mounted sensor, enter a value of 1.0.; "ratio", 0.001, 0, 0, 60, 3
|
||||
uint8_t vssToothCount;Number of pulses output per revolution of the shaft where your VSS is mounted. For example, GM applications of the T56 output 17 pulses per revolution of the transmission output shaft.;"count", 1, 0, 1, 100, 0
|
||||
uint8_t unusedNearVss;;"", 1, 0, 0, 1, 0
|
||||
uint8_t mapCamAveragingLength;;"", 1, 0, 0, 255, 0
|
||||
|
||||
|
||||
! todo: rename to triggerSimulatorRpm
|
||||
|
|
|
@ -3399,6 +3399,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
|
|||
dialog = parkingLot, "Experimental/Broken"
|
||||
field = "mapCamDetectionAnglePosition", mapCamDetectionAnglePosition
|
||||
field = "mapCamDetectionThreshold", mapCamDetectionThreshold
|
||||
field = "mapCamAveragingLength", mapCamAveragingLength
|
||||
field = "#System hacks"
|
||||
field = "Global fuel correction", globalFuelCorrection
|
||||
field = "MAP Averaging Logic @", mapAveragingSchedulingAtIndex
|
||||
|
|
Loading…
Reference in New Issue