continues composite logger has gaps at high tooth count #1564

This commit is contained in:
rusefi 2020-07-03 11:10:35 -04:00
parent 0f62bcf804
commit 69e7d368f7
3 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<option name="MAIN_CLASS_NAME" value="com.rusefi.Launcher" />
<module name="ui" />
<option name="PROGRAM_PARAMETERS" value="auto" />
<option name="VM_PARAMETERS" value="-Dini_file_path=../firmware/tunerstudio -Dshow_etb_pane=true" />
<option name="VM_PARAMETERS" value="-Dini_file_path=../firmware/tunerstudio -Dshow_etb_pane=true -Dhigh_speed_logger_rpm=10000" />
<method v="2">
<option name="Make" enabled="true" />
</method>

View File

@ -69,7 +69,7 @@ public class BinaryProtocol implements BinaryProtocolCommands {
// todo: this ioLock needs better documentation!
private final Object ioLock = new Object();
private static final int COMPOSITE_OFF_RPM = 300;
public static final int COMPOSITE_OFF_RPM = Integer.getInteger("high_speed_logger_rpm", 300);
/**
* Composite logging turns off after 10 seconds of RPM above 300

View File

@ -2,6 +2,7 @@ package com.rusefi;
import com.rusefi.autodetect.PortDetector;
import com.rusefi.autoupdate.AutoupdateUtil;
import com.rusefi.binaryprotocol.BinaryProtocol;
import com.rusefi.config.generated.Fields;
import com.rusefi.core.MessagesCentral;
import com.rusefi.core.Sensor;
@ -28,6 +29,7 @@ import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;
import static com.rusefi.StartupFrame.createLogoLabel;
import static com.rusefi.StartupFrame.setFrameIcon;
import static com.rusefi.rusEFIVersion.CONSOLE_VERSION;
import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
@ -141,6 +143,8 @@ public class ConsoleUI {
tabbedPane.addTab("Trigger Shape", new AverageAnglePanel(uiContext).getPanel());
}
MessagesCentral.getInstance().postMessage(FileLog.LOGGER, ConsoleUI.class, "COMPOSITE_OFF_RPM=" + BinaryProtocol.COMPOSITE_OFF_RPM);
tabbedPane.addTab("rusEFI Online", new OnlineTab(uiContext).getContent());
uiContext.sensorLogger.init();