Commit Graph

612 Commits

Author SHA1 Message Date
rusefillc a1776d176d better code guard? 2023-05-24 18:48:54 -04:00
rusefillc 777bb4ee51 better code guard? 2023-05-24 10:16:14 -04:00
Matthew Kennedy 73ed1afd06 mockable throttle model
(cherry picked from commit 57263be2fe2886d7a3d4116764396b4b5c24dc49)
2023-05-12 16:16:00 -04:00
Matthew Kennedy 8965776203 stub TIP sensor
(cherry picked from commit 89d66d4abd9bd0e1fb1b49e73ebf9065f9356a71)
2023-05-08 00:26:36 -04:00
Matthew Kennedy fea92524e4 more log fields cleanup, lots of duplicates around fuel logic #98
(cherry picked from commit a8fef3634202c721f4dac12e7612444b7936cdc0)
2023-05-05 13:53:16 -04:00
GitHub gen-configs Action f597d31759 Auto-generated configs and docs 2023-05-05 16:37:43 +00:00
Matthew Kennedy 6d6e536fe0 yet more field cleanup (and some dead ones?) #98
(cherry picked from commit 0c80664f49c3e6792f90ca9969ee20900acf339d)
2023-05-05 12:34:15 -04:00
Andrey a2eef06a7e blend result returns blend parameter value for TS UI 2023-04-30 02:01:00 -04:00
Matthew Kennedy 2b6fd2315c blend result returns blend parameter value for TS UI
(cherry picked from commit 1bc1e76efa4a926cf4fe53e70d9f57f2f76d42c4)
2023-04-30 01:42:36 -04:00
GitHub gen-configs Action 4a3cd0008c Auto-generated configs and docs 2023-04-30 03:32:27 +00:00
Matthew Kennedy 757d12e97b convert throttle model to g/s instead of kg/s
(cherry picked from commit c47d7394c5ebf43c45869fcd44a30ec505e3e84e)
2023-04-29 23:23:00 -04:00
Matthew Kennedy b0d43e2c18 throttle model gets real max engine flow
(cherry picked from commit 6a05413e52a1282a66cb61827ef91476ef6bf864)
2023-04-29 23:22:05 -04:00
Matthew Kennedy 3df13d10af throttle model runs a little bit
(cherry picked from commit 2ba3881ba03b55eaad65c17d979975067e2df6c1)
2023-04-29 23:21:27 -04:00
GitHub gen-configs Action 673ac1fc98 Auto-generated configs and docs 2023-04-30 02:50:18 +00:00
Andrey 715627483b making matters green? 2023-04-29 22:48:49 -04:00
Andrey 91acff8ff8 sperry picking to make matters green 2023-04-29 22:20:07 -04:00
GitHub gen-configs Action 37c60a3267 Auto-generated configs and docs 2023-04-30 02:10:53 +00:00
Matthew Kennedy a0264f4740 stub throttle model generated
(cherry picked from commit 4e619c54947c76e4438a7cc950401ce06af94c35)
2023-04-29 20:15:49 -04:00
Matthew Kennedy 1a1372ffe9 throttle model tests
(cherry picked from commit d14d442157c76fb901ed3647ad5ecdcd3c9c79ad)
2023-04-29 19:29:13 -04:00
Matthew Kennedy a9dd5ee404 Throttle model #63
(cherry picked from commit 7ee63df142fc363c4ab927a5ba9078aab9bad70d)
2023-04-29 19:14:53 -04:00
Matthew Kennedy 25a3589edf pause closed loop fuel after cuts
(cherry picked from commit a861d76da613f0337f54400d8f5cb4e61ad15406)
2023-04-29 07:10:28 -04:00
Andrey 51d0f6e347 it's going to be painful 2023-04-29 00:44:00 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 01f7e4068d rename obd_code_e -> ObdCode
(cherry picked from commit d6534157a03d19bb2e8aeece301642c053a081d0)
2023-04-29 00:44:00 -04:00
Andrey f296e30fb5 it's going to be painful 2023-04-28 21:01:08 -04:00
Matthew Kennedy 2857e9527d remove specs_s struct, flatten config
(cherry picked from commit f090a97b0b7771dfe02e4b4bb9919d50a6a11ef5)
2023-04-28 20:59:11 -04:00
Andrey 588bf77492 wow we have two separate per-cylinder trims?! fix #5237
refactoring: bringing two offsets much closer together, no change in overall logic
2023-04-12 15:04:14 -04:00
rusefillc e1b4ed2a41 https://github.com/rusefi/rusefi/issues/5237
only renaming variable here
2023-04-12 11:49:11 -04:00
Andrey 0c1859b77e totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 15:33:17 -05:00
rusefillc f82f604a3f ohhh we already have FO_1_2_3_4_5_6_7_8 2022-12-20 21:23:25 -05:00
rusefillc 4e61d92099 FO_1_2_3_4_5_6_7_8 2022-12-20 21:13:33 -05:00
rusefillc 18165e4b02 guards 2022-12-17 14:36:27 -05:00
rusefillc 57ad9b7311 random getOrZero clean-up 2022-12-14 19:48:07 -05:00
rusefillc 55062b1ef6
refactoring: constexpr fuel computer (#4830)
* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 12:25:04 -05:00
rusefillc 23698be5f8
without ValueProvider3D interface how do we mock? (#4829)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 11:23:54 -05:00
Matthew Kennedy 5c50ad2db4
infer useOnlyRisingEdge by trigger type (#4621)
* most of the plumbing

* easy tests

* trigger types that are rise only

* configs

* change mode of various triggers

* vvt

* 898 test is now impossible 🥳

* s

* instant rpm test

* actually remove useOnlyRisingEdgeForTrigger

* remove vvtCamSensorUseRise

* s

* print

* one happy test

* another test

* happy testSomethingWeird

* happy testCamInput

* maybe fix it a different way

* better

* quad cam

* nb2 happy

* bad merge

* vvt test

* trigger.test1995FordInline6TriggerDecoder

* hellen gm e67

* changelog
2022-11-08 21:48:39 -05:00
rusefi ec77afeaa0 reducing ugly 2022-11-06 20:47:57 -05:00
rusefillc fd86dc2b0f minor trigger refactoring 2022-11-05 22:30:08 -04:00
Andrey b57bf2903a minor trigger refactoring 2022-11-05 21:43:12 -04:00
Matthew Kennedy 2bc8fbce7d
VE blend tables (#4640)
* blendy ve too

* ui

* small optimizations

* save kinetis memory

* changelog
2022-10-19 06:42:22 -04:00
Matthew Kennedy dfe1b47b4d
remove ignitionPin (#4608)
* remove ignitionPin

* now that's gone

* BMW test
2022-09-23 17:30:10 -04:00
rusefillc 9e7f36a5ca tear down Engine god object #4511 2022-09-15 21:28:27 -04:00
Andrey 82cda62bac inline method to reduce confusion 2022-09-14 01:34:52 -04:00
Andrey 6b0941b8ed inline method to reduce confusion 2022-09-14 01:24:19 -04:00
Andrey b536651a24 some dead nonsense 2022-09-14 01:15:26 -04:00
Andrey fedfd42989 removing dead parameter 2022-09-14 01:13:57 -04:00
Andrey e522c7d149 tear down Engine god object #4511
just trying different things
2022-09-14 01:09:32 -04:00
Andrey G 91d4844e38
time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
Andrey 4934d76d88 tear down Engine god object #4511
just trying different things
2022-09-05 04:24:17 -04:00
Andrey d329f8ae10 tear down Engine god object #4511
just trying different things
2022-09-03 07:44:24 -04:00