Commit Graph

245 Commits

Author SHA1 Message Date
Matthew Kennedy 8282bb127d test 2020-07-20 03:29:43 -07:00
Matthew Kennedy 8ef1c651e8 dedupe mode logic (#1596) 2020-07-11 08:05:35 -04:00
Matthew Kennedy 1bdc5fbaaa Switch fueling to new axes (#1574)
* switch tables

* missed one
2020-07-05 18:14: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 aba153b814 simplify cranking corrections (#1510) 2020-06-18 08:54:02 -04:00
Matthew Kennedy 531f1c63c7 fuel math simplifications (#1485)
* simplify

* fix

* tweak

* cleaning

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-17 17:15:04 -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 d0e5b8674f Integrate stft (#1475)
* code changes

* missed a spot

* update UI

* gauge name

* adjust gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
Matthew Kennedy 573d6d2d55 pull out std air charge math (#1397) 2020-05-05 08:01:40 -04:00
Matthew Kennedy 942403cec2 Fuel/ign correctino on new temp sensors (#1318)
* corrections

* test

* adv map

* tests

* cleanup

* lcd

* fsio

* unneeded

* more math

* last consumer

* cleanup

* fix kinetis
2020-04-18 18:45:30 -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
OrchardPerformance 95a681d80f Update to Matt's MAF code for VE table tuning. (#1295)
* Update rusefi_lib

* Update fuel_math.cpp

Updated Matt's MAF code to include fuel table

* fixed missing include

* Replace get_specs_displacement

* ve2Map corrected

* ve2Map fix 2

* Fix for missing TS table

* Corrected standard air charge

* Math fix, PW now good

Still have minimal response from the VE table

* rusefi.input correction

* Added extra comment

* Ease of reading update
2020-04-14 01:21:48 -04:00
Matthew Kennedy afc5f6c99b fix maf (#1287) 2020-04-12 15:52:29 -04:00
Matthew Kennedy 44bb09d1a4 yet more tps consumers (#1258)
* 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

* old tests

* kill dead stuff

* cleanup

* more

* fix

* test

* s

* fix signature

* fix test

* comment

* priming pulse

* remove mock tps

* remove more dead

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-05 09:11:25 -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
rusefi f929301d18 my take on useRunningMathForCranking 2020-02-18 10:47:39 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
Matthew Kennedy 8fd603dca9 Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 3b2d5c8c7f Missing dwell altogether in some corner cases #796
only additional live data here
2019-11-05 23:36:33 -05:00
rusefi 68db5ecdb1 progress towards #961 2019-11-04 22:52:37 -05:00
rusefi 7d73334b54 Revert "Revert "Performance improvement: call GetBaseFuel less (#979)""
This reverts commit 323904728d.
2019-10-16 23:02:24 -04:00
rusefi 323904728d Revert "Performance improvement: call GetBaseFuel less (#979)"
This reverts commit aa9ec543
2019-10-16 22:29:19 -04:00
Matthew Kennedy aa9ec543f4 Performance improvement: call GetBaseFuel less (#979)
* Remove extra calls to getInjectionDuration

* increase callback frequency
2019-10-16 22:13:10 -04:00
Matthew Kennedy 89ca9a0406 Merge remote-tracking branch 'upstream/master' into perf-tracing 2019-10-14 23:45:39 -07:00
rusefi cdf827a20a preparing for #961
better code style
2019-10-15 02:06:15 -04:00
Matthew Kennedy 97d848bb3e profile all the things 2019-10-13 13:14:08 -07:00
rusefi 2c8a2b61a5 preparation for #961
more unified access to pre-calculated value
2019-10-10 08:16:21 -04:00
rusefi a5f09ef378 preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:37:37 -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 8be592f3d4 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi f533617b29 LiveData progress: isChanking & hasEtbPedalPositionSensor 2019-08-31 17:07:21 -04:00
rusefi 6df2afface cranking fuel live data fix #911 2019-08-28 00:29:55 -04:00
rusefi a8f7a8965b cranking fuel live data #911 2019-08-26 23:41:04 -04: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 2c515f13a9 user is unable to start with zero fuel - at least showing a warning
https://rusefi.com/forum/viewtopic.php?p=33761#p33760
2019-07-06 20:45:47 -04:00
Matthew Kennedy 89f59db75f Fix tunerstudio ratio vs. percent (#838)
* fix ratio vs pct

* fix idle cranking clt position

* fix defaults

* fix typo

* fix baro corr gauge

* baro default

* fix degree symbols

* fix testFuelMap

* fix testPlainCrankingWithoutAdvancedFeatures

* test testFasterEngineSpinningUp
2019-06-13 09:05:22 -04:00
rusefi 81a68f59b7 input has sizes hard-coded #836 2019-06-10 15:45:18 -04:00
rusefi 998345ef9e unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusEfi 9d4f6522e2 better handling of weird TPS values 2019-05-04 10:56:09 -04:00
rusEfi 8c1c892907 better handling of weird TPS values 2019-05-04 10:54:26 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi f475fb1691 better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi 70f5d3e69c better conditional compilation 2019-01-31 11:57:15 -05:00
rusefi f1485cf8b4 #657 2019-01-28 01:25:23 -05:00
rusefi 53e8d10c55 refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi 4ed1ec7067 refactoring: method name consistency 2019-01-10 23:48:05 -05:00
rusefi 93b08dcc4c The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -05:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi 8851dfbfc8 better state validation 2018-09-01 09:12:33 -04:00
rusefi c4af060432 why does it happen?... 2018-08-31 21:03:20 -04:00
rusefi 2f95cd1e0d step towards more unique codes 2018-07-25 23:30:00 -04:00
rusEfi 4ae468e7d3 per error code 2018-07-23 21:38:05 -04:00
Matthew Kennedy c36991a5ed Coasting Fuel Cut Fixes (#596)
* config changes

* generated

* new logic for MAP coast cutoff

* typo

* fix unit test

* add short duration injection fix

* add f suffix to constant
2018-06-23 16:32:41 +03:00
rusefi 54e4834d8c refactoring: code style in method name 2018-06-12 05:14:19 -04:00
andreika-git 5ba5e680d6 Coasting Fuel Cut-off - Implementation (basic) (#585)
* Use getRpm() instead of rpmValue - needed for unit-tests

* Impl.

* Defaults

* Unit-tests
2018-03-22 13:37:34 -04:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusEfi ba1b77e987 removing dead code 2018-01-01 19:05:20 -05:00
rusEfi 8966b3b630 better error check 2018-01-01 19:04:42 -05:00
rusEfi 2b404b8ab1 better error handling 2018-01-01 18:59:50 -05:00
andreika-git a2675b9466 Fuel consumption impl. (alpha) (#526) 2017-12-31 19:25:59 -05:00
andreika-git d466d9dac9 Better OBD2 support (#515) 2017-12-17 21:10:02 -05:00
rusefi 4594be1555 docs 2017-12-12 17:40:48 -05:00
rusefi 6362cf13ec better state validation 2017-12-06 21:43:22 -05:00
rusEfi d5a0c0d062 better state validation 2017-12-03 15:30:42 -05:00
rusefi d32e06865b better field name 2017-11-06 22:29:39 -05:00
rusefi 43f11c4425 #487 2017-11-06 19:00:30 -05:00
rusefi 2a27c706ea #487
refactoring - proper variable name
2017-11-06 18:46:37 -05:00
andreika-git 920520bcfb Implement postCrankingFuelCorrection (#485) 2017-11-02 18:10:42 -04:00
rusefi 3fdc29873b RPM refactoring 2017-07-06 08:49:55 -04:00
rusefi 87d213f9b2 reducing code duplication 2017-06-11 15:27:23 -04:00
rusefi 9c32e85d86 better error handling 2017-05-29 11:31:07 -04:00
rusefi 830e96e1f5 better location for global fuel correction 2017-05-24 23:48:03 -04:00
rusefi 73afcd2a8b typo & error code name 2017-05-24 23:42:27 -04:00
rusefi f8e592f454 better macro name 2017-05-15 23:28:49 -04:00
rusefi d406a7cb36 todo 2017-05-07 14:09:40 -04:00
rusEfi 7cdbf2bb03 refactoring: better code names 2017-04-19 22:03:14 -04:00
rusefi bfd36ce1da better startup handling 2017-04-19 07:58:22 -04:00
rusefi 8bd0480f20 better startup handling 2017-04-13 10:43:27 -04:00
rusefi d527dea28d better initialization handling 2017-04-13 08:28:41 -04:00
rusefi 46307b1a99 better constraint validation & refacoting 2017-04-12 23:25:58 -04:00
rusefi e6d4e4a94b better constraint validation 2017-04-12 22:59:59 -04:00
rusefi f2ea11f94f bugfix in constraint validation 2017-04-12 21:36:57 -04:00
rusefi c72fe93280 cool how git commits not latest version 2017-04-12 20:43:08 -04:00
rusefi aae61ab429 better constraint validation 2017-04-12 20:38:53 -04:00
rusefi a3b13364da better corner case logging, also refactoring 2017-04-12 19:58:29 -04:00
rusefi e76c6e251b better constraint validation 2017-04-12 18:38:18 -04:00
rusefi c516a54dd3 refactoring: removing unused parameter 2017-03-25 21:03:18 -04:00
rusefi c2aa1e1f34 refactoring #370 2017-03-09 00:51:27 -05:00
rusefi 12a6313d68 refactoring - extracting sensors storage class 2017-03-07 02:24:57 -05:00
rusefi d1aac11cf9 #348 refactoring 2017-03-07 01:54:34 -05:00
rusefi 45b6b34d60 #348 2017-03-07 01:37:07 -05:00
rusefi 1f70712a70 #368 progress 2017-03-07 01:28:26 -05:00
rusEfi 066fdd8f04 auto-sync 2017-01-22 17:03:31 -05:00
rusEfi 6998b8357c auto-sync 2017-01-05 21:12:06 -05:00
rusEfi 552c664a23 auto-sync 2017-01-03 06:05:22 -05:00