only:TuneCanTool.java notes
This commit is contained in:
parent
51f0423b2b
commit
1342d4d57a
|
@ -19,7 +19,7 @@ void setMaverickX3() {
|
|||
// ? engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
|
||||
engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS;
|
||||
|
||||
|
||||
// portion of this file was generated by TuneCanTool.java
|
||||
engineConfiguration->trigger.type = trigger_type_e::TT_TOOTHED_WHEEL_36_2;
|
||||
engineConfiguration->vvtMode[0] = VVT_SINGLE_TOOTH;
|
||||
engineConfiguration->isForcedInduction = true;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// content of this file was generated by TuneCanTool.java
|
||||
|
||||
static void cannedsparkDwellValues() {
|
||||
static const float hardCodedsparkDwellValues[8] = {4.0, 3.3, 3.2, 3.1, 3.05, 2.97, 2.88, 2.8};
|
||||
|
|
|
@ -49,8 +49,10 @@ public class TuneCanTool {
|
|||
|
||||
RootHolder.ROOT = "../firmware/";
|
||||
|
||||
writeDiffBetweenLocalTuneFileAndDefaultTune("x", getDefaultTuneName(Fields.engine_type_e_MAVERICK_X3),
|
||||
"C:\\stuff\\i\\canam-2022-short\\canam-progress-pnp-dec-29.msq", "x");
|
||||
writeDiffBetweenLocalTuneFileAndDefaultTune("example.msq");
|
||||
|
||||
writeDiffBetweenLocalTuneFileAndDefaultTune("vehicleName", getDefaultTuneName(Fields.engine_type_e_MAVERICK_X3),
|
||||
"C:\\stuff\\i\\canam-2022-short\\canam-progress-pnp-dec-29.msq", "comment");
|
||||
|
||||
|
||||
// processREOtune(1507, Fields.engine_type_e_HELLEN_154_HYUNDAI_COUPE_BK2, "BK2");
|
||||
|
@ -85,6 +87,17 @@ public class TuneCanTool {
|
|||
|
||||
writeDiffBetweenLocalTuneFileAndDefaultTune(vehicleName, currentTuneFileName, localFileName, url);
|
||||
}
|
||||
|
||||
private static void writeDiffBetweenLocalTuneFileAndDefaultTune(String localFileName) throws JAXBException, IOException {
|
||||
writeDiffBetweenLocalTuneFileAndDefaultTune("vehicleName", DEFAULT_TUNE,
|
||||
localFileName, "comment");
|
||||
}
|
||||
|
||||
private static void writeDiffBetweenLocalTuneFileAndDefaultTune(int engineCode, String localFileName, String cannedComment) throws JAXBException, IOException {
|
||||
writeDiffBetweenLocalTuneFileAndDefaultTune("vehicleName", getDefaultTuneName(engineCode),
|
||||
localFileName, cannedComment);
|
||||
}
|
||||
|
||||
private static void writeDiffBetweenLocalTuneFileAndDefaultTune(String vehicleName, String defaultTuneFileName, String localFileName, String cannedComment) throws JAXBException, IOException {
|
||||
String reportsOutputFolder = "tune_reports";
|
||||
new File(reportsOutputFolder).mkdir();
|
||||
|
|
Loading…
Reference in New Issue