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();
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -110,7 +102,7 @@ void LaunchControlBase::update() {
|
|||
combinedConditions = isLaunchConditionMet(rpm);
|
||||
|
||||
//and still recalculate in case user changed the values
|
||||
retardThresholdRpm = engineConfiguration->launchRpm + (engineConfiguration->enableLaunchRetard ?
|
||||
retardThresholdRpm = engineConfiguration->launchRpm + (engineConfiguration->enableLaunchRetard ?
|
||||
engineConfiguration->launchAdvanceRpmRange : 0) + engineConfiguration->hardCutRpmRange;
|
||||
|
||||
if (!combinedConditions) {
|
||||
|
@ -124,8 +116,6 @@ void LaunchControlBase::update() {
|
|||
|
||||
#if EFI_TUNER_STUDIO
|
||||
engine->outputChannels.clutchDownState = engine->clutchDownState;
|
||||
engine->outputChannels.launchIsLaunchCondition = isLaunchCondition;
|
||||
engine->outputChannels.launchCombinedConditions = combinedConditions;
|
||||
#endif /* EFI_TUNER_STUDIO */
|
||||
}
|
||||
|
||||
|
|
|
@ -70,6 +70,7 @@ Usages:
|
|||
- name: engine_state
|
||||
java: EngineState.java
|
||||
folder: controllers/algo
|
||||
prepend: integration/rusefi_config.txt
|
||||
|
||||
- name: tps_accel_state
|
||||
java: TpsAccelState.java
|
||||
|
|
Loading…
Reference in New Issue