Commit Graph

97 Commits

Author SHA1 Message Date
Matthew Kennedy b2af3637a2 simplify cylinder phasing (#3650) 2021-12-05 10:46:35 -05:00
rusefillc 9ce37314c0 Engine phase wrap around in log #3645
refactoring & docs
2021-12-02 17:06:20 -05:00
Matthew Kennedy 9bd8a19564 oh my god we've had no asserts (#3595) 2021-11-22 17:52:03 -05:00
Scott Smith 80091498a6 Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy 4e6b61234f yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy 047f62b2b9 remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -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
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
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
Matthew Kennedy 1a14c3cde7 no bins 2020-08-03 12:21:49 -07: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
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi bcec694eb1 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi 92d1842bd0 refactoring 2019-11-05 23:17:44 -05:00
rusEfi 92f371c121 new feature: check engine light to blink on trigger synchronization 2019-08-18 15:53:38 -04:00
rusefi f906098718 refactoring 2019-07-08 18:02:21 -04:00
rusefi 6244cda6b4 better method name and docs related to improved craking logic 2019-01-20 11:33:40 -05:00
rusefi c1509dd0b7 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 19:25:07 -05:00
rusefi 095d9d4417 #625 big step - no more engine dependency from TriggerShape 2018-12-25 22:47:29 -05:00
rusefi 42b68c6d1e docs 2018-10-13 09:24:41 -04:00
rusefi 92df53aec9 error codes 2018-09-10 22:10:55 -04:00
rusefi 60b3aa8e60 unique error codes #598 2018-07-25 23:03:04 -04:00
rusEfi 4ae468e7d3 per error code 2018-07-23 21:38:05 -04:00
rusefi f62f9563d3 error code into angle validation 2018-07-23 21:03:20 -04:00
andreika-git eb27c6b6e4 Impl. faster engine spin-up mode (alpha-version) (#567)
* Impl. faster engine spin-up mode (alpha-version)

* A comment for RPM_LOW_THRESHOLD

* Faster engine stop detection

* Safety check for instant RPM on spinning-up

* rusefi.xml

* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi 349aca993d extracting macro 2018-02-03 10:48:35 -05:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusEfi 9c8db36591 softer error handling 2017-12-03 18:17:59 -05:00
rusefi 66ce611bdb better state validation 2017-12-02 18:58:40 -05:00
rusefi fccac7b1b3 RPM refactoring 2017-07-06 17:26:32 -04:00
rusefi 18a3d18781 refactoring 2017-06-11 14:40:29 -04:00
rusefi 10fd879363 better error code names 2017-05-29 19:23:15 -04:00
rusefi 73c1f29cf9 better macro name 2017-05-15 23:33:22 -04:00
rusefi 4ce5c9dc43 validating firing order length 2017-03-23 22:01:10 -04:00
rusefi c2aa1e1f34 refactoring #370 2017-03-09 00:51:27 -05:00
rusefi 05b33d567e individual error codes for all errors 2017-03-05 08:50:19 -05:00
rusefi 42eea1ddfd progress #363 2017-03-01 22:18:25 -05:00
rusEfi 552c664a23 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi aa67c2643b auto-sync 2016-12-18 22:03:00 -05:00
rusEfi 69ea9dc168 auto-sync 2016-12-06 09:02:05 -05:00
rusEfi 2baaae64e7 auto-sync 2016-12-05 22:01:54 -05:00
rusEfi 9ef2c5f5a2 auto-sync 2016-11-25 14:03:06 -05:00
rusEfi e4bad0d9d0 auto-sync 2016-10-10 14:02:17 -04:00
rusEfi 1aa2787c93 auto-sync 2016-09-15 18:02:36 -04:00
rusEfi 6bdbacb5db auto-sync 2016-07-24 23:02:52 -04:00
rusEfi 6d77844e19 auto-sync 2016-07-01 01:01:34 -04:00
rusEfi 54adc4ccbc auto-sync 2016-07-01 00:02:20 -04:00
rusEfi 9c82ae85fe auto-sync 2016-01-15 00:01:42 -05:00