Matthew Kennedy
047f62b2b9
remove deprecated getEngineLoadT ( #2676 )
...
* remove
* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy
76f2f063d2
Maf in sensor model ( #2672 )
...
* init
* consumers
* hasMafSensor
* consumers
* remove
* remove
* s
* guard
* tiny bit of ram
* ram
2021-05-09 20:59:06 -04:00
Matthew Kennedy
737ee444b8
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Andrey G
7da6b4fa67
use cylinders_count_t in loops through cylinders ( #2563 )
...
to supress signed vs usigned warnings
2021-04-18 08:58:56 -04:00
Andrey G
a0053d5845
hip9011 and friends ( #2527 )
...
* engine math: extrant getFiringOrderTable for reuse
* engine math: getNextFiringCylinderId helper
* introduce knock_logic: first member is getCylinderKnockBank()
moved from software_knock.cpp
* hip9011: support two inputs/banks
* fix CI
* Board Subaru EG33: populated with TPIC8101 with Advanced mode
* hip9011: test communication in advanced mode
* hip9011: handle situation when chip is already in advanced mode
* Board Subaru EG33: cylinder to knock bank mapping
* hip9011: count spi transactions in advansed mode too
* hip9011: reset incalid responce counter after chip initialization
* hip9011: make debug output more structured
2021-04-04 18:13:21 -04:00
slowriot
9a8c2516ee
Add two new V8 firing orders ( #2423 )
...
* fix typos, spelling
* add two V8 firing orders
* use the available number of CPU cores, not just 4
* add new firing orders to config
* updating generated files to include new v8 firing orders
* reverting update of auto-generated files
* correct firing order labels for new firing orders
2021-03-05 19:28:17 -05:00
Matthew Kennedy
4d080c4e86
try rpm calculator timer ( #2053 )
...
* add api
* rpm calculator
* fix fsio
* fix float
* remove wrong comment
* fix timer
* clang didn't like this
* oops
* format
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 18:56:34 -05:00
Matthew Kennedy
dbebc353a2
remove unused msg parameter ( #2360 )
...
* dead parameter
* last few
2021-02-16 09:32:16 -05:00
Andrey G
052e2e558b
Supress annoing unused warnings ( #2216 )
2021-01-11 08:49:20 -05:00
Matthew Kennedy
c870215c46
part of 2217 which may fix it alone ( #2220 )
2021-01-11 08:01:54 -05:00
Matthew Kennedy
3daa7d4d9a
Start support for multi-bank closed loop fueling ( #2184 )
...
* cfg
* cell
* N banks
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-10 08:10:49 -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
91a549736f
fix ( #2109 )
2020-12-20 19:31:14 -05:00
Matthew Kennedy
ba1ba1452d
second lambda (x-series CAN only, for now) ( #2048 )
...
* add sensor
* second sensor
* switch sensor name
* gobblin up your memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 20:26:23 -05:00
rusefillc
8d6255b1e2
Revert "switch rpm calculator to use timer class ( #2005 )"
...
This reverts most of 622021e799
commit.
2020-12-06 18:05:53 -05:00
Matthew Kennedy
622021e799
switch rpm calculator to use timer class ( #2005 )
...
* add api
* rpm calculator
* fix fsio
* fix float
* remove wrong comment
* fix timer
* clang didn't like this
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
rusefi
93160c6abb
LM_ALPHA_N_2 rename
2020-11-27 15:44:31 -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
4a1b1b6bad
fix closed loop fuel ( #1797 )
...
* fix
* add a test
* signature
2020-09-19 03:44:01 -04:00
Matthew Kennedy
8079e5f292
scale tables using type system ( #1776 )
...
* store scale in the type
* efi ratio
* boost control scaling
* fix boost tests
2020-09-10 18:44:10 -04:00
Matthew Kennedy
fc02c2bdf4
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00
rusefi
c476cd3b95
refactoring
2020-09-03 19:29:15 -04:00
Matthew Kennedy
bad69c812e
move lambda in to sensor model ( #1736 )
...
* lambda sens
* fix init
* fix
* a test for good measure
* he's climbin in your windows, snatchin you ram up
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -04:00
rusefi
470a9f5a5a
VVT support for VAG trigger #883
2020-08-25 12:45:18 -04:00
rusefi
7d53f5859d
VVT support for VAG trigger #883
2020-08-25 00:59:07 -04:00
Matthew Kennedy
ad42a17207
Configurable stoichiometric ratio ( #1710 )
...
* configurable stoich ratio
* afr table always in gas afr
* default
* typo
* use defined ratio
* do it in config too
* missed a spot
* oops wrong one
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 19:43:30 -04:00
Matthew Kennedy
1a14c3cde7
no bins
2020-08-03 12:21:49 -07:00
Matthew Kennedy
7009c82993
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-31 14:56:29 -07:00
Matthew Kennedy
dbad10a253
remove
2020-07-29 01:35:17 -07:00
Matthew Kennedy
ea487327e1
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-28 20:25:16 -07:00
Matthew Kennedy
2bad7ed180
deprecate
2020-07-28 12:13:55 -07:00
Matthew Kennedy
eda3fd020a
alphan
2020-07-25 01:14:35 -07:00
rusefillc
a50d382a47
Merge pull request #1635 from mck1117/extract-sd
...
Extract speed density in to an AirmassModel
2020-07-24 23:07:28 -04:00
Matthew Kennedy
73c0582908
move speed density
2020-07-24 19:30:12 -07:00
Matthew Kennedy
d19e2b2499
refacto
2020-07-24 18:26:24 -07:00
Matthew Kennedy
b1747ea48b
goodbye plain maf
2020-07-23 02:46:45 -07:00
Matthew Kennedy
7940b84778
start refactor
2020-07-22 13:11:07 -07:00
Matthew Kennedy
5fce27da8b
Merge remote-tracking branch 'upstream/master' into reset-overlap
2020-07-19 13:52:45 -07:00
rusefi
26f85c4e11
better unit test logging
2020-07-19 14:58:46 -04:00
Matthew Kennedy
c21b60eeb8
add reset
2020-07-14 23:54:41 -07:00
Matthew Kennedy
a79153bbea
correct batch fuel cylinder pairing ( #1595 )
...
* correct batch fuel cylinder pairing
* param
* only change behavior on two wire batch
* Add tests for two wire batch & sequential
* improve testing a little bit
* comments
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-13 14:46:55 -04:00
Matthew Kennedy
c60b425ef0
plumb new load channels ( #1573 )
...
* wire up new channels
* add deprecation comment
* add gauges
* these tables are indeed used in those modes
* simplify
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-05 16:25:19 -04:00
Matthew Kennedy
cf624a7ab1
support 1-3-2 firing order ( #1537 )
...
* support 1-3-2
* oops
* correct TS
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-26 09:07:43 -04:00
Matthew Kennedy
2525a9a22c
Factor out airmass logic ( #1483 )
...
* refactor
* extract more airmass
* rename, fix tests
2020-06-06 07:25:19 -04:00
Matthew Kennedy
9ecb0a4e55
refactor ( #1481 )
2020-06-03 21:12:12 -04:00
Matthew Kennedy
38cb254de3
remove maf2map mode ( #1474 )
...
* remove
* remove fully
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 14:06:18 -04:00
rusefi
5d39e3e088
partial rollback
2020-05-23 19:17:15 -04:00
rusefi
6f5592ed2a
partial rollback
2020-05-23 18:11:04 -04:00
rusefi
44b4c4bf25
partial rollback
2020-05-23 18:01:40 -04:00
rusefi
d75a50fde5
partial rollback
2020-05-23 18:00:20 -04:00
Matthew Kennedy
a2313a853c
switch some firmware warnings to errors ( #1465 )
...
* warnings as errors
* throw instead of exit
* test massaging
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
rusefi
4015c600e9
MRE pre-sets
2020-05-21 20:44:14 -04:00
rusefi
a390ec744e
no comments
2020-05-21 18:28:35 -04:00
Matthew Kennedy
424a86be7b
short term fuel trim: part 2 ( #1405 )
...
* add tooltip
* add other direction to deadband
* add impl
* test partitioning
* makefile
* wrong comment
* fix include
2020-05-07 08:52:32 -04:00
Matthew Kennedy
55159cae44
short term fuel trim: part 1 ( #1402 )
...
* add cell
* add stft cell tests
* add bit
* minimally generate
* config defaults
2020-05-06 21:00:40 -04:00
Matthew Kennedy
10903c4659
remove "plain MAP" mode ( #1398 )
...
* consumers
* enums, input, config
* java
* default config cleanup
2020-05-05 15:04:55 -04:00
rusefi
65fde14800
Add firing order fix #1385
2020-04-29 16:46:59 -04:00
Matthew Kennedy
1397a718a9
improve tcharge error handling ( #1328 )
2020-04-19 15:02:40 -04:00
Matthew Kennedy
83592f0dff
New clt consumers part 1 ( #1301 )
...
* idle
* CLT test prep
* idle target
* header
* air interpolate
* ancient comment
* fuel cut
* fuel cut, idle tests
* cleanup
2020-04-15 09:48:17 -04:00
Matthew Kennedy
606a7fff0d
More TPS consumers: VE lookup ( #1256 )
...
* advance_map
* tests
* unneeded
* idle
* use driver intent instead
* and obd and lcd
* engine load
* ve lookup
* unused
* oops we needed that
* oops needed that too
* mocking
* test mocks
* oops
* helps to use the right sensor
* and cylinder cleanup
* fuel math
* typo
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-04 08:41:09 -04:00
Matthew Kennedy
0ac3e06149
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy
a2a5b40ced
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
Matthew Kennedy
fa8553b00d
Stricter compile options ( #1132 )
...
* stricter
* don't warn on that one
* this code was dead
2020-02-08 08:05:40 -03:00
rusefi
a222ecdfe1
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
63e3e84e08
happy new year
2020-01-08 00:02:40 -05:00
rusefi
4605c64a07
that's not a worth a file
2019-12-24 00:03:53 -05:00
rusefi
f47a1a16d1
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
bcec694eb1
just a trivial massive rename: TriggerState > TriggerWaveform
2019-12-08 01:09:39 -05:00
rusefi
07b7b62bca
refactoring
2019-12-02 23:08:18 -05:00
rusefi
c5e60a7f93
improving API?
2019-11-24 00:15:44 -05:00
Matthew Kennedy
0a7535fb1f
Use templated array references ( #1027 )
...
* update defs
* consumers, use default params
* setArrayValues in tests
* floats
* test fixing
2019-11-22 23:27:24 -05:00
Matthew Kennedy
8fd603dca9
Merge remote-tracking branch 'origin/master' into perf-tracing
2019-11-19 16:28:58 -08:00
rusefi
12f65748b3
typo
2019-11-17 09:18:43 -05:00
rusefi
17a2847424
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-06 18:26:50 -05:00
rusefi
92d1842bd0
refactoring
2019-11-05 23:17:44 -05:00
rusefi
359f7c437b
skeleton & docs ( #995 )
...
* Documentation additions and clarifications.
Added config/boards/skeleton/ as an example and starting point for
board-specific support.
* Describe where the generated files came from.
* Minor rewording
* Delete mistakenly added emacs backups
* Added an overall description and build notes
2019-11-03 08:41:14 -05:00
rusefi
be9a67e67e
IM_TWO_COILS
2019-10-27 16:19:59 -04:00
rusefi
a8a0bc007a
docs
2019-10-26 21:53:22 -04:00
Matthew Kennedy
97d848bb3e
profile all the things
2019-10-13 13:14:08 -07:00
rusefi
9776d3c57d
better handling of corner case
2019-10-10 07:07:59 -04:00
rusefi
15ae9b1580
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
rusefi
46e1ff671a
refactoring: better field name
2019-10-08 00:54:19 -04:00
rusefi
9a961fd0c2
do not let "Use fixed baro corr from MAP" kill VE fix #960
2019-09-29 09:58:29 -04:00
rusefi
7d68b3d829
firing order 1-2-7-8-4-5-6-3
2019-09-28 10:25:57 -04:00
rusefi
0a92693729
Most important feature: VAG W12 firing order
2019-09-14 14:47:22 -04:00
rusefi
8be592f3d4
Live Data progress
2019-09-01 13:56:46 -04:00
rusefi
de813b5f2c
unit tests code coverage #653
...
one day I will migrate rusEfi to java
2019-08-25 13:42:07 -04:00
rusefi
d861b1af90
unit tests code coverage #653
...
reducing technical debt just a little
2019-08-25 10:19:01 -04:00
rusefi
3ae955b3e5
reducing unit test noise
2019-08-25 02:01:09 -04:00
rusefi
91bcd035af
reducing unit test noise
2019-08-25 01:15:18 -04:00
rusEfi
92f371c121
new feature: check engine light to blink on trigger synchronization
2019-08-18 15:53:38 -04:00
rusefi
6c45dfbc50
new 4 cylinder firing order!
2019-08-15 19:36:16 -04:00
rusefi
f6971c2bea
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
refactoring to begin with, zero logic change
2019-08-08 00:19:09 -04:00
Matthew Kennedy
e4a0a0ae91
Fix some maf logic ( #880 )
...
* fix maf
* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
Matthew Kennedy
0b52f5b542
Template-ize bin/value length for interpolation ( #878 )
...
* update consumers
* tests
* whitespace
* format
2019-07-09 21:16:36 +03:00
rusefi
f906098718
refactoring
2019-07-08 18:02:21 -04:00
rusefi
e309e223aa
Refactoring: OS access should be explicit #867
2019-07-04 03:57:21 -04:00
rusefi
777eb532dc
Refactoring: OS access should be explicit #867
2019-07-03 21:48:04 -04:00
rusefi
c21e4c2efa
Refactoring: OS access should be explicit #867
2019-07-03 21:01:48 -04:00
rusefi
d8a64f1cce
fixing build
2019-06-19 23:32:09 -04:00