Commit Graph

549 Commits

Author SHA1 Message Date
Andrey 98092c306f only: integration 2024-01-07 13:17:47 -05:00
Andrey 0a301a08d5 only: refactoring: InjectionEvent knows it's index 2024-01-07 12:58:07 -05:00
Andrey c16581c316 only: refactoring: InjectionEvent knowns it's index 2024-01-07 12:50:51 -05:00
rusefillc c7e1db94ec only:docs 2024-01-07 12:22:06 -05:00
GitHub gen-configs Action 58f31fd2d9 Auto-generated configs and docs 2024-01-03 20:32:11 +00:00
Matthew Kennedy 7f89d0fb0a don't spam simulator with warning 2023-11-13 09:05:36 -05:00
rusefillc 1287bbe3f0 only:typo 2023-11-12 16:22:29 -05:00
Andrey b3e97fdf2f better EFI_ENGINE_CONTROL 2023-11-05 15:55:29 -05:00
rusefillc 0725151609 better guards 2023-11-04 09:09:10 -04:00
rusefillc 35e57475a4 only:variable shadowing should be avoided #5676 2023-11-01 12:12:50 -04:00
Matthew Kennedy 28fd3c59ac remove wrapAngle2, wrapAngle does fine 2023-10-19 22:53:09 -04:00
Matthew Kennedy 883336ff30 fixAngle -> wrapAngle 2023-10-19 22:42:50 -04:00
Matthew Kennedy 5a1f53ce39 fix injection SOI log channel 2023-10-19 22:31:17 -04:00
rusefi 12f4cea668 only:minor encapsulation 2023-10-13 00:23:29 -04:00
rusefi 3db5c6e3f7 only:minor encapsulation 2023-10-12 23:15:54 -04:00
Matthew Kennedy 086fa81a3f only:minor encapsulation 2023-10-12 22:49:55 -04:00
Matthew Kennedy c831dff7eb cleanup 2023-10-12 20:29:41 -04:00
Matthew Kennedy c872239f51 lock injection timing at high duty cycle to avoid skipped injections 2023-10-12 09:49:24 -04:00
Andrey a6103dca56 tooth-event angle cannot be negative 2023-10-06 12:21:55 -04:00
rusefillc d9b00d8124 Retarding exhaust VVT which drives DI pump causes issues #5596
only: placing angle position into proper range
2023-10-06 12:21:55 -04:00
rusefillc 51cdf50216 Retarding exhaust VVT which drives DI pump causes issues #5596
only: placing angle position into proper range
2023-10-06 12:21:55 -04:00
rusefillc 591dae80bd Retarding exhaust VVT which drives DI pump causes issues #5596
only: placing angle position into proper range
2023-10-05 23:49:53 -04:00
Matthew Kennedy c8ddbba529 trip odometer 2023-09-26 17:03:06 -04:00
Andrey e29fe83f17 only:docs&readability 2023-09-25 22:36:23 -04:00
GitHub gen-configs Action d4a92ad604 Auto-generated configs and docs 2023-09-26 02:23:45 +00:00
Andrey f4e2ac32d5 only: part of knock logging 2023-09-25 22:19:35 -04:00
GitHub gen-configs Action 47637e2a48 Auto-generated configs and docs 2023-09-26 01:23:22 +00:00
rusefillc 85db1cf0dc only: part of knock logging 2023-09-25 21:18:57 -04:00
Andrey 708d92668e 36/2/2/2 is confusing #5566
only: code comments
2023-09-15 23:39:10 -04:00
Matthew Kennedy 4fac9c4960 faster knock logging 2023-09-15 08:08:42 -04:00
Andrey ba66fdcf82 reducing code duplication around assert 2023-09-05 21:28:39 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
Andrey 55cb5cfcf1 Injector duty reading half of reality fix #5542 2023-08-29 16:42:30 -04:00
Andrey 5f686c302d "Single Tooth" renamed to "Half Moon", more proper "Single Tooth" crank trigger as a new trigger fix #5488 2023-08-05 23:49:32 -04:00
rusefillc 0e6a5037aa simulator: sensor mocking UI is broken #5473
only: no reason to average MAP while in simulator
2023-07-31 18:10:06 -04:00
rusefi 0099de49af ignition timing clamping settings 2023-07-22 00:07:15 -04:00
rusefi 4fbc9d7b06 ignition timing clamping settings
only:atomic change around timing range
2023-07-21 23:48:58 -04:00
Andrey ae1eb88498 GDI4 overlap factor #5416 2023-07-21 00:53:13 -04:00
Andrey 13d4475986 GDI4 overlap factor #5416
only: extract method
2023-07-20 15:40:10 -04:00
rusefillc bc2a2b9ab9 only:better method name 2023-06-25 02:08:53 -04:00
Matthew Kennedy 10c5c4ec94 #23 and fix https://github.com/rusefi/rusefi/issues/5353
(cherry picked from commit b0c3357cba)
2023-06-25 00:25:07 -04:00
Andrey 632912d265 extra checks 2023-06-22 14:45:55 -05:00
rusefillc 65dcdb86ec Too many bench test buttons are broken #5327 2023-06-15 11:46:39 -04:00
rusefi f77f356e6d reducing code duplication 2023-06-11 23:17:13 -04:00
rusefi 731fd89ef7 reducing magic constant 2023-06-11 23:13:36 -04:00
rusefi 1908896598 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefillc 800752d389 per-cylinder logging fix: using better sign 2023-05-31 17:44:33 -04:00
rusefillc ed18cb1a53 it's going to be... 2023-05-31 17:36:12 -04:00
rusefillc c15ab187c5 it's going to be p 2023-05-31 17:23:46 -04:00
rusefillc 91d08f0465 it's going to be p 2023-05-31 17:15:43 -04:00
Matthew Kennedy 447b405718 it's going to be p 2023-05-31 17:04:31 -04:00
Matthew Kennedy 12a29232cc tooth_logger.h -> pch
(cherry picked from commit ad3ea57276)
2023-05-31 15:59:02 -04:00
Andrey 902c61f9d8 setSparkSkipRatio limitation #5231 2023-05-25 13:26:17 -04:00
Andrey 8c9b17485e Revert "Allow scheduling_s to come from a pool (#4841)"
This reverts commit 5250b177
2023-05-25 10:10:17 -04:00
rusefillc 8be4b30c7f better code guard? 2023-05-24 11:15:02 -04:00
rusefillc f35cd62b7c better code guard? 2023-05-24 11:12:00 -04:00
Matthew Kennedy 40673ffda2 add ignition/injection mode output channel #85
(cherry picked from commit 9621ff844e)
2023-05-04 18:58:50 -04:00
Matthew Kennedy d897a96c05 is this just dead?
(cherry picked from commit cd6b770945)
2023-04-29 01:08:14 -04:00
Andrey 51d0f6e347 it's going to be painful 2023-04-29 00:44:00 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Andrey f296e30fb5 it's going to be painful 2023-04-28 21:01:08 -04:00
Matthew Kennedy 2857e9527d remove specs_s struct, flatten config
(cherry picked from commit f090a97b0b)
2023-04-28 20:59:11 -04:00
Matthew Kennedy d488ed5858 function >>> macro
(cherry picked from commit 489d016682)
2023-04-28 20:27:12 -04:00
Andrey b95353cc12 logging of live data structs was: data points, we are moving away from debug mode #3614 2023-04-12 17:31:00 -04:00
Andrey 0470953cb8 We need to reshuffle timing calculation a bit, add one more gauge #5235 2023-04-12 17:22:28 -04:00
Andrey 32b7b014c9 per-cylinder should not contain firingOrderOffset fix #5236 2023-04-12 15:18:29 -04:00
Andrey 588bf77492 wow we have two separate per-cylinder trims?! fix #5237
refactoring: bringing two offsets much closer together, no change in overall logic
2023-04-12 15:04:14 -04:00
rusefillc deaee9ceae Ignition Knock response logging progress 2023-04-11 10:54:10 -04:00
GitHub gen-configs Action 883084ab9f Auto-generated configs and docs 2023-04-11 14:45:16 +00:00
rusefillc b629d5b064 Ignition Knock response logging progress 2023-04-11 10:43:34 -04:00
Andreika 919ed2d934
RPM soft limit and hysteresis #5214, #5224 (#5228)
* [DRAFT] RPM soft limit and hysteresis #5214, #5224

