logging of live data structs was: data points #3614
This commit is contained in:
parent
0072f3559c
commit
2e28537776
|
@ -85,14 +85,6 @@ bool LaunchControlBase::isLaunchConditionMet(int rpm) {
|
||||||
speedCondition = isInsideSpeedCondition();
|
speedCondition = isInsideSpeedCondition();
|
||||||
tpsCondition = isInsideTpsCondition();
|
tpsCondition = isInsideTpsCondition();
|
||||||
|
|
||||||
#if EFI_TUNER_STUDIO
|
|
||||||
// todo: implement fancy logging of all live data
|
|
||||||
engine->outputChannels.launchSpeedCondition = speedCondition;
|
|
||||||
engine->outputChannels.launchRpmCondition = rpmCondition;
|
|
||||||
engine->outputChannels.launchTpsCondition = tpsCondition;
|
|
||||||
engine->outputChannels.launchActivateSwitchCondition = activateSwitchCondition;
|
|
||||||
#endif /* EFI_TUNER_STUDIO */
|
|
||||||
|
|
||||||
return speedCondition && activateSwitchCondition && rpmCondition && tpsCondition;
|
return speedCondition && activateSwitchCondition && rpmCondition && tpsCondition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,8 +116,6 @@ void LaunchControlBase::update() {
|
||||||
|
|
||||||
#if EFI_TUNER_STUDIO
|
#if EFI_TUNER_STUDIO
|
||||||
engine->outputChannels.clutchDownState = engine->clutchDownState;
|
engine->outputChannels.clutchDownState = engine->clutchDownState;
|
||||||
engine->outputChannels.launchIsLaunchCondition = isLaunchCondition;
|
|
||||||
engine->outputChannels.launchCombinedConditions = combinedConditions;
|
|
||||||
#endif /* EFI_TUNER_STUDIO */
|
#endif /* EFI_TUNER_STUDIO */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -70,6 +70,7 @@ Usages:
|
||||||
- name: engine_state
|
- name: engine_state
|
||||||
java: EngineState.java
|
java: EngineState.java
|
||||||
folder: controllers/algo
|
folder: controllers/algo
|
||||||
|
prepend: integration/rusefi_config.txt
|
||||||
|
|
||||||
- name: tps_accel_state
|
- name: tps_accel_state
|
||||||
java: TpsAccelState.java
|
java: TpsAccelState.java
|
||||||
|
|
Loading…
Reference in New Issue