Commit Graph

1346 Commits

Author SHA1 Message Date
Matthew Kennedy 2be0c8c916 NB trigger decoder maintains sync through rapid speed changes while cranking 2025-05-05 22:53:54 -07:00
Matthew Kennedy 2fa765ed2a add trip odometer consumption test, fix the bug #589 2025-05-04 01:03:00 -07:00
Matthew Kennedy 3f78b5de3d include order/guards for happy builds 2025-03-17 01:49:39 -07:00
Matthew Kennedy 2cb2ed2a86
calculate spark timing last minute rather than storing it (#555)
* calculate spark timing last minute rather than storing it

* handle underdwell

* f2lz avoidance

* test friendlyness

* move test hook after the underdwell bailout
2025-03-11 19:35:18 -07:00
Matthew Kennedy 877b2da1bd
idle entry target ramp (#570)
* ramp target as you enter idle

* add idle threshold hysteresis

* make it optional

* test hysteresis behavior

* UI & changelog
2025-03-11 18:26:01 -07:00
Matthew Kennedy dd67fa58e7 move idle "capture" RPM math to getTargetRpm 2025-03-09 00:52:33 -08:00
Matthew Kennedy 442c75cc4c
Remove sensor chart (#568)
* delete sensor chart from firmware

* delete sensor sniffer UI
2025-03-07 03:28:29 -08:00
Matthew Kennedy 86019ef085 don't pass around a scheduler to all PWM, get it from engine 2025-03-02 12:31:30 -08:00
Matthew Kennedy d82f3260d1 implement underdwell protection 2025-03-01 16:50:23 -08:00
Matthew Kennedy 569eb72a70 disable fans when ignition is off 2025-02-25 15:47:11 -08:00
Matthew Kennedy 6f228a1222
Adjust fuel qty for mode at the last minute (#554) 2025-02-14 10:05:45 -08:00
Matthew Kennedy c932c55693 overdwell test with IgnitionContext instead of event 2025-02-13 23:18:30 -08:00
Matthew Kennedy 53aa7d55d2 fix nissan VQ test 2025-02-13 22:44:31 -08:00
Matthew Kennedy 2ebd882722
Ignition outputs use a mask like fuel (#553)
* remove skipped spark check

* this test no longer does anything

* ignition mask outputs

* tests

* extract function to calculate mask

* don't even store the mask
2025-02-13 20:31:09 -08:00
Matthew Kennedy ef9032bca4
Control injectors with a mask rather than pointers (#551)
* mostly implement

* tests

* tests

* tests

* properly handle single point injection

* fix tests

* fix tests

* scheduler

* format

* fix tests

* extract calculateInjectorOutputMask

* uncomment

* split injection just barely fits!

* provide a constructor so maybe mac is happy?

* don't bother storing the mask at all

* simplify

* make the pad bits predictable
2025-02-13 17:54:42 -08:00
Matthew Kennedy 98ef2f3f12 clearer conditions for stuck injector test 2025-02-12 12:03:34 -08:00
Matthew Kennedy 66ad2cf629 clearer conditions for stuck injector test 2025-02-12 11:59:42 -08:00
Matthew Kennedy 67d41ea65e put injection mass inside OneCylinder 2025-01-18 02:42:51 -08:00
Matthew Kennedy e516fdeb82 fix odd fire offset lookup 2025-01-18 02:19:34 -08:00
Matthew Kennedy 33da74605b odd fire test actually checks 2 cyl engine 2025-01-18 02:17:05 -08:00
Matthew Kennedy 7ff6ece889 use real cylinder number instead of mislabeled coil number 2025-01-18 02:08:07 -08:00
Matthew Kennedy 0e2709cd91 start refactoring towards OneCylinder 2025-01-18 01:03:44 -08:00
Matthew Kennedy 40458c9c9e look, 8 codes works too! 2025-01-11 11:30:28 -08:00
Matthew Kennedy bb24a9c350 3 codes works? 2025-01-11 11:26:19 -08:00
Matthew Kennedy 308f9577eb OBD2 multi frame: first frame 2025-01-11 11:08:47 -08:00
Matthew Kennedy 6305d442b8 x 2025-01-11 07:32:16 -08:00
Matthew Kennedy d62ae73974 stub 3x test 2025-01-11 07:31:36 -08:00
Matthew Kennedy 8664b0965b test setting DTCs 2025-01-10 22:14:19 -08:00
Matthew Kennedy 3cd92ce1b5 test OBD monitor status PID 2025-01-10 22:06:52 -08:00
Matthew Kennedy 345c5ee871 test obd2 PIDs 2025-01-10 21:11:24 -08:00
Matthew Kennedy d6adce803e stub obd2 test 2025-01-10 18:54:04 -08:00
Matthew Kennedy 63f0a311f1 dead code 2025-01-08 04:28:32 -08:00
Matthew Kennedy 34a1b07c44 test sensor raw value 2025-01-08 04:26:22 -08:00
Matthew Kennedy a8cd9f7297 test sensor double register 2025-01-08 04:26:10 -08:00
Matthew Kennedy 6f1fd3b198 test fuel pump force mode 2025-01-08 04:25:56 -08:00
Matthew Kennedy d280cf038a test fan broken clt 2025-01-08 04:25:48 -08:00
Matthew Kennedy 15055a737b vvt test 2025-01-08 04:05:04 -08:00
Matthew Kennedy 4a4988240a boost test coverage 2025-01-07 21:42:40 -08:00
Matthew Kennedy 56b20eb215 test new main relay sense logic 2025-01-07 21:26:42 -08:00
Matthew Kennedy f81dff184e enableOverdwellProtection 2025-01-02 22:04:56 -08:00
Matthew Kennedy 3ae703d9ce dead 2025-01-01 14:31:19 -08:00
Matthew Kennedy ce33ad7073 assertEqualsM 2025-01-01 14:22:53 -08:00
Matthew Kennedy f102b794f2 assertEqualsM 2025-01-01 14:05:32 -08:00
Matthew Kennedy aa8ecc485a rip out assertEqualsM4 2025-01-01 14:01:18 -08:00
Matthew Kennedy 468355c4ca assertEqualsM2 2025-01-01 13:56:43 -08:00
Matthew Kennedy 1fab064885 fix test 2024-12-29 02:01:55 -08:00
Matthew Kennedy 40a7fd732b deprecating EFI_ERROR_CODE 2024-12-28 14:49:27 -08:00
Matthew Kennedy 86701d157f fix test 2024-12-24 19:54:00 -08:00
Matthew Kennedy a727fbaf5d format 2024-12-24 19:51:58 -08:00
Matthew Kennedy 20962c08a5 tests 2024-12-24 19:39:43 -08:00