mirror of https://github.com/rusefi/rusefi-1.git
etb_test_hw
This commit is contained in:
parent
fe69616859
commit
9b140e57a1
|
@ -942,7 +942,7 @@ void doInitElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
// this command is useful for real hardware test with known cheap hardware
|
// this command is useful for real hardware test with known cheap hardware
|
||||||
addConsoleAction("etb_test_hw", [](){
|
addConsoleAction("etb_test_hw", [](){
|
||||||
setToyota89281_33010_pedal_position_sensor(PASS_CONFIG_PARAMETER_SIGNATURE);
|
set18919_AM810_pedal_position_sensor(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
});
|
});
|
||||||
|
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
|
@ -1034,6 +1034,13 @@ void setEtbWastegatePosition(percent_t pos DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void set18919_AM810_pedal_position_sensor(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
engineConfiguration->throttlePedalUpVoltage = 0.1;
|
||||||
|
engineConfiguration->throttlePedalWOTVoltage = 4.5;
|
||||||
|
engineConfiguration->throttlePedalSecondaryUpVoltage = 0.1;
|
||||||
|
engineConfiguration->throttlePedalSecondaryWOTVoltage = 2.2;
|
||||||
|
}
|
||||||
|
|
||||||
void setToyota89281_33010_pedal_position_sensor(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
void setToyota89281_33010_pedal_position_sensor(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
engineConfiguration->throttlePedalUpVoltage = 0;
|
engineConfiguration->throttlePedalUpVoltage = 0;
|
||||||
engineConfiguration->throttlePedalWOTVoltage = 4.1;
|
engineConfiguration->throttlePedalWOTVoltage = 4.1;
|
||||||
|
|
|
@ -16,9 +16,13 @@ void doInitElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
void setEtbIdlePosition(percent_t pos DECLARE_ENGINE_PARAMETER_SUFFIX);
|
void setEtbIdlePosition(percent_t pos DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||||
void setEtbWastegatePosition(percent_t pos DECLARE_ENGINE_PARAMETER_SUFFIX);
|
void setEtbWastegatePosition(percent_t pos DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||||
void setToyota89281_33010_pedal_position_sensor(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
|
||||||
void setHitachiEtbCalibration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setHitachiEtbCalibration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
// these two sensors use same plug but have different calibrations and even rotate in different directions
|
||||||
|
void set18919_AM810_pedal_position_sensor(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
void setToyota89281_33010_pedal_position_sensor(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
|
||||||
void setDefaultEtbBiasCurve(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setDefaultEtbBiasCurve(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setDefaultEtbParameters(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setDefaultEtbParameters(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setBoschVNH2SP30Curve(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setBoschVNH2SP30Curve(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
Loading…
Reference in New Issue