Commit Graph

404 Commits

Author SHA1 Message Date
rusefi e46681f552 VVT support for VAG trigger #883 2020-08-26 23:35:11 -04:00
rusefi bdbee0d38b VVT support for VAG trigger #883 2020-08-24 02:01:50 -04:00
rusefi 0f9e8bf83e VVT support for VAG trigger #883 2020-08-24 01:21:42 -04:00
Matthew Kennedy ff12321ba0 inject fuel & injector models so they can be mocked (#1697)
* stub injector model

* tests

* inject fuel/injector models

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 17:03:59 -04:00
rusefi 4bbb5b8762 trigger and VSS hw integrated testing #1668 2020-08-08 11:25:17 -04:00
Matthew Kennedy 78ca42ed66 fwd decl 2020-07-28 11:43:54 -07:00
Matthew Kennedy 372bd05a36 didn't need that 2020-07-26 20:46:23 -07:00
Matthew Kennedy bd31eea73a add mock airmass mode 2020-07-26 20:33:18 -07:00
Matthew Kennedy b38c2e3863 put wall wetting inside 2020-07-20 00:04:05 -07:00
rusefi 0847dc4683 useFSIO6ForRevLimiter 2020-06-01 09:09:55 -04:00
rusefi 45c2c49a19 [Feature Request] Transmission Control #1454 2020-05-29 23:05:16 -04:00
Matthew Kennedy 573d6d2d55 pull out std air charge math (#1397) 2020-05-05 08:01:40 -04:00
Matthew Kennedy 39c84378eb don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
Matthew Kennedy c9d43283c2 initialize etbControllers (#1338) 2020-04-21 08:18:32 -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 45f5afe871 Remove old monitoring timestamps (#1217)
* remove monitoring timestamps

* adv map

* fuel calc

* map avg

* printing

* spark logic

* hip 9011

* new traces

* s

* missed a few
2020-03-24 20:19:19 -04:00
rusefi 42834ba5ec launch control #203
somewhat questionable code
2020-03-23 23:20:54 -04:00
rusefi e58f00692e start/stop progress 2020-03-23 10:32:41 -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 9bd796ab6b trigger refactoring 2020-01-26 12:02:54 -05:00
rusefi 23631b5970 trigger refactoring 2020-01-26 06:12:01 -05:00
rusefi dfa8d9ccc9 refactoring trigger 2020-01-26 03:33:45 -05:00
rusefi c7875876e5 refactoring - de-coupling trigger 2020-01-22 13:25:35 -05:00
rusefi f6ce9397db refactoring 2020-01-22 01:22:44 -05:00
rusefi 63e3e84e08 happy new year 2020-01-08 00:02:40 -05:00
rusefi 9ce2a4bb32 refactoring 2019-12-23 21:58:06 -05:00
rusefi 0e231dd035 Revert "couple of dead lines"
This reverts commit dc20ee1d
2019-12-23 21:55:08 -05:00
rusefi dc20ee1da1 couple of dead lines 2019-12-23 21:44:38 -05:00
rusefi cf0b13041f random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS 2019-12-21 21:11:09 -05:00
rusefi 3ed388d1ad refactoring & fixing build 2019-12-21 20:43:11 -05:00
rusefi 27f617686b progress towards ETB controller mocking 2019-12-13 13:52:34 -05:00
rusefi 2c296c0f18 etbActualCount logic to handle the scenario where only one ETB is present 2019-12-13 12:50:34 -05:00
rusefi bcec694eb1 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi a5ee6b13d5 Refactor Trigger System #635
injecting callback via parameters instead of nasty "bool isInitializingTrigger" field
2019-12-06 01:57:11 -05:00
rusefi 5a299fcd9c refactoring - updating name according to new reality 2019-12-03 14:39:11 -05:00
rusefi 5c40bb4628 #490 2019-12-03 00:29:12 -05:00
rusefi 18bb121cbe aux valves unit test 2019-11-23 22:55:21 -05:00
rusefi af3118fd42 making progres on angle-based scheduling 2019-11-23 20:36:40 -05:00
rusefi 4cebc85cbf refactoring 2019-11-20 01:35:08 -05:00
rusefi 80ef79eded this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
Matthew Kennedy 6f3bfcb099 fix wwae (#980) 2019-10-17 00:06:54 -04: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
rusefi 415de92543 something is over-complicated here? looks like two classes should become one? 2019-10-08 02:35:21 -04:00
rusefi 54fe92e534 really not clear what is the best place for these classes 2019-10-08 02:13:52 -04:00
rusefi 74c8b59e44 typo & better field name 2019-10-08 01:36:03 -04:00
rusEfi 4c39a207a9 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusefi 0b5a49392f refactoring 2019-09-20 00:17:00 -04:00
rusefi 50e0887c96 Delayed A/C compressor switch #922 2019-09-08 21:05:03 -04:00
rusefi dfeac28299 current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :( 2019-08-08 22:33:52 -04:00
rusefi eef4fbde9b fixing build & taking a safer route 2019-08-08 22:12:51 -04:00
rusefi 6043c93372 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -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
rusefi c8e3378ff7 Annotations in C++ code to produce formulas in rusEfi console #807
typo & refactoring: splitting class
2019-07-12 23:15:52 -04:00
rusefi 3b670a4107 Annotations in C++ code to produce formulas in rusEfi console #807
refactoring wall wetting
2019-07-12 22:34:38 -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
rusefi 6a002beb8f refactoring 2019-06-10 11:17:36 -04:00
Matthew Kennedy 515ab03688 const, explicit, and override (#831)
* const, explicit, and override

* more const

* more const

* missed a spot
2019-06-08 09:51:36 -04:00
rusefi d6c6282819 refactoring 2019-05-27 19:05:59 -04:00
rusefi 8575e2f4d2 refactoring 2019-05-27 18:58:43 -04:00
rusefi 7750810362 refactoring: splitting huge header 2019-05-27 18:50:23 -04:00
rusefi 998345ef9e unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi c52e5aa465 refactoring: better variable names 2019-05-27 11:17:28 -04:00
rusefi 91c404b353 FEATURE REQ: aux temperature inputs #332 2019-05-09 19:39:21 -04:00
rusefi 8cbac692ad Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
first steps of scheduling metric
2019-05-07 17:22:26 -04:00
rusefi cbea181183 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
refactoring only
2019-05-07 16:45:29 -04:00
rusefi b34bdf5bcb docs 2019-05-02 17:52:48 -04:00
rusefi ea86d987c8 PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi 96bcd0f3a7 Revert "Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656""
This reverts commit bba5f7f9e3.
2019-04-15 21:37:54 -04:00
rusefi 3732eedbf0 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:09:43 -04:00
rusefi 7c7889cb71 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:42 -04:00
rusefi bba5f7f9e3 Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656"
This reverts commit 05f6aabe
2019-04-15 20:42:22 -04:00
rusefi 05f6aabe32 The Big Refactoring of 2019: configuration version should not be a global variable fix #656 2019-04-15 20:27:19 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi e43ae3092d random progress 2019-03-14 13:28:51 -04:00
rusefi 4fa48c0ca7 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi db9a99b0c5 #656 global is not great 2019-01-28 02:29:13 -05:00
rusefi 57c6b75e81 #657 pulling global access down 2019-01-28 00:44:30 -05:00
rusefi aba0f44df5 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi c0f4208f73 refactoring: reducing header tree hell 2019-01-20 23:38:41 -05:00
rusefi 21e7bc2988 refactoring: reducing header tree hell 2019-01-20 23:25:39 -05:00
rusefi f487b9363c I like C++11 :) 2019-01-19 22:31:55 -05:00
rusefi 8beae89bcb FSIO testability and test-driven development 2019-01-19 22:09:37 -05:00
rusefi 35ed0fc2a3 better fields location, better initialization logic 2019-01-19 21:10:58 -05:00
rusefi d4443164e8 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:51:09 -05:00
rusefi 86a0d67d70 learning C++ 2019-01-15 20:24:36 -05:00
rusefi c581ea229c The Big Refactoring of 2019: configuration version should not be a global variable #656
making a global not global
2019-01-14 12:21:26 -05:00
rusefi be7df42f43 Trigger: Question: something strange trigger errors #662
refactoring towards an improvement
2019-01-14 10:58:38 -05:00
rusefi 479edff460 Trigger: Question: something strange trigger errors #662
hopefully CUSTOM_ERR_START_STACK fix
2019-01-14 08:57:08 -05:00
rusefi 9d1292715b enjoying C++11 2019-01-13 23:44:26 -05:00
rusefi 43735bffa0 enjoying C++11 2019-01-13 23:25:15 -05:00
rusefi b76c015581 Question: something strange trigger errors #662
unit test progress
2019-01-12 21:36:50 -05:00
rusefi 61b2592c39 field name typo 2019-01-12 14:19:21 -05:00
rusefi 937b78718e warning code refactoring related to
Question: something strange trigger errors #662
2019-01-11 09:58:48 -05:00
rusefi 7e7d8ef75c The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 01:07:50 -05:00
rusefi 8bfb0925e1 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 00:53:54 -05:00
rusefi a1d834130e FSIO to stop engine if things are REALLY bad - user-configurable and disabled by default obviously 2019-01-05 23:48:37 -05:00
rusefi 5bac3f799c refactoring around "stopEngine" logic 2019-01-05 23:33:04 -05:00
rusefi daeaa925f2 refacoting: making code more consistent 2019-01-05 00:57:09 -05:00
rusefi 9afe619652 making either Matt or compiler or both happier 2019-01-05 00:11:17 -05:00
rusefi 62fae3a763 #625 2018-12-25 21:18:14 -05:00
rusefi bfe9d4f79b CJ125 unit-tests coverage #617 2018-11-03 09:44:34 -04:00
andreika-git 3001f2837d AirFlow-interpolated tCharge Mode (#612)
* Add vars & enums

* updateTChargeK()

* limitRateOfChange()

* Impl. AirFlow-interpolated tCharge mode

* Update tsOutputChannels: tCharge & airFlow

* Set default config params

* Unit-tests

* Fix tChargeMode_e
2018-09-29 12:16:36 -04:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi b43d5f42db docs 2018-08-29 07:43:21 -04:00
rusefi 7523f12194 #600 2018-07-29 18:02:37 -04:00
rusefi 86fd727aed better field name 2018-07-28 14:15:42 -04:00
rusefi 1af16c58dd #598 2018-07-24 20:40:44 -04:00
rusefi 0f486242dc docs & constraint 2018-07-24 20:22:16 -04:00
rusefi 3f850ea35b better field name 2018-05-08 13:33:49 -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 273278b539 #569 2018-03-18 12:15:51 -04:00
rusefi 034156851c refactoring 2018-02-03 20:43:31 -05:00
rusefi a8ed61c277 reducing coupling between trigger emulation and FSIO 2018-02-03 11:42:50 -05:00
rusefi 349aca993d extracting macro 2018-02-03 10:48:35 -05:00
rusefi c16e187306 #492 2018-01-17 19:18:48 -05:00
rusEfi bffdfee3ce bixing build 2017-12-31 20:13:04 -05:00
andreika-git a2675b9466 Fuel consumption impl. (alpha) (#526) 2017-12-31 19:25:59 -05:00
rusefi e44ea82d1b #490 2017-11-26 22:30:37 -05:00
rusefi 69adc7f817 #498 2017-11-20 15:01:48 -05:00
Matthew Kennedy 8a5036f9bf Implement oil pressure sensor (#491)
* code changes

* config changes
2017-11-15 14:30:13 -05:00
rusefi d32e06865b better field name 2017-11-06 22:29:39 -05:00
rusEfi 1b7ffd040b minor etb 2017-09-17 22:05:03 -04:00
rusefi 5a51e0e1bb #442 2017-08-31 07:53:41 -04:00
rusefi 1d6fb71b91 #473 2017-08-17 09:10:22 -04:00
rusefi ebae6041e6 TCU 2017-08-03 22:30:47 -04:00
rusefi c81e7a5bae #413 2017-07-26 20:27:08 -04:00
rusefi 9b4333bb88 FSIO-based timing correction 2017-07-25 20:37:46 -04:00
rusefi bcceaeaf9b refactoring: better name 2017-06-26 09:14:31 +03:00
andreika-git d3895fd4c1 Fsio progress (#449)
* gen_config.bat

* FSIO: fuelPump & mainRelay progress

* typo
2017-06-25 08:35:46 +03:00
rusefi d8f7b61d63 better class name 2017-05-24 07:57:58 -04:00
rusefi bdf977a511 #426 2017-05-24 07:35:44 -04:00
rusefi 36fb5d4037 better field name 2017-05-21 23:17:08 -04:00
rusefi 73c1f29cf9 better macro name 2017-05-15 23:33:22 -04:00
rusefi d99097c0fe avoiding a warning 2017-05-15 22:02:36 -04:00
rusefi a746bae8ce remove unused 2017-05-15 21:25:32 -04:00
rusefi a60ba90abd #415 2017-05-15 05:08:17 -04:00
rusefi 51bc8ef09a #412 2017-05-11 08:32:08 -04:00
rusefi a97994cdb6 telemetry dreams 2017-05-04 17:03:23 -04:00
rusefi 12b9480a97 better field name 2017-05-02 18:15:19 -04:00
rusefi 1b0ae3d4cb telemetry dreams 2017-05-01 22:33:20 -04:00
rusefi da6ef11e8f improving internal consistency validation 2017-03-19 17:54:03 -04:00
rusefi 12a6313d68 refactoring - extracting sensors storage class 2017-03-07 02:24:57 -05:00
rusefi 32ed6ab0b1 #348 refactoring 2017-03-07 02:01:17 -05:00
rusefi 42eea1ddfd progress #363 2017-03-01 22:18:25 -05:00
rusefi ff02cefd10 usability: better error handling 2017-02-24 19:20:33 -05:00
rusEfi 61353ca04b auto-sync 2017-02-09 22:02:07 -05:00
rusEfi 0f070ea5e9 auto-sync 2017-02-09 12:03:46 -05:00