Commit Graph

1352 Commits

Author SHA1 Message Date
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
Andrey dabae98f16 launch control: Speed threshold depends on launch mode, also zero speed limit handling #5419
only: change zero setting handling
2023-07-20 16:26:11 -04:00
Andrey 3c090129e6 launch control: Speed threshold depends on launch mode, also zero speed limit handling #5419
only:TDD
2023-07-20 16:05:16 -04:00
Matthew Kennedy ba1b6c5cb9 lambda monitor test file 2023-07-18 14:11:59 -04:00
Andrey 8e76a82a26 only:last step of trigger_type_e enum refactoring 2023-07-13 19:30:54 -04:00
Andrey b8b9a3da07 only:helping lua scripts 2023-07-09 21:29:34 -04:00
rusefillc bf3b0d61d6 only:proteus_f7
lua lib fixes
2023-07-09 19:34:13 -04:00
Andrey 8d7794a265 only:kia CAN 2023-07-07 23:36:23 -04:00
Andrey 24763c4a62 only:kia CAN 2023-07-07 23:25:13 -04:00
Andrey fec4ffa6cb only:kia CAN 2023-07-07 21:12:41 -04:00
Matthew Kennedy 7f67ecd02d simplify adjustCrankPhase
(cherry picked from commit 7ae11160d9)
2023-06-28 21:49:51 -04:00
Matthew Kennedy 6b54916d12 real test of 12+1 (#177) 2023-06-28 21:17:04 -04:00
Matthew Kennedy e03bbd00aa explicit tests for batch and single point 2023-06-26 10:41:16 -04:00
Matthew Kennedy ae3ae86e75 fix (honestly gross) tests to work in two wire batch
(cherry picked from commit 01b4f1191a)
2023-06-25 00:25:11 -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 cd4c78745e only:Split ConfigGenerator around trigger_defines.txt #5051 2023-06-17 22:41:40 -04:00
Andrey 9207b2fd63 start button logic does not crank started for first X seconds since ECU boot fix #5324 2023-06-15 18:36:50 -04:00
rusefi 1a8cacf7c1 Dashpot for return-to-idle from coasting 2023-06-12 15:39:49 -04:00
Andrey 77c55b9f88 Dashpot for return-to-idle from coasting #5303
third step towards unit test
2023-06-11 18:42:58 -04:00
Andrey 926d113725 Dashpot for return-to-idle from coasting #5303
second step towards unit test
2023-06-11 18:09:36 -04:00
Andrey 2ae85de636 Dashpot for return-to-idle from coasting #5303
small step towards test
2023-06-11 18:04:23 -04:00
Matthew Kennedy b150b8702d implement temp sensor pulldown mode 2023-06-10 18:18:34 -04:00
andreika-git 2188ef45a9 more unit tests for trigger_input_adc 2023-06-06 23:59:52 +03:00
rusefillc 551e7d5b38 p from past 2023-06-05 11:44:56 -04:00
andreika-git 19be36d524 more unit-tests with RPM checks for trigger_input_adc 2023-06-02 07:27:37 -04:00
rusefi 99b4ea78d9 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefi 633274055b Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefi 1908896598 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefi 415b3d55df Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 01:45:53 -04:00
Andrey 965cdd466c nissan BCM 2023-05-31 23:25:33 -04:00
Andrey 0265582f28 setSparkSkipRatio limitation #5231 2023-05-25 18:52:19 -04:00
Andrey 1aa8e879dd setSparkSkipRatio limitation #5231 2023-05-25 15:17:07 -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
Matthew Kennedy 06cda6cfa4 add postState flag to airmass model calls #107
(cherry picked from commit b1b1ec7fdf)
2023-05-16 13:02:45 -04:00
andreika-git 7df63c03f6 boostCutPressureHyst impl+tests https://github.com/rusefi/rusefi/issues/4529 2023-05-05 17:28:34 -04:00
Matthew Kennedy 997f2bfb21 Test fix due to scaling change
(cherry picked from commit 99fbf7f01f)
2023-05-04 22:00:42 -04:00