Commit Graph

1487 Commits

Author SHA1 Message Date
rusefi 42fe092d8d only: renaming .cpp 2024-04-30 16:15:13 -04:00
rusefi 12ad7548ec only: better test file name 2024-04-30 16:02:24 -04:00
rusEFI LLC ee67c5b652 only: docs 2024-04-29 15:28:12 -04:00
rusEFI LLC fdd46ddf8b only: something dead? 2024-04-29 14:57:56 -04:00
rusEFI LLC bc404fb1ca only: https://sourceforge.net/p/rusefi/tickets/299/ 2024-04-29 14:26:06 -04:00
kifir 7f7c372bcd minimum test for bailed-on owerdwell #6373 2024-04-28 23:16:52 -04:00
rusefi 3f45fd63c5 only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 10:46:22 -04:00
rusefi a42092826a only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 10:10:59 -04:00
rusefi 302b11abee only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 10:06:14 -04:00
Matthew Kennedy b5e3694647 no need for getTimeNowUs on ETH 2024-04-27 09:55:49 -04:00
rusEFI LLC aed124bae2 Usability: critical error in case of unneeded second channel #6419
only: unit tests
2024-04-26 22:18:01 -04:00
Matthew Kennedy 32172801cc only: minor cleanup 2024-04-26 21:39:47 -04:00
Matthew Kennedy 8d661ce22d unit test global cleanup 2024-04-26 08:54:20 -04:00
Matthew Kennedy 79b796954d unit test global cleanup 2024-04-26 08:17:30 -04:00
Matthew Kennedy 271b36cb72 haha these two functions do the same thing!? 2024-04-26 08:16:42 -04:00
kifir 80cf6d1943 add check of bailed on dwell count #6373 2024-04-25 13:10:34 -04:00
kifir ff64d67075 enhance formatting 2024-04-24 10:31:21 -04:00
rusEFI LLC 226d3b7b6d some unused fields 2024-04-23 23:37:20 -04:00
rusEFI LLC 02a5237942 only: airTaperRpmRange no UI no usages, looks dead, removing 2024-04-23 21:00:50 -04:00
rusEFI LLC b84e47f125 only: Overdwell at times around syncloss while cranking #6349 2024-04-23 16:11:41 -04:00
rusefillc 76ebc1d1fe 60/2 vs 60/2 VW mess #988
only: rename & flipping M73 canned tunes
2024-04-20 23:26:00 -04:00
Andrey 4bc38d3543 Overdwell at times around syncloss while cranking #6349
hopefully bugfix - do not start dwell in case of out-of-order
2024-04-17 19:02:47 -04:00
Andrey 6873974c0a Overdwell at times around syncloss while cranking #6349
only: better handling of existing out-of-order handling
2024-04-17 18:54:08 -04:00
Andrey f633707763 wow this fails?! 2024-04-13 21:51:56 -04:00
Matthew Kennedy 00a83739e7 new test does indeed fail 2024-04-13 21:42:48 -04:00
Andrey f6c4f48c65 pain 2024-04-12 16:55:49 -04:00
Matthew Kennedy 9fdb962ec6 more tests that are less chaos now 2024-04-12 16:55:49 -04:00
Matthew Kennedy fd7d9e1f1b testFasterSpinup doesn't trigger error 2024-04-12 16:55:49 -04:00
Matthew Kennedy f1c47c8cc6 better log 2024-04-12 16:55:49 -04:00
Matthew Kennedy b06d16a548 test for noisy triggers and another fix 2024-04-12 16:55:49 -04:00
rusefillc 6ff62e9ca0 Overdwell at times around syncloss while cranking
#6349

only: test data
2024-04-12 14:38:39 -04:00
rusefillc 9c33854653 Overdwell at times around syncloss while cranking
#6349

only: test data
2024-04-12 08:52:17 -04:00
rusefillc ba993f8bf7
only:Create readme.md 2024-04-10 21:13:55 -04:00
rusefi 9c77bc709a only: better method name 2024-04-10 00:02:39 -04:00
rusefillc 143170d60c odd fire timing_offset_cylinder not accounted by injection revert #6095
revert of revert, we have timing accounted by fuel again!
2024-04-09 16:54:53 -04:00
Andrey 4c0bf9c070 only: nope, not needed 2024-04-09 09:38:24 -04:00
Andrey e18a3b5e64 odd fire timing_offset_cylinder not accounted by injection #6095
flipping adjustment direction
2024-04-08 22:44:52 -04:00
Andrey 3441417b24 odd fire timing_offset_cylinder not accounted by injection #6095
only:flipping test numbers
2024-04-08 22:39:31 -04:00
rusefi 4312338f4e only: making test more readable 2024-04-08 21:09:25 -04:00
Andrey 9397521d0b only:docs 2024-04-04 12:09:17 -04:00
Andrey 8d29bf485d only: live_data_ids.h is not needed so widely 2024-03-30 00:17:34 -04:00
rusefillc fb66699cd8 odd fire angles are not right during cranking
#6281

