currentIdlePosition

only:proteus_f4
This commit is contained in:
rusefi 2023-10-02 20:09:45 -04:00
parent 3d912f634b
commit f9f09bf15a
4 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ void setVwAba() {
engineConfiguration->ignitionPins[2] = Gpio::Unassigned;
engineConfiguration->ignitionPins[3] = Gpio::Unassigned;
engineConfiguration->idlePositionSensor = EFI_ADC_3; // PA3
engineConfiguration->idlePositionChannel = EFI_ADC_3; // PA3
engineConfiguration->wastegatePositionSensor = EFI_ADC_4; // PA4
#endif // HW_FRANKENSO

View File

@ -233,7 +233,7 @@ void initTps() {
// TPS-like stuff that isn't actually a TPS
wastegate.init({ engineConfiguration->wastegatePositionSensor, (float)engineConfiguration->wastegatePositionMin, (float)engineConfiguration->wastegatePositionMax, min, max });
idlePos.init({ engineConfiguration->idlePositionSensor, (float)engineConfiguration->idlePositionMin, (float)engineConfiguration->idlePositionMax, min, max });
idlePos.init({ engineConfiguration->idlePositionChannel, (float)engineConfiguration->idlePositionMin, (float)engineConfiguration->idlePositionMax, min, max });
}
// Route the pedal or TPS to driverIntent as appropriate

View File

@ -799,7 +799,7 @@ output_pin_e acFanPin;Optional Radiator Fan used with A/C
custom uart_device_e 1 bits, U08, @OFFSET@, [0:1], "Off", "UART1", "UART2", "UART3"
uint16_t sdCardLogFrequency;Rate the ECU will log to the SD card, in hz (log lines per second).;"hz", 1, 0, 1, 250, 0
adc_channel_e idlePositionSensor;
adc_channel_e idlePositionChannel;
Gpio debugMapAveraging;
output_pin_e starterRelayDisablePin;
pin_output_mode_e starterRelayDisablePinMode;On some vehicles we can disable starter once engine is already running

View File

@ -1344,7 +1344,7 @@ gaugeCategory = Boost PID
gaugeCategory = Idle
idlePosSensGauge = idlePositionSensor, @@GAUGE_NAME_IDLE_POSITION@@, "%", 0, 100, 0, 0, 100, 100, 1, 1
idleAirValvePositionGauge = idleAirValvePosition, "Idle position", "%", 0, 100, 0, 0, 100, 100, 1, 1
idleAirValvePositionGauge = currentIdlePosition, "Idle position", "%", 0, 100, 0, 0, 100, 100, 1, 1
idleStatus_iTermGauge = idleStatus_iTerm,"Idle PID iTerm", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
idleStatus_dTermGauge = idleStatus_dTerm,"Idle PID dTerm", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
idleStatus_outputGauge = idleStatus_output,"Idle PID output", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
@ -2862,7 +2862,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
field = "Max (fully open, least boost)", wastegatePositionMax
dialog = idlePosConfig, "Idle position sensor"
field = "Input", idlePositionSensor
field = "Input", idlePositionChannel
field = "Min (valve closed, low idle)", idlePositionMin
field = "Max (valve open, high idle)", idlePositionMax