rusEFI
The most advanced open source ECU
accel_enrichment.h
Go to the documentation of this file.
1 /**
2  * @file accel_enrichment.h
3  * @brief Acceleration enrichment calculator
4  *
5  * @date Apr 21, 2014
6  * @author Dmitry Sidin
7  * @author Andrey Belomutskiy, (c) 2012-2020
8  */
9 
10 #pragma once
11 
12 #include "cyclic_buffer.h"
13 #include "table_helper.h"
16 
18 
20 public:
22 
23  int getMaxDeltaIndex();
24  float getMaxDelta();
25 
26  void setLength(int length);
27  cyclic_buffer<float> cb;
28  void onNewValue(float currentValue);
30 
31  /**
32  * @return Extra fuel squirt duration for TPS acceleration
33  */
35  void onEngineCycleTps();
36  void resetFractionValues();
37  void resetAE();
38 };
39 
40 void initAccelEnrichment();
41 
42 void setTpsAccelThr(float value);
43 void setTpsDecelThr(float value);
44 void setTpsDecelMult(float value);
45 void setTpsAccelLen(int length);
46 
void setTpsDecelThr(float value)
Map3D< TPS_TPS_ACCEL_TABLE, TPS_TPS_ACCEL_TABLE, float, float, float > tps_tps_Map3D_t
void setTpsDecelMult(float value)
void setTpsAccelThr(float value)
void setTpsAccelLen(int length)
void initAccelEnrichment()
void updateAccelParameters()
cyclic_buffer< float > cb
void onNewValue(float currentValue)
void setLength(int length)
floatms_t getTpsEnrichment()
float floatms_t
Definition: rusefi_types.h:67