only:docs
2024-03-25 10:09:02 -04:00
Andrey 5642d412de odd fire timing_offset_cylinder not accounted by injection revert #6095
odd fire angles are not right during cranking #6281

only:proteus_f7
2024-03-24 13:18:14 -04:00
Andrey 090599c27e bosch quick start decoding issue or else #6281
test VVT decoding from file
2024-03-24 08:03:32 -04:00
Andrey d0dd8b1d4b bosch quick start decoding issue or else #6281 2024-03-24 00:23:31 -04:00
Andrey 739131180b bosch quick start decoding issue or else #6281
only:test coverage
2024-03-23 23:22:37 -04:00
rusefillc bbc2c0aab8 bosch quick start decoding issue or else #6281
only: real vehicle data
2024-03-23 22:46:01 -04:00
Matthew Kennedy a50fdf34d4 avoid UB in tests 2024-03-23 07:54:27 -04:00
rusefillc 5a06e47fd3 better names for 3/5 GM 24xs 2024-03-22 13:44:18 -04:00
Andrey 17069719dc funny games with dash via Lua to override CAN dash profile values #6235 2024-03-21 13:01:03 -04:00
Matthew Kennedy b7b7c77ce0 move a bunch of tables out of engine_configuration_s 2024-03-20 17:07:12 -04:00
Andrey 5d46bb1074 Negative timing is not displayed correctly fix #5250 2024-03-20 14:43:50 -04:00
Andrey ef2fe9e33c Timing showing crazy negative values like -595 #5250
only:tdd
2024-03-20 14:24:20 -04:00
Andrey 9a43bc2758 only:additional coverage 2024-03-20 10:31:23 -04:00
rusefillc fbea4c3731 only: renaming test 2024-03-20 10:20:40 -04:00
Andrey 15a313aced HPFP control on cam with variable timing fix #6245 2024-03-17 22:30:50 -04:00
Andrey c69e202eaf Seems that gdi pump angle changes at 2x the rate of cam movement, possible multiplication/division problem? #6245
only:alphax-4chan_f7
2024-03-17 21:05:11 -04:00
Andrey 09b787adf3 launch control: merging two settings into one 2024-03-16 17:06:42 -06:00
Andrey 946bc82376 refactoring: LaunchCondition enum 2024-03-09 08:39:58 -05:00
rusefillc a05c0ef730 engine type clean-up 2024-03-06 00:13:11 -05:00
rusefillc f4b1a7bae0 engine type clean-up 2024-03-06 00:13:11 -05:00
rusefillc 57ad92fc1d only: removing totally dead launchFuelAdded 2024-02-29 22:22:00 -05:00
Andrey d3461e3905 odd fire timing_offset_cylinder not accounted by injection fix #6095 2024-02-29 12:29:46 -05:00
Andrey df6ec17a64 odd fire timing_offset_cylinder not accounted by injection #6095
only: TDD to the win
2024-02-29 09:49:03 -05:00
Andrey f487065e75 maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: TDD progress
2024-02-29 08:08:31 -05:00
Andrey 12db01c948 first spark out of order coilIndex logic in prepareCylinderIgnitionSchedule fix #6094 2024-02-29 01:47:43 -05:00
Andrey 4347c5c82e maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: TDD progress
2024-02-29 01:33:42 -05:00
Andrey d2b6ae4d11 only: last rename for now 2024-02-29 00:41:12 -05:00
Andrey 98dcca20b1 maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: TDD first steps
2024-02-29 00:16:41 -05:00
Andrey 41d5b527cc only: NICE! these values actually mean something! 2024-02-28 23:22:01 -05:00
Andrey b04b6a9251 only: NICE! these values actually mean something! 2024-02-28 22:53:44 -05:00
Andrey 928f6f2866 only: reducing magic numbers in unit tests 2024-02-28 21:05:48 -05:00
Andrey b335244601 only: reducing magic numbers in unit tests 2024-02-28 20:44:22 -05:00
Andrey 8fe5c4a1c9 only: wow hello 2013 2024-02-28 20:28:38 -05:00
Andrey 389c6e64e9 only: reducing magic numbers in unit tests 2024-02-28 20:20:41 -05:00
Andrey 17275e4f4b maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: renaming field so that we do not have two entities with same name and different meaning
2024-02-28 19:34:13 -05:00
Andrey 73298d21ad maximumIgnitionTiming does not account timing_offset_cylinder #5894
only: nothing
2024-02-28 19:34:13 -05:00
Andrey f7dd81b61d & is inappropriate for an enum 2024-02-28 19:16:07 -05:00
Andrey 701f3a073c revive ptrace fix #5983 2024-02-22 15:19:21 -05:00
Andrey a1423085e2 revive ptrace #5983
only: quality in software begins with proper practices like TDD
2024-02-22 15:16:24 -05:00
Andrey 583d73ccd5 only: setBitRangeMsb coverage 2024-02-16 01:10:19 -05:00
Andrey 9a782c0b5a only: setBitRangeMsb coverage 2024-02-15 16:41:04 -05:00
Andrey 68463e8634 only: actually looks OK 2024-02-15 16:30:56 -05:00
Matthew Kennedy e718489774 Actually separate injector model for second stage 2024-01-17 08:46:21 -05:00
rusefillc 81c050a75b only: dead ET camaro 2024-01-16 11:53:22 -05:00
rusefillc fb899cdefb only: inline method & dead code 2024-01-16 11:02:26 -05:00
Matthew Kennedy 8f42f8ccc8 Staged injection support; use two sets of injectors on the same engine fix #5247 2024-01-07 23:14:18 -05:00
Matthew Kennedy 1302f780b2 unused parameters 2024-01-07 22:36:20 -05:00
Matthew Kennedy 1f64950e33 Staged injection support; use two sets of injectors on the same engine #5247
two injection models for two stages
2024-01-07 22:36:20 -05:00
Matthew Kennedy 26b351ba40 Remove/make injector duty limit configurable fix #4798 2024-01-07 22:36:18 -05:00
Andrey ca18c5ba4e only:towards https://github.com/rusefi/rusefi/pull/4841 2024-01-07 16:39:15 -05:00
Andrey 391b5947e8 only: actually using msg in assertions 2024-01-07 13:43:30 -05:00
Andrey 02960f1503 only: front to rear axle speed slip rate gauge #5842 2023-12-30 23:51:59 -05:00
Andrey ab6011aa8b only:explicit error if attempting to write unknown smart pin 2023-12-25 17:40:18 -05:00
Andrey 540e142c28 6G72 Trigger Pattern #5593 2023-12-06 23:02:08 -05:00
rusefi 10198684f9 6G72 Trigger Pattern #5593
real data
2023-12-06 22:07:27 -05:00
andreika-git 30ff00fb69 Call AlternatorController::init() for ClosedLoop unit-test 2023-12-05 14:23:04 -05:00
rusefillc 723b9d5995 only:K 2023-11-25 20:18:24 -05:00
Andrey cd19753a7d only: canam 2023-11-18 01:45:34 -05:00
rusefillc 33c34ff88c only: better defaults 2023-11-17 21:46:10 -05:00
Andrey 9b920bf2fa getBitRangeMsb 2023-11-15 00:28:43 -05:00
andreika-git 7d87aeaa5b AlternatorController unit-tests 2023-11-10 17:13:50 -05:00
Andrey 950f0d4525 only:vincpy 2023-11-08 21:52:43 -05:00
Matthew Kennedy 87429dcc26 this test worked on everything but apple silicon apparently 2023-11-02 01:33:44 -04:00
Matthew Kennedy 2c049d206a dead pid auto tune 2023-11-01 17:01:07 -04:00
rusefillc 5e311f99fb test moved to library 2023-11-01 09:39:33 -04:00
rusefillc 9c54180bf6
T2 (#5647)
* fix unit-tests

* add cam/vvt support to trigger_emulator

---------

Co-authored-by: andreika-git <andrei.home@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-10-26 14:10:51 -04:00
Patryk Chmura 0a7cd2b08c
Closed Loop Idle Ignition Timing small improvements (#5635)
* After-start enrichment handling more similar to OEM and other Standalone EFI systems

* Corrections and tidying-up

* Corrected small mistake in TunerStudio definition

* Compatibility fixes

* Readability fix

* Changed to more appropriate cycles instead of seconds, bugfix for TS

* Typo fix...

* Idle Ignition Timing improvements

* Uninitialized variable for Unit Tests?

* Zero value should disable new feature

---------

Co-authored-by: pchmura4 <>
2023-10-24 17:43:29 -04:00
Matthew Kennedy 029bc9fdac unit test for wrapAngle 2023-10-24 15:35:45 -04:00
Andrey f2453ce251 open loop boost does not really require Map sensor
only:small-can-board
2023-10-19 21:22:59 -04:00
Andrey 300e08d4c4 only:making boost constraints more obvious, also running boost in simulator 2023-10-19 21:06:09 -04:00
rusefi 3db5c6e3f7 only:minor encapsulation 2023-10-12 23:15:54 -04:00
rusefillc eac1430b08 only:hd 2023-10-11 23:47:34 -04:00
Matthew Kennedy ab770b6892 limp test doesn't rely on defaults 2023-10-11 21:20:43 -04:00
Andrey 680d18e433 VVT control is broken on second bank fix #5599 2023-10-07 12:54:45 -04:00
Andrey 3b1fe9da7f only: VVT refactoring reducing magic index math 2023-10-07 12:34:32 -04:00
rusefillc 64773d8351 Retarding exhaust VVT which drives DI pump causes issues #5596
only: extra coverage
2023-10-05 23:24:19 -04:00
rusefillc 384973ad2a Retarding exhaust VVT which drives DI pump causes issues #5596
only: extra coverage
2023-10-05 23:17:05 -04:00
rusefillc a2f147ebc0 Retarding exhaust VVT which drives DI pump causes issues #5596
only: extra coverage
2023-10-05 23:09:45 -04:00
Andrey abad7c8e7d only:fixing test to have HPFP not just in cranking 2023-10-05 20:20:34 -04:00
Andrey 3b2b90436d only:making test simpler 2023-10-05 19:20:27 -04:00
Matthew Kennedy a519fd13ad vvt is engine module
* vvt refactoring

* vvt constexpr livedata

* format

* fix null deref
2023-09-26 09:07:59 -04:00
rusefillc be35a5eb23
fan control is engine module (#5585)
* fan is engine module

* mockable AC

* mockable AC

* mock AC controller in fan test

* constexpr fan livedata

* isPtr

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-09-26 07:12:11 -04:00
Andrey d4916f3c95 only:hello VAG 2023-09-21 20:01:29 -04:00
Andrey 6eb0619d9c only: 36/2/2/2 is confusing #5566
writing raw value into meta file - moving logic closer to where it's needed giving TriggerImage more direct access to meta info
2023-09-16 00:02:59 -04:00
Andrey eaef8dfb09 only:rename 2023-09-15 23:59:13 -04:00
Matthew Kennedy bc637c4e6b rename 2jz -> toyota 3 tooth 2023-09-14 17:42:27 -04:00
Andrey 955f3cb9ca only: 3/0 cam real test 2023-09-14 08:34:23 -04:00
Andrey e5f7c9885c testability: bench test commands should have automated coverage using simulator #5562 2023-09-11 00:03:10 -04:00
Andrey e74edbe365 only:uint8 scaled test 2023-09-10 13:39:54 -04:00
Andrey 247a0a91b5 spelling is important 2023-09-09 19:54:57 -04:00
Andrey b5fd6ea044 spelling is important 2023-09-09 19:53:18 -04:00
rusefi 1d64003dd6 only:WrapAround62 goes to libfirmware 2023-08-30 23:47:26 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
Andrey 63295873b4 reducing/moving technical debt 2023-08-29 16:53:49 -04:00
Andrey d2f899e737 reducing/moving technical debt 2023-08-29 16:46:04 -04:00
rusefi 720ba01d04 proteus fails to start while powered by stim board #5545
only:proteus_f7
2023-08-29 00:46:21 -04:00
Andrey e9e0ef5a89 "rpmAcceleration" in TS doesn't go lower than 0 #5504
only: rpmAcceleration unit test
2023-08-09 04:53:00 -04:00
rusefillc 86a2d1e8e9 better output file name 2023-08-08 20:09:18 -04:00
rusefillc d77fb3bf24 "Single Tooth" renamed to "Half Moon", more proper "Single Tooth" crank trigger as a new trigger fix #5488 2023-08-06 00:46:33 -04:00
Andrey f3a5586e36 Custom Trigger Tooth with 1+0 causes endless loop fix #5471 2023-08-05 12:59:11 -04:00
Andrey 0787b4f4a0 Custom Trigger Tooth with 1+0 causes endless loop #5471
only:test
2023-08-05 12:44:16 -04:00
rusefillc 77ef4db8ab
Simplified VVT single tooth cam modes. (#5483)
* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-08-03 20:24:22 -04:00
rusefillc 450b3cfa92 lua lib 2023-07-31 00:36:20 -04:00
Andrey db2db5dcfc only:Vadim is asking for SyncEdge to be reflected on trigger images #5472 2023-07-29 14:12:10 -04:00
Matthew Kennedy a4fd161606 test lambda monitor response #75 2023-07-26 10:00:39 -04:00
rusefi 0099de49af ignition timing clamping settings 2023-07-22 00:07:15 -04:00
rusefi 2a5772374c ignition timing clamping settings
only:status quo
2023-07-21 23:45:03 -04:00
Andrey 350df9889d deadband for PPS #5420
only: just a test for now
2023-07-20 17:13:43 -04:00
Andrey 5155369bf6 launch control: Speed threshold depends on launch mode, also zero speed limit handling #5419 2023-07-20 16:26:33 -04:00