* fix m_timingRetard

* fix rpmHardLimitHyst

* unit-tests for #5214, #5224
2023-04-10 17:18:51 -04:00
rusefillc 23657b405c GDI: target pressure axis not always MAP fix #5155
bare minumum progress
only:proteus_f7
2023-03-05 23:32:04 -05:00
GitHub gen-configs Action c91b2344ce Auto-generated configs and docs 2023-03-06 04:16:07 +00:00
rusefillc 3031c6abd8 Poor man categories for logs #5153
only:proteus_f7
2023-03-05 23:12:56 -05:00
Andrey 1c7a800d7b https://github.com/rusefi/rusefi/pull/5040
only:mre_f4
2023-02-24 22:48:33 -05:00
Andrey 6588e813ae totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 08:26:38 -05:00
Andrey 9abdab795d totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 23:21:23 -05:00
Matthew Kennedy d5b00e1187
don't warn if we intentionally skipped this spark (#4961)
* don't warn if we intentionally skipped this spark

* header

* real nb2
2023-01-10 19:07:44 -05:00
Andrey G a300043f5d
Feed mapAveragingAdcCallback() with volts not adc raw values (#4940) 2023-01-05 12:14:48 -05:00
rusefillc 0300376c84 CI is useful 2023-01-01 11:30:50 -05:00
rusefillc 6146b01a36 antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 20:12:00 -05:00
rusefillc e75a1bc1a1 guards 2022-12-17 18:26:38 -05:00
rusefillc d63d8f869a guards 2022-12-17 15:50:54 -05:00
rusefillc 85976ed63d guards 2022-12-17 15:23:32 -05:00
rusefillc 57ad9b7311 random getOrZero clean-up 2022-12-14 19:48:07 -05:00
Matthew Kennedy 5250b177c2
Allow scheduling_s to come from a pool (#4841)
* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-12-10 17:55:51 -05:00
Matthew Kennedy 994ee2f22f
Combine angle based event (#4884)
* Remove AngleBasedEventOld/New, only AngleBasedEvent now

* this 7 year old comment of old test code can go away
2022-12-10 17:07:02 -05:00
Matthew Kennedy 2c58579a8d
switch hpfp and aux valves to AngleBasedEventNew (#4882)
* switch hpfp to AngleBasedEventNew

* aux valves too!
2022-12-10 16:15:11 -05:00
Matthew Kennedy 769cdd32ca
TriggerScheduler cleanup (#4844)
* TriggerScheduler cleanup

* remove TRIGGER_EVENT_UNDEFINED

* remove dead overload of scheduleOrQueue

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-28 08:55:38 -05:00
Matthew Kennedy 8ea5969607
fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
Andrey 77a3f5d795 trigger refactoring: instance RPM #4740 2022-11-06 11:56:18 -05:00
Andrey d75bf59cdc trigger refactoring: instance RPM #4740 2022-11-06 11:12:20 -05:00
Andrey b5796c121d trigger refactoring: instance RPM #4740 2022-11-06 10:58:04 -05:00
GitHub gen-configs Action 54cea0119a Auto-generated configs and docs 2022-11-01 21:35:56 +00:00
rusefillc dd081e5d58 Too long field comment becomes log field name #4716 2022-11-01 17:31:47 -04:00
GitHub gen-configs Action 523a6b9592 Auto-generated configs and docs 2022-11-01 21:00:55 +00:00
rusefillc 53649f73f1 Too long field comment becomes log field name #4716 2022-11-01 16:51:51 -04:00
Andrey G e7b06cbfca
compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
rusefillc 0283351d6c send more of Engine Sniffer data #4560 2022-10-29 21:55:35 -04:00
Matthew Kennedy de65a247d6
plumbing for dual MAP sensors (#4704)
* wiring for dual maps

* s
2022-10-27 21:15:04 -04:00