Commit Graph

1300 Commits

Author SHA1 Message Date
rusefi 30759ed8b3 VVT miata trying to crank with random phase #1278 2020-04-26 20:50:49 -04:00
rusefi 0ec3ce595e dead code 2020-04-26 17:40:12 -04:00
rusefi 035d18e7ae Bosch vvt shape #1368 2020-04-25 22:23:53 -04:00
rusefi 52954733c7 Bosch vvt shape #1368
skeleton
2020-04-25 19:50:43 -04:00
Matthew Kennedy e89b7b4b11 trigger emulator refactoring (#1358)
* trigger gen refactoring

* missed one

* fix makefile

* commentary

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 14:00:06 -04:00
Matthew Kennedy 39c84378eb don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi 6a85ebb7b8 docs 2020-04-20 23:44:59 -04:00
rusefi 90b2af608a docs 2020-04-20 22:42:34 -04:00
rusefi 2f773c314a TT_RENIX_66_2_2_2 2020-04-19 14:54:02 -04:00
rusefi c1a4bd857b TT_HONDA_K_12_1 2020-04-19 14:23:01 -04:00
rusefi d74e7f5d11 progress towards renix 66-2-2-2 2020-04-19 09:59:55 -04:00
rusefi 89be50fd70 Renix 44-2-2 2020-04-18 22:20:17 -04:00
rusefi 4967e8ba7b better trigger definition API 2020-04-18 20:28:03 -04:00
rusefi 711c7c970a Fresh generated - auto 2020-04-18 16:40:59 -04:00
rusefi 70ba9c9ee2 progress 2020-04-17 14:02:10 -04:00
rusefi d7198271aa multi-channel Tuner Studio tooth logger #1284 2020-04-17 12:14:45 -04:00
rusefi 80a780a190 fixing build 2020-04-15 21:09:05 -04:00
rusefi 5e0d75b9e4 more verbose 2020-04-15 20:07:56 -04:00
rusefi ef292ee6d2 fixing build? 2020-04-15 19:50:07 -04:00
rusefi c80cc84451 multi-channel Tuner Studio tooth logger #1284 2020-04-15 19:10:54 -04:00
rusefi 817ea2c008 multi-channel Tuner Studio tooth logger #1284 2020-04-14 15:17:15 -04:00
Matthew Kennedy 24b0c85a9e fix warnings (#1282)
* warnings

* don't need to template those
2020-04-12 09:39:14 -04:00
rusefi 44ef63e102 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
rusefi 35f08f3958 progress 2020-04-10 13:32:06 -04:00
rusefi cb2b699db6 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
rusefi 0e15a1f215 safer version by Dron0Gus 2020-04-06 11:29:09 -04:00
rusefi 5993a6a7f0 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy 45f5afe871 Remove old monitoring timestamps (#1217)
* remove monitoring timestamps

* adv map

* fuel calc

* map avg

* printing

* spark logic

* hip 9011

* new traces

* s

* missed a few
2020-03-24 20:19:19 -04:00
Matthew Kennedy 61c4d0fe83 save some ram (#1211)
* remove dead stuff

* why store those pointers twice?
2020-03-22 19:06:29 -04:00
rusefi 2ae15b5bab hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
Matthew Kennedy 8ceb5c8996 fix icu trigger polarity (#1177)
* fix polarity

* fix confusing names
2020-03-08 08:57:21 -04:00
rusefi 0e8acf6514 CLT stops working when using 2-0 custom trigger wheel #1171 2020-03-06 01:31:04 -05:00
Matthew Kennedy eb46d7bd58 warnings (#1169) 2020-03-03 08:37:02 -05:00
Matthew Kennedy a2a5b40ced Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
rusEfi 627fe4ba53 better trigger LiveDocs 2020-02-22 15:39:00 -05:00
rusefi 2eec300251 miata vvt trigger decoding is broken #1145 2020-02-14 13:02:27 -05:00
rusefi f69bbba6a4 Merge remote-tracking branch 'remotes/origin/2019.12.25_release_1.19.12_xmas' 2020-02-14 10:50:50 -05:00
rusefi fc33789da7 miata vvt trigger decoding is broken #1145 2020-02-14 00:37:36 -05:00
rusefi 910a4d6706 cam/vvt decoder 2020-02-05 01:49:33 -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 5bb778381a lovely tiny bug which mostly affects NB2 with an impossible one tooth crank trigger wheel 2020-01-30 01:47:34 -05:00
rusefi 1b40819516 micro refactoring 2020-01-30 01:20:41 -05:00
rusefi 4dd9edfcff reusing constant 2020-01-28 00:27:30 -05:00
rusefi 9bd819a18d extracting class & codes clean-up 2020-01-28 00:16:33 -05:00
rusefi ae228dff0e trigger refactoring 2020-01-26 14:20:55 -05:00
rusefi 19d318c8ee trigger refactoring 2020-01-26 13:51:35 -05:00
rusefi 9bd796ab6b trigger refactoring 2020-01-26 12:02:54 -05:00
rusefi 6548964461 good thing we have CI - fixing build 2020-01-26 09:00:46 -05:00
rusefi 35e60bf607 reducing code duplication 2020-01-26 06:35:51 -05:00
rusefi 98c6198f1d reducing code duplication 2020-01-26 06:28:33 -05:00
rusefi 23631b5970 trigger refactoring 2020-01-26 06:12:01 -05:00
rusefi d1a4b39a5a refactoring: de-coupling trigger decoder and engine 2020-01-26 03:48:25 -05:00
rusefi dfa8d9ccc9 refactoring trigger 2020-01-26 03:33:45 -05:00
rusefi 59c293b548 trigger refactoring 2020-01-25 11:22:25 -05:00
rusefi 4f5aeea301 trigger refactoring 2020-01-25 02:00:33 -05:00
rusefi 43eb2ef9d0 refactoring trigger 2020-01-24 13:42:09 -05:00
rusefi ea82d82426 refactoring trigger 2020-01-23 13:39:50 -05:00
rusefi c7875876e5 refactoring - de-coupling trigger 2020-01-22 13:25:35 -05:00
rusefi f6ce9397db refactoring 2020-01-22 01:22:44 -05:00
rusefi a89e20a647 refactoring 2020-01-22 00:40:26 -05:00
rusefi 1a3bfa4b02 code style 2020-01-21 01:47:58 -05:00
rusefi d91a7a6a8f code style 2020-01-21 01:40:11 -05:00
Matthew Kennedy f8cd2ad3ce use NT_PER_SECOND instead of convert from microseconds (#1107)
* add NT_PER_SECOND

* missed a few

* inject tooth logger timestamp

* inject
2020-01-19 22:23:41 -05:00
rusefi 6c70f390da trigger shape constraint validation 2020-01-14 03:54:46 -05:00
rusefi 4e6d6e0625 reducing complexity? 2020-01-13 22:25:51 -05:00
rusefi 695da5486b reducing complexity 2020-01-13 22:23:46 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 5f5e4d92b0 header style 2020-01-13 02:30:49 -05:00
rusefi abe1b8c1f3 refactoring: no need to specify parameter manually 2020-01-12 10:43:02 -05:00
rusefi 5fbe44c8b7 refactoring 2020-01-12 05:17:42 -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 1e1a4722c5 maybe improvement to console trigger messages 2019-12-25 15:05:02 -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 3ed388d1ad refactoring & fixing build 2019-12-21 20:43:11 -05:00
rusefi 44c98029d7 fixing build is my most favourite time! 2019-12-13 18:02:24 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi 579770b66f The Big Refactoring of 2019: folder structure #723 2019-12-08 13:21:35 -05:00
rusefi bcec694eb1 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi a5ee6b13d5 Refactor Trigger System #635
injecting callback via parameters instead of nasty "bool isInitializingTrigger" field
2019-12-06 01:57:11 -05:00
rusefi edabed50f5 Refactor Trigger System #635
injecting callback via parameters via magic and potentially broken field manipulation
2019-12-06 01:05:19 -05:00
rusefi 889ee45c16 typo 2019-12-06 00:07:27 -05:00
rusefi 6fb7a30ab4 following the pattern 2019-12-04 07:33:56 -05:00
rusefi e60515789a The Big Refactoring of 2019: folder structure #723 2019-12-04 01:15:52 -05:00
rusefi 561986d3e4 The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi 5a299fcd9c refactoring - updating name according to new reality 2019-12-03 14:39:11 -05:00
rusefi 5c40bb4628 #490 2019-12-03 00:29:12 -05:00
rusefi 3b4e5d689f making new scheduling API avalable 2019-12-02 22:28:32 -05:00
rusefi b415508c70 codes clean-up 2019-12-02 20:16:41 -05:00
rusefi 5ac023d987 misc clean-up 2019-12-02 10:03:50 -05:00
rusefi 155ff25c22 MapAveragingCallback schedules all cylinders at once #974 2019-11-24 23:20:24 -05:00
rusefi 5292024a81 MapAveragingCallback schedules all cylinders at once #974
saving pennies
2019-11-24 20:48:25 -05:00
rusefi 171860be3c pausing aux work for now 2019-11-24 12:45:38 -05:00
rusefi c5e60a7f93 improving API? 2019-11-24 00:15:44 -05:00
rusefi e8051c1807 more correct variable names 2019-11-23 23:49:39 -05:00
rusefi 18bb121cbe aux valves unit test 2019-11-23 22:55:21 -05:00
rusefi af3118fd42 making progres on angle-based scheduling 2019-11-23 20:36:40 -05:00
rusefi 304cc6acc3 making progres on angle-based scheduling 2019-11-23 19:47:53 -05:00
rusefi 79ada84b56 'triggerEventAngle' not really needed 2019-11-23 17:44:44 -05:00
rusefi a31057ec17 explicit list field to simplify code navigation 2019-11-23 17:04:51 -05:00
rusefi eaa42d1baa consistency 2019-11-23 15:53:22 -05:00
rusefi 6efab3683c bug: aux valve actions can overlap 2019-11-23 10:34:43 -05:00
rusefi 8dddc62979 aux overlap debugging 2019-11-22 18:50:46 -05:00
rusefi 127b16d761 more code into unit tests 2019-11-20 01:42:03 -05:00
rusefi 4cebc85cbf refactoring 2019-11-20 01:35:08 -05:00
Matthew Kennedy 8fd603dca9 Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 19bdb9a35f docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi e4d31bafb7 v12 done right 2019-11-17 09:32:12 -05:00
rusefi bb7895a828 refactoring: reducing complexity? 2019-11-17 09:02:49 -05:00
rusefi 1624346c97 v12 2019-11-16 16:00:50 -05:00
rusefi 80ef79eded this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
rusefi ca0984007d Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) #996
new advanced debugging: hardware pins
2019-11-10 12:39:47 -05:00
rusefi f34023a9ea Trying latest gcc 9 #1001 2019-11-07 11:28:49 -05:00
rusefi 7eaed773ff evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:33:40 -05:00
rusefi 17a2847424 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 18:26:50 -05:00
andreika-git ae59680918 Kinetis timer freq. fix & config update (#999)
* Kinetis: fix timer frequency

* More silentTriggerError - it really helps a lot!

* Kinetis: gen_config.bat update
2019-11-06 14:45:55 -05:00
rusefi c734cb0fa4 Missing dwell altogether in some corner cases fix #796 2019-11-06 00:31:24 -05:00
rusefi fbdbc0656a Missing dwell altogether in some corner cases #796
flirting with the fix but not yet the fix
2019-11-06 00:10:44 -05:00
rusefi 7c2f9a7c5d refactoring: removing unused parameter 2019-11-05 22:49:11 -05:00
rusefi 3357e41614 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 22:40:33 -05:00
rusefi 591f19321d nicer enum name 2019-11-03 21:19:13 -05:00
rusefi 82b7190dc0 review feedback 2019-11-03 10:36:35 -05:00
rusefi 28df878989 scramblr reports sync issues on NB1 fix #990 2019-10-30 21:01:23 -04:00
rusefi ec060752f7 flipping NB1 trigger definition 2019-10-29 21:19:00 -04:00
rusefi b6c5ff5fee refactoring & verbose trigger to simulator 2019-10-29 21:12:44 -04:00
rusefi 7dec2d3ad8 bugfix around verboseTriggerSynchDetails - 64 bits on stack was causing broken messages 2019-10-29 18:20:55 -04:00
rusefi 0fcf3bfa4e refactoring: reducing code duplication 2019-10-21 23:47:40 -04:00
Matthew Kennedy 6f3bfcb099 fix wwae (#980) 2019-10-17 00:06:54 -04:00
rusefi 7d73334b54 Revert "Revert "Performance improvement: call GetBaseFuel less (#979)""
This reverts commit 323904728d.
2019-10-16 23:02:24 -04:00
rusefi 323904728d Revert "Performance improvement: call GetBaseFuel less (#979)"
This reverts commit aa9ec543
2019-10-16 22:29:19 -04:00
Matthew Kennedy aa9ec543f4 Performance improvement: call GetBaseFuel less (#979)
* Remove extra calls to getInjectionDuration

* increase callback frequency
2019-10-16 22:13:10 -04:00
Matthew Kennedy ba97572795 fix #977 (#978) 2019-10-15 05:24:33 -04:00
Matthew Kennedy 89ca9a0406 Merge remote-tracking branch 'upstream/master' into perf-tracing 2019-10-14 23:45:39 -07:00
Matthew Kennedy eb418f764b trace all the things 2019-10-14 23:34:12 -07:00
rusefi 41919a4fbd preparing for #974
code comments & refactoring
2019-10-14 06:18:08 -04:00
Matthew Kennedy 97d848bb3e profile all the things 2019-10-13 13:14:08 -07:00
rusefi c938b0d374 preparation for #961
more unified access to pre-calculated value
2019-10-13 09:59:06 -04:00
Matthew Kennedy 076b10fcb6 experiment 2019-10-11 17:43:21 -07:00
Matthew Kennedy 821ca6156f move tsOutputChannels to header (#970) 2019-10-08 21:02:51 -04:00
rusefi c5f12fbcd9 I got carried away, but DEAD CODE?! 2019-10-08 03:14:21 -04:00
rusefi 875fb3d1bc something is over-complicated here? looks like two classes should become one? 2019-10-08 02:56:19 -04:00
rusefi 415de92543 something is over-complicated here? looks like two classes should become one? 2019-10-08 02:35:21 -04:00
rusefi f189bbab04 refactoring 2019-10-08 02:01:41 -04:00
rusefi 74c8b59e44 typo & better field name 2019-10-08 01:36:03 -04:00
rusefi 15ae9b1580 fancy C++ s/NULL/nullptr/ 2019-10-08 01:26:35 -04:00