Matthew Kennedy
cadaf2a801
extract engine phase function ( #3456 )
...
* extract getCurrentEnginePhase
* inject engine ref
* never invalid RPM, use 0 instead
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-04 05:46:16 -04:00
rusefi
4dd1ae7035
triggerinfo progress
2021-10-23 19:01:31 -04:00
rusefillc
46e6e621da
reduce chance of invalid CAM setting fix #3105
2021-08-03 22:15:40 -04:00
Andrey
eceaa1f377
Nissan VVT trigger decoder #2887
...
that looks like one bug
2021-07-05 22:44:20 -04:00
Matthew Kennedy
ee6f49e65f
Consolidate hwHandleShaftSignal ( #2875 )
...
* consolidate trigger input
* merge functions
* comment
* dead
* hw vs. not hw
* stray comma
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 10:06:22 -04:00
Andrey
8185eb2de3
refactoring maybe making code reuse more possible in the future
2021-06-27 13:00:01 -04:00
Andrey
742935567b
Trigger: warning code on normal engine start up #669
...
making more code unit-testable
2021-06-25 11:30:06 -04:00
rusefillc
fa4f936869
docs
2021-05-02 23:46:30 -04:00
rusefi
7300bbe750
improving QC process
2021-04-23 00:45:36 -04:00
Matthew Kennedy
5f0791f9fb
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00
Matthew Kennedy
4e1d30f86d
plumbing for multiple vvt ( #2488 )
...
* plumb multiple vvt
* fix test
* s
* fix barra while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 07:39:23 -04:00
Matthew Kennedy
abdce83190
virtual zero timer ( #2426 )
...
* virtual zero timer
* it would help to call the correct function
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 15:32:41 -05:00
rusefillc
dc79ee1511
M62T vanos support #2243
2021-02-08 22:07:14 -05:00
rusefi
d39b285834
M62T vanos support #2243
2021-02-08 21:28:57 -05:00
rusefi
1012b61e02
M62T vanos support #2243
2021-02-08 20:38:38 -05:00
Matthew Kennedy
9b5fa40d16
add option to disable ETB if engine not spinning ( #2280 )
...
* config/ui
* trigger central mods
* implement
2021-02-05 17:19:57 -06:00
rusefillc
7fb7cc6679
extracting runtime state from trigger central
2021-01-31 22:41:17 -05:00
rusefillc
11aa253ae9
vvt/cam events to pass index
2021-01-31 22:24:45 -05:00
rusefillc
aa24ba3068
M62T vanos support #2243
2021-01-26 22:54:25 -05:00
rusefillc
c0e9d2914b
M62T vanos support #2243
2021-01-26 21:43:23 -05:00
rusefillc
9ce59f5da4
M62T vanos support #2243
2021-01-26 21:16:47 -05:00
Andrey G
b61ae75fe2
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
Matthew Kennedy
56b4d87fcd
generate triggers.txt from parametric test ( #2186 )
...
* add new test
* comment
* remove old
* main cleanup
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:58:34 -05:00
rusefillc
4072db3052
trigger lifecycle
2020-12-09 12:19:25 -05:00
Matthew Kennedy
73fc01ceec
put back safe part of #2005 ( #2036 )
...
* put back some safe bits
* dumb typo
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 22:28:29 -05:00
rusefillc
8d6255b1e2
Revert "switch rpm calculator to use timer class ( #2005 )"
...
This reverts most of 622021e799
commit.
2020-12-06 18:05:53 -05:00
Matthew Kennedy
622021e799
switch rpm calculator to use timer class ( #2005 )
...
* add api
* rpm calculator
* fix fsio
* fix float
* remove wrong comment
* fix timer
* clang didn't like this
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
Matthew Kennedy
bb2208fb52
add timer since last trigger tooth ( #2004 )
...
* add elapsed time to timer
* store trigger time
* fsio method
* don't do a 64b divide
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 11:13:45 -05:00
Matthew Kennedy
c73978310f
Remove trigger listener list ( #1886 )
...
* avoid 64b on hot path
* no tooth log when fast
* use crit section locker
* final
* only flip pins if not also self stim
* only trace if doing work
* slightly drop lateDelay
* trace if not bailing out
* remove listener array
2020-10-17 08:00:11 -04:00
Matthew Kennedy
ebc884e8d5
trigger decode cleanup and perf ( #1853 )
...
* trigger decode cleanup
* test config ptr patchup
* disable CDM by default
2020-10-04 19:29:26 -04:00
rusefi
bf2d51b8c3
VVT support for VAG trigger fix #883
2020-08-27 01:01:03 -04:00
rusefi
ed3eaf319c
VVT support for VAG trigger #883
2020-08-27 00:06:10 -04:00
rusefi
1b49c57bc1
VVT support for VAG trigger #883
2020-08-25 01:24:15 -04:00
rusefi
7d53f5859d
VVT support for VAG trigger #883
2020-08-25 00:59:07 -04:00
rusefi
bdbee0d38b
VVT support for VAG trigger #883
2020-08-24 02:01:50 -04:00
rusefi
14b63774fb
that's embarrassing
2020-05-10 02:36:01 -04:00
rusefi
30759ed8b3
VVT miata trying to crank with random phase #1278
2020-04-26 20:50:49 -04:00
rusefi
2eec300251
miata vvt trigger decoding is broken #1145
2020-02-14 13:02:27 -05:00
rusefi
f4d36f32fa
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
rusefi
1735529a6b
refactoring: extracting DEEP_IN_THE_PAST_SECONDS contant
2020-01-31 01:21:56 -05:00
rusefi
9bd819a18d
extracting class & codes clean-up
2020-01-28 00:16:33 -05:00
rusefi
9bd796ab6b
trigger refactoring
2020-01-26 12:02:54 -05:00
Matthew Kennedy
e2841e689d
Require tooth reference time for scheduleByAngle ( #1091 )
...
* injection
* injectors
* add edge timestamp to ShaftPositionListener
* scheduleByAngle require edgeTimestamp
* schedule with nt not us
* oops, these were missing from this branch
2020-01-09 23:45:13 +03:00
Matthew Kennedy
cb1039fe23
Inject timestamps in to hwHandleShaftSignal ( #1090 )
...
* injection
* injectors
2020-01-09 21:19:11 +03:00
rusefi
63e3e84e08
happy new year
2020-01-08 00:02:40 -05:00
rusefi
b290b4ae7a
removing legacy perf code
2019-12-23 21:56:16 -05:00
rusefi
cf0b13041f
random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS
2019-12-21 21:11:09 -05:00
rusefi
bcec694eb1
just a trivial massive rename: TriggerState > TriggerWaveform
2019-12-08 01:09:39 -05:00
rusefi
0fcf3bfa4e
refactoring: reducing code duplication
2019-10-21 23:47:40 -04:00
rusefi
fe6b5d8c56
Live Data: trigger current gap
2019-09-03 19:30:51 -04:00
rusEfi
2aee194f3b
Live Data VVT counter
2019-09-02 14:47:05 -04:00
rusefi
e885079de1
unified names for generated headers
2019-08-31 23:12:39 -04:00
rusefi
756dec106a
support multiple VVT sensors #885
...
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
rusefi
b856256549
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-30 09:38:51 -04:00
Matthew Kennedy
515ab03688
const, explicit, and override ( #831 )
...
* const, explicit, and override
* more const
* more const
* missed a spot
2019-06-08 09:51:36 -04:00
rusefi
35964c064c
BUG: phase sensor validation attending - detect missing CAM signal #659
...
preparation
2019-05-10 23:52:55 -04:00
rusefi
b00af69c81
BUG: phase sensor validation attending - detect missing CAM signal #659
...
refactoring and unit test first phase
2019-05-10 21:56:33 -04:00
rusefi
767418b93b
refactoring unit test
2019-05-10 21:29:17 -04:00
rusefi
1dc30dc503
Refactor Trigger System #635
...
reducing global state magic
2019-02-03 02:47:20 -05:00
rusefi
4fa48c0ca7
Refactor Trigger System #635
...
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi
4877931613
C++11 and unique method name
2019-01-22 19:07:36 -05:00
rusefi
37a47b1f25
refactoring: reducing header tree hell
2019-01-20 23:30:40 -05:00
rusefi
703dc30040
The Big Refactoring of 2019: configuration version should not be a global variable #656
2019-01-09 21:08:04 -05:00
andreika-git
da82040369
Noiseless trigger decoder ( #592 )
...
* fix typo
* better formatting & tiny fix
* add syncRatioAvg
* add useNoiselessTriggerDecoder setting
* resetAccumSignalData
* isUsefulSignal
* Impl. Noise Filtering for Trigger Decoder
* Unit-tests
2018-04-26 02:11:51 -04:00
andreika-git
eb27c6b6e4
Impl. faster engine spin-up mode (alpha-version) ( #567 )
...
* Impl. faster engine spin-up mode (alpha-version)
* A comment for RPM_LOW_THRESHOLD
* Faster engine stop detection
* Safety check for instant RPM on spinning-up
* rusefi.xml
* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi
115bc084bf
better state validation
2018-03-04 21:02:35 -05:00
rusefi
3840f0bbde
minor bugfix in theoretical case of two consequitive changes
2018-02-03 12:47:37 -05:00
rusefi
121a2b59fe
removing dead code
2017-12-12 17:36:49 -05:00
andreika-git
810509440d
onConfigurationChangeTriggerCallback() ( #448 )
...
* onConfigurationChangeTriggerCallback()
* conform isTriggerConfigChanged
* #if EFI_EMULATE_POSITION_SENSORS
* Now it works!
* svnversion
2017-06-26 21:31:10 +03:00
rusefi
af6a1a290f
consistency for max counters reset
2017-05-19 21:52:10 -04:00
rusefi
8d5502ae4e
#58
2017-05-18 16:16:55 -04:00
rusefi
73c1f29cf9
better macro name
2017-05-15 23:33:22 -04:00
rusefi
fef48d52bc
removing unused parameter
2017-05-15 20:31:16 -04:00
rusefi
42eea1ddfd
progress #363
2017-03-01 22:18:25 -05:00
rusEfi
552c664a23
auto-sync
2017-01-03 06:05:22 -05:00
rusEfi
00f45cf809
auto-sync
2016-08-22 23:04:55 -04:00
rusEfi
017a55c297
auto-sync
2016-08-20 23:02:09 -04:00
rusEfi
1d3eba6995
auto-sync
2016-08-20 22:02:12 -04:00
rusEfi
0cd8bd4a21
auto-sync
2016-07-05 20:02:56 -04:00
rusEfi
68982fb254
auto-sync
2016-01-26 22:03:19 -05:00
rusEfi
42069e51ac
auto-sync
2015-12-31 16:02:30 -05:00
rusEfi
fdfbedeee5
auto-sync
2015-09-13 17:02:44 -04:00
rusEfi
39651c776e
auto-sync
2015-07-15 20:01:33 -04:00
rusEfi
41e7abdd6f
auto-sync
2015-07-10 09:01:56 -04:00
rusEfi
69b0c4e2de
auto-sync
2015-07-10 08:57:59 -04:00
rusEfi
490da27bb3
auto-sync
2015-07-06 21:33:28 -04:00
rusEfi
b4f11eadff
auto-sync
2015-02-02 07:06:40 -06:00
rusEfi
4dea2c063a
auto-sync
2015-01-15 15:03:51 -06:00
rusEfi
3106182831
auto-sync
2015-01-12 18:05:46 -06:00
rusEfi
a174734294
auto-sync
2015-01-12 17:04:10 -06:00
rusEfi
939c8a6d71
auto-sync
2014-12-14 22:03:37 -06:00
rusEfi
779abec8af
auto-sync
2014-11-26 15:03:29 -06:00
rusEfi
8f89099072
auto-sync
2014-11-24 20:03:34 -06:00
rusEfi
3d38eb5436
auto-sync
2014-11-16 22:03:34 -06:00
rusEfi
0ee45c012f
auto-sync
2014-11-11 14:03:07 -06:00
rusEfi
239d6772e2
auto-sync
2014-11-06 20:05:30 -06:00
rusEfi
da8cf2604f
auto-sync
2014-11-04 12:03:02 -06:00
rusEfi
13094017d6
auto-sync
2014-09-24 11:03:00 -05:00
rusEfi
0ceb38dd07
auto-sync
2014-09-08 17:02:52 -05:00
rusefi
4ee83f0fee
auto-sync
2014-08-29 10:52:33 -04:00