tear down Engine god object #4511

just trying different things
This commit is contained in:
Andrey 2022-09-01 19:05:40 -04:00
parent fcd0636a01
commit db9d4c8201
3 changed files with 17 additions and 2 deletions

View File

@ -50,7 +50,12 @@ public:
float currentVe = 0;
float currentVeLoad = 0;
// fuel computer
float currentAfrLoad = 0;
float targetLambda = 0.0f;
float stoichiometricRatio = 0.0f;
// fuel computer end
float fuelingLoad = 0;
float ignitionLoad = 0;
@ -69,6 +74,4 @@ public:
multispark_state multispark;
float targetLambda = 0.0f;
float stoichiometricRatio = 0.0f;
};

View File

@ -0,0 +1,8 @@
struct_no_prefix fuel_computer_s
float currentAfrLoad
float targetLambda
float stoichiometricRatio
float targetAFR_t
end_struct

View File

@ -32,6 +32,10 @@ Usages:
java: InjectorModel.java
folder: controllers/algo/fuel
- name: fuel_computer
java: FuelComputer.java
folder: controllers/algo/fuel
- name: launch_control_state
java: LaunchControl.java
folder: controllers/algo