auto-sync
This commit is contained in:
parent
6a20b96ad4
commit
45d4ed1b9f
|
@ -54,7 +54,7 @@ public class AutoTest {
|
|||
WaveChart chart;
|
||||
// time to change engine type
|
||||
nextChart();
|
||||
String msg = "2003 Neon cranking";
|
||||
String msg = "2003 Neon cranking ";
|
||||
IoUtil.changeRpm(200);
|
||||
nextChart();
|
||||
|
||||
|
@ -66,10 +66,12 @@ public class AutoTest {
|
|||
assertWaveNull(msg, chart, WaveChart.SPARK_4);
|
||||
|
||||
x = 176.856;
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_1, 0.006266666666, 0.01, 0.04, x, x + 180, x + 360, x + 540);
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_2, 0.006266666666, 0.01, 0.04, x, x + 180, x + 360, x + 540);
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_3, 0.006266666666, 0.01, 0.04, x, x + 180, x + 360, x + 540);
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_4, 0.006266666666, 0.01, 0.04, x, x + 180, x + 360, x + 540);
|
||||
// todo: why is width precision so low here? is that because of loaded Windows with 1ms precision?
|
||||
double widthRatio = 0.25;
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_1, 0.006266666666, 0.01, widthRatio, x, x + 180, x + 360, x + 540);
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_2, 0.006266666666, 0.01, widthRatio, x, x + 180, x + 360, x + 540);
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_3, 0.006266666666, 0.01, widthRatio, x, x + 180, x + 360, x + 540);
|
||||
assertWave(true, msg, chart, WaveChart.INJECTOR_4, 0.006266666666, 0.01, widthRatio, x, x + 180, x + 360, x + 540);
|
||||
|
||||
msg = "2003 Neon running";
|
||||
IoUtil.changeRpm(2000);
|
||||
|
|
Loading…
Reference in New Issue