Skip to content

Commit

Permalink
RAM efficiency of VR crank trigger shapes #2182
Browse files Browse the repository at this point in the history
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
  • Loading branch information
rusefillc committed Jan 5, 2021
1 parent 5d2fd1e commit 6c01aed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions firmware/controllers/trigger/decoders/trigger_misc.cpp
Expand Up @@ -45,11 +45,8 @@ void configureTriTach(TriggerWaveform * s) {


addSkippedToothTriggerEvents(T_SECONDARY, s, totalTeethCount, /* skipped */ 0, toothWidth, offset, engineCycle,
//1.5 * FOUR_STROKE_ENGINE_CYCLE / 135,
700,
1.0 * FOUR_STROKE_ENGINE_CYCLE / 135,
NO_RIGHT_FILTER);


}

void configureFordST170(TriggerWaveform * s) {
Expand Down
7 changes: 6 additions & 1 deletion java_console/ui/src/main/java/com/rusefi/TriggerImage.java
Expand Up @@ -43,7 +43,10 @@ public class TriggerImage {
private static int sleepAtEnd;
private static int onlyOneTrigger = -1;

// todo: https://github.com/rusefi/rusefi/issues/2077
/**
* todo: https://github.com/rusefi/rusefi/issues/2077
* @see TriggerWheelInfo#isFirstCrankBased
*/
private static String getTriggerName(TriggerWheelInfo triggerName) {
switch (triggerName.id) {
case Fields.TT_TT_FORD_ASPIRE:
Expand Down Expand Up @@ -84,6 +87,8 @@ private static String getTriggerName(TriggerWheelInfo triggerName) {
return "36/1";
case Fields.TT_TT_TOOTHED_WHEEL_36_2:
return "36/2";
case Fields.TT_TT_TRI_TACH:
return "TriTach";
case Fields.TT_TT_TOOTHED_WHEEL_60_2:
return "60/2";
}
Expand Down
Expand Up @@ -100,6 +100,7 @@ private boolean isFirstCrankBased() {
id == Fields.TT_TT_RENIX_44_2_2 ||
id == Fields.TT_TT_RENIX_66_2_2_2 ||
id == Fields.TT_TT_MIATA_VVT ||
id == Fields.TT_TT_TRI_TACH ||
id == Fields.TT_TT_GM_7X;
}

Expand Down

0 comments on commit 6c01aed

Please sign in to comment.