MAP phase sensing #3544

This commit is contained in:
Andrey 2021-11-24 21:28:49 -05:00
parent a012e70e6f
commit 1f019c434e
2 changed files with 4 additions and 2 deletions

View File

@ -590,7 +590,7 @@ custom spi_device_e 1 bits, U08, @OFFSET@, [0:2], "Off", "SPI1", "SPI2", "SPI3",
float globalFuelCorrection;set global_fuel_correction X;"coef", 1, 0, 0, 1000, 2
float adcVcc;;"volts", 1, 0, 0, 6, 3
float unused552;;"Deg", 1, 0, 0, 100, 0
float mapCamDetectionAnglePosition;;"Deg", 1, 0, 0, 360, 0
brain_input_pin_e[CAM_INPUTS_COUNT iterate] camInputs;+Camshaft input could be used either just for engine phase detection if your trigger shape does not include cam sensor as 'primary' channel, or it could be used for Variable Valve timing on one of the camshafts.
uint8_t[CAM_INPUTS_COUNT_padding] camInputsPadding;;
@ -638,7 +638,7 @@ uint8_t knockRetardAggression;+Ignition timing to remove when a knock event occu
uint8_t knockRetardReapplyRate;+After a knock event, reapply timing at this rate.;"deg/s", 0.1, 0, 0, 10, 1
uint8_t knockRetardMaximum;+Maximum amount of knock retard.;"deg", 1, 0, 0, 30, 0
uint8_t unused615;;"", 1, 0, 0, 1, 0
uint8_t mapCamDetectionThreshold;;"", 1, 0, 0, 240, 0
float unused616;;"", 1, 0, 0, 1, 0
! todo: rename to triggerSimulatorRpm

View File

@ -3771,6 +3771,8 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
field = "Trailing Pin 4", trailingCoilPins4
dialog = parkingLot, "Experimental/Broken"
field = "mapCamDetectionAnglePosition", mapCapDetectionAnglePosition
field = "mapCamDetectionThreshold", mapCamDetectionThreshold
field = "#System hacks"
field = "Global fuel correction", globalFuelCorrection
field = "MAP Averaging Logic @", mapAveragingSchedulingAtIndex