Commit Graph

65 Commits

Author SHA1 Message Date
Matthew Kennedy 717d931e78
refactor decel fuel cut (#3830)
* refactor dfco

* s

* output channel logs dfco

* slightly cheeky comment
2022-01-23 19:44:41 -05:00
Matthew Kennedy ab3e3ac83f
hook up fuel trims (#3715)
* hook up fuel trims

* pass all the params

* store per-cylinder fuel mass directly

* main trigger callback only touches per-cylinder, no banks!

* test test test test

* move UI to happy land

* changelog
2022-01-01 02:19:59 -05:00
Scott Smith 69d36dad6e
Final cleanup of ENGINE macros (#3567)
Fix some uses of ENGINE() not detected by regex due to parenthesis.
Remove now empty engine_ptr.h
Don't worry about EFI_* not being defined, the compiler defaults to 0 if they aren't.
2021-11-17 13:45:10 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
racer-coder 2612db570f
Fix the types in various fuel functions that actually refer to grams, not ms. (#3458) 2021-11-04 11:50:19 -04:00
Matthew Kennedy 1d10fbc7a8
const airmass (#2694) 2021-05-14 07:17:22 -04:00
Matthew Kennedy 650d148008
Usable fuel consumption data/gauges (#2474)
* fuel consumption

* gauge names

* consumers

* obd

* binary logging

* doesn't need explicit constructor

* getters

* it works

* correct for injections per cycle

* datalog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy 5067b81fce
Compute injection duration later in the pipeline (#2175)
* injector model, test

* new math

* inject fuel based on new math

* tests

* fix

* it should work like this

* format

* update TPS AE even when we're cutting fuel

* comment

* conversion factor

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-03 07:30:56 -05:00
Matthew Kennedy a90792fa44
convert mass -> duration later in the pipeline (#1906)
* cranking duration to mass

* implement

* units

* patch types

* suppress warning

* fix output channels

* add note about how to set it
2020-10-26 07:23:13 -04:00
Matthew Kennedy 10c1ad7698
use fuel model (#1901)
* use fuel model

* spit'n'polish
2020-10-23 20:25:47 -04:00
Matthew Kennedy 1f64754b57 consume 2020-08-10 21:41:03 -07:00
Matthew Kennedy 132ee12974 cleanup 2020-07-30 21:20:10 -07:00
Matthew Kennedy 7e88011de5 move impl 2020-07-23 01:23:57 -07:00
Matthew Kennedy a3b29f9011 use ign load for ign 2020-07-20 23:11:48 -07:00
Matthew Kennedy c8fb6993ac
simplify cranking corrections (#1510) 2020-06-18 08:54:02 -04:00
Matthew Kennedy a34201d1d1
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 76745412c6
Factor out airmass logic (#1483)
* refactor

* extract more airmass

* rename, fix tests
2020-06-06 07:25:19 -04:00
Matthew Kennedy 2bdd8128db
refactor (#1481) 2020-06-03 21:12:12 -04:00
Matthew Kennedy 745b0c04ac
pull out std air charge math (#1397) 2020-05-05 08:01:40 -04:00
Matthew Kennedy 4d24fdd57d
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
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi cd1e87ff41 docs & refactoring 2019-10-08 01:49:42 -04:00
rusefi 60d96c4216 refactoring: method name consistency 2019-01-10 23:48:05 -05:00
rusefi 426db4ca2b refactoring: code style in method name 2018-06-12 05:14:19 -04:00
andreika-git 16c4f84d8d 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
andreika-git 513202a0af Fuel consumption impl. (alpha) (#526) 2017-12-31 19:25:59 -05:00
andreika-git 41ebd7b95f Better OBD2 support (#515) 2017-12-17 21:10:02 -05:00
rusefi 74a359077c better macro name 2017-05-15 23:33:22 -04:00
rusefi 8c6253f198 better constraint validation & refacoting 2017-04-12 23:25:58 -04:00
rusefi 4547dfe3ac better corner case logging, also refactoring 2017-04-12 19:58:29 -04:00
rusefi 42b709f4ef #348 refactoring 2017-03-07 01:54:34 -05:00
rusEfi 54873240ce auto-sync 2017-01-05 21:12:06 -05:00
rusEfi 55e89f0f31 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi b944bbfcc6 auto-sync 2016-08-28 17:02:14 -04:00
rusEfi d61835fa46 auto-sync 2016-08-26 18:02:39 -04:00
rusEfi 37151725fe auto-sync 2016-07-23 21:04:30 -04:00
rusEfi eb7173ae47 auto-sync 2016-07-06 23:02:59 -04:00
rusEfi fbdea87819 auto-sync 2015-12-31 16:02:30 -05:00
rusEfi 969ebbf142 auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 298341e0d1 auto-sync 2015-07-10 08:57:59 -04:00
rusEfi 241498d330 auto-sync 2015-07-06 21:33:28 -04:00
rusEfi 11c7edefcb auto-sync 2015-06-03 23:11:45 -04:00
rusEfi 6ad3564c72 auto-sync 2015-05-12 15:09:38 -04:00
rusEfi fa27e923bb auto-sync 2015-04-13 08:04:21 -05:00
rusEfi f5952f9079 auto-sync 2015-04-12 13:05:29 -05:00
rusEfi 884d23a66f auto-sync 2015-04-05 11:11:54 -05:00
rusEfi 1947e18564 auto-sync 2015-02-28 00:04:17 -06:00
rusEfi d6ff30e894 auto-sync 2015-02-27 16:07:50 -06:00
rusEfi 2595fe514c auto-sync 2015-02-13 20:04:20 -06:00
rusEfi 740e6ba22f auto-sync 2015-02-12 21:04:12 -06:00