math is fun (#3545)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
parent
e8aebc313a
commit
a7ba539e70
|
@ -4,16 +4,16 @@
|
|||
void setMercedesTwoSegment(TriggerWaveform* s) {
|
||||
s->initialize(FOUR_STROKE_CRANK_SENSOR);
|
||||
|
||||
s->addEvent360(223 - 10, T_PRIMARY, TV_RISE);
|
||||
s->addEvent360(223, T_PRIMARY, TV_FALL);
|
||||
s->addEvent360(180 - 10, T_PRIMARY, TV_RISE);
|
||||
s->addEvent360(180, T_PRIMARY, TV_FALL);
|
||||
|
||||
s->addEvent360(316 - 10, T_PRIMARY, TV_RISE);
|
||||
s->addEvent360(316, T_PRIMARY, TV_FALL);
|
||||
s->addEvent360(227 - 10, T_PRIMARY, TV_RISE);
|
||||
s->addEvent360(227, T_PRIMARY, TV_FALL);
|
||||
|
||||
s->addEvent360(360 - 10, T_PRIMARY, TV_RISE);
|
||||
s->addEvent360(360, T_PRIMARY, TV_FALL);
|
||||
|
||||
s->setTriggerSynchronizationGap(0.47);
|
||||
s->setSecondTriggerSynchronizationGap(0.42);
|
||||
s->setThirdTriggerSynchronizationGap(5.07);
|
||||
s->setTriggerSynchronizationGap(1.35);
|
||||
s->setSecondTriggerSynchronizationGap(2.84);
|
||||
s->setThirdTriggerSynchronizationGap(0.26);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue