Matthew Kennedy
f169fbf615
trailing spark scheduling ( #2932 )
...
* enable bit
* implement trailing sparks
* test trailing spark
* it helps to call the correct function
* add pins
* gobblin ram
2021-07-09 08:37:46 -04:00
Matthew Kennedy
03c6db89f5
injector nonlinearity ( #2916 )
...
* nonlinear polynomial
* make existing tests work again
* test that nonlinearity is called
* s
* fix enum
* ui
* fix and test
* comment
* changeloggy
2021-07-07 23:46:44 -04:00
Matthew Kennedy
20937455a0
Fix pre sync timestamp copy ( #2892 )
...
* fix tests
* fix pre sync copy
* this fixes the issue
2021-07-01 18:58:28 -04:00
Matthew Kennedy
77f9c68733
not const getAirmass ( #2883 )
...
* not const
* test
2021-07-01 00:05:42 -04:00
Andrey
f567c764ab
giving unit tests a chance to use tdcMarkCallback
2021-06-25 01:31:53 -04:00
Andrey
feb56dad72
refactoring
2021-06-23 06:37:32 -04:00
Andrey
00c7b61387
Trigger: warning code on normal engine start up #669
2021-06-23 05:22:08 -04:00
Matthew Kennedy
de00c7fef7
Bandaid for 2735 ( #2788 )
...
* bandaid
* fix test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-02 12:02:52 +03:00
Matthew Kennedy
cc0547217c
Cranking defaults ( #2787 )
...
* defaults
* more
* cranking fuel
* cranking timing
* cranking time digits
* ugh these tests shouldn't depend on defaults
2021-06-02 08:21:36 +03:00
Matthew Kennedy
68ad12da53
convert a table to scaled_channel ( #2724 )
...
* scaled VE table
* use setTable
* efi::clear
* ratio -> struct
2021-05-20 20:00:32 -04:00
Matthew Kennedy
0c03a1cb4a
const airmass ( #2694 )
2021-05-14 07:17:22 -04:00
Matthew Kennedy
5f0791f9fb
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00
Matthew Kennedy
765895d913
Fuel pressure sensor checks ( #2449 )
...
* test for missing sensor
* test negative pressure delta checking logic
* test new hasSensor logic
2021-03-12 23:32:41 -05:00
rusefillc
9f90387d09
vBatt -> SensorType::vBatt fix #2260
2021-03-11 23:07:18 -05:00
Matthew Kennedy
55facb6613
use DECLARE_ENGINE_PTR for Engine class ( #2365 )
...
* engine cleanup
* do the cleanup
* one last spot
* expand_engine noop for firmware
* simulator
2021-02-16 16:58:54 -05:00
rusefi
3390bcf0ce
refactoring: more structure
2021-02-08 15:59:40 -05:00
Matthew Kennedy
8608df5450
flex fuel AFR interpolation ( #2190 )
...
* config
* implement flex
* secondary fuel default
* test
* test works
* rename
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Matthew Kennedy
add0dcd390
switch more map to read from sensor model ( #2162 )
...
* hook up map
* check for init
* switch some consumers
* that's the rest of them
* test
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 19:13:10 -05:00
Matthew Kennedy
a806053d52
round rpm instead of truncating ( #2023 )
...
* round rpm instead of truncating
* efiround is expensive
* Revert "efiround is expensive"
This reverts commit e5690f89e1b1988aacf5ced1f024d576465a7cd6.
* round is better than rintf
* testing
* it works now?!
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:11:57 -05:00
rusefillc
8540343d48
unit tests in clang #2012
2020-12-05 00:22:10 -05:00
Matthew Kennedy
0fa06e2e2a
compensate injector flow based on fuel pressure ( #1931 )
...
* injector compensation
* fix
* ui
* testability & comments
* hella testing
* debug channels
* enum value
* auto generated enums
* update comment
* oops too much
* update config fields
* handle failed pressure sensor
* build
* fix
* add some todos for the future
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
Matthew Kennedy
789926a61d
convert cranking defaults to mg ( #1921 )
...
* convert cranking defaults to mg
* fix tests
2020-11-03 14:12:26 -05:00
Matthew Kennedy
b8c2041467
Everything in lambda! ( #1893 )
...
* lambda
* default configs, fix build
* config, gauge, UI
* more digits
* change menu text
* fix that while I'm here
* doesn't need extra word
* todo note
* tests
* last test
* missed a config
* update java
* store target lambda
* more java
* format
* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Matthew Kennedy
6abc80e74c
convert mass -> duration later in the pipeline ( #1906 )
...
* cranking duration to mass
* implement
* units
* patch types
* suppress warning
* fix output channels
* add note about how to set it
2020-10-26 07:23:13 -04:00
Matthew Kennedy
eb2bc3201c
Selectable AFR axis override ( #1771 )
...
* add config fields
* config options
* new output channels
* dump out state to ts
* s
* implement override
* enums
* this test is no longer used
* test new behavior
* old
* comments
* impl
* unhide option
* fix
* tests
2020-09-08 17:15:18 -04:00
Matthew Kennedy
f5036a9f84
Add injector model class ( #1687 )
...
* stub injector model
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 05:22:25 -04:00
Matthew Kennedy
581fe1808f
tests
2020-08-10 22:11:25 -07:00
Matthew Kennedy
40c2fb8047
test cleanup
2020-07-28 14:42:02 -07:00
Matthew Kennedy
eea3f2cf36
fix tests
2020-07-28 14:27:34 -07:00
rusefillc
2e58d92fdb
Merge pull request #1606 from mck1117/reset-overlap
...
reset overlap counter on fuel reschedule
2020-07-20 23:51:34 -04:00
Matthew Kennedy
c0ea3f19b7
make private
2020-07-20 18:50:48 -07:00
Matthew Kennedy
faf9279402
Merge remote-tracking branch 'upstream/master' into export-all-logicdata
2020-07-20 18:48:54 -07:00
Matthew Kennedy
b40114f34f
test with fix
2020-07-20 18:47:08 -07:00
Matthew Kennedy
572c347ad7
compensate for bug
2020-07-20 13:21:15 -07:00
Matthew Kennedy
5c4e22fd16
auto export all logicdata
2020-07-20 13:12:21 -07:00
Matthew Kennedy
57de48ad59
impruv
2020-07-20 12:40:23 -07:00
rusefi
a6706b7d26
unit test framework improvements for smoother event execution
2020-07-20 14:25:32 -04:00
Matthew Kennedy
bac27ea8ea
Merge remote-tracking branch 'upstream/master' into test-1592
2020-07-20 10:54:18 -07:00
rusefi
117e98b753
unit test framework improvements for smoother event execution
2020-07-20 12:45:26 -04:00
rusefi
c4885dcc0e
unit test framework improvements for smoother event execution
2020-07-20 11:16:51 -04:00
Matthew Kennedy
8282bb127d
test
2020-07-20 03:29:43 -07:00
rusefi
e2c8e97aa0
logicdata into unit tests
2020-07-20 00:36:10 -04:00
rusefi
9c22ca7202
Injectors #1 and #5 stick open #1592
...
two bytes of progress
2020-07-19 13:54:47 -04:00
rusefi
eaff13ea1f
Injectors #1 and #5 stick open #1592
...
two bytes of progress
2020-07-19 13:32:17 -04:00
rusefi
5406a60e49
Injectors #1 and #5 stick open #1592
...
starting somewhere
2020-07-19 13:13:25 -04:00
rusefi
ec29fd9ca0
better folder structure
2020-07-19 12:57:05 -04:00