Commit Graph

1191 Commits

Author SHA1 Message Date
rusefillc 9a73601020 per-bus verbose flag 2022-02-10 10:12:48 -05:00
rusefillc d4f1133174 L9779WD driver L9779 #3768 2022-02-09 08:00:37 -05:00
Matthew Kennedy 0222aab5e3 support lps22 (#3900)
* support lps22

* s

* changelog, UI
2022-02-07 17:09:51 -05:00
rusefi a4f68c66d7 I2C EEPROM support #3860 2022-02-06 18:58:31 -05:00
rusefillc a4cdf72734 Main relay shutdown rebase (#3880)
* aggregate

* main relay controller handles delayed shutoff

* main relay controller handles delayed shutdown

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-02-02 00:45:11 -05:00
rusefillc 08adebc935 alpha x 2022-02-01 21:50:54 -05:00
Matthew Kennedy c9e1b9a79a flex cranking math (#3791)
* flex cranking math

* simplify

* s

* simplify
2022-02-01 20:53:14 -05:00
Matthew Kennedy a565c74189 SD card UI cleanup (#3870)
* dead config bit

* hide sd pin options

* #3868
2022-02-01 15:42:23 -05:00
Matthew Kennedy eab4c50f77 table for tcharge interpolation (#3855)
* extract getTChargeCoefficient

* new table
2022-01-30 08:45:11 -05:00
Matthew Kennedy 6a46c60d75 disable fuel trim shortly after DFCO (#3847)
* vss based dfco

* fix digits while we're here

* fix some other digits for fun

* don't use custom assert

* simplify test

* less than or equal, test vss behavior

* disable closed loop fuel after dfco1

* I can't type

* correct comparison helps

* poke
2022-01-28 21:35:23 -05:00
rusefillc de5d2b67e5 this stuff is dead 2022-01-28 20:10:05 -05:00
rusefillc 4ba8c966d8 this stuff is dead 2022-01-28 19:52:12 -05:00
Matthew Kennedy 15d30ad22c complex wall wetting model (#3849)
* extract logic

* extract interface

* explicitly test wall fuel

* complex wall model tables

* fix unused chunk

* defaults

* doesn't like constexpr scaled_channel
2022-01-28 00:32:36 -05:00
rusefillc bdcc9ad067 pedal calibration 2022-01-27 20:10:55 -05:00
rusefillc 3950c3b6a2 reducing magic constants 2022-01-27 17:39:46 -05:00
Matthew Kennedy 60b9ddeb1e vss based dfco (#3845)
* vss based dfco

* fix digits while we're here

* fix some other digits for fun

* don't use custom assert

* simplify test

* less than or equal, test vss behavior

* even better than comments are tooltips
2022-01-27 14:05:18 -05:00
Matthew Kennedy 4e210c3124 more tps accel data (#3844) 2022-01-27 07:46:13 -05:00
Matthew Kennedy 5978df2855 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 b07127614b decouple TPS accel enrichment from trigger (#3825)
* move call site

* move thresholding out of fast path

* adjust config

* test
2022-01-23 15:31:39 -05:00
Matthew Kennedy 20076e6490 Raw map and ego gauges (#3822)
* raw afr and map

* gauges

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 15:53:16 -05:00
Andrey f224fcffd3 do not control VVT during cranking #3443 2022-01-20 20:28:51 -05:00
Matthew Kennedy 6fc4503ee2 XY Idle VE Table (#3781)
* config & ui

* implement

* test idle VE switching behavior

* use the interface where we can

* s

* re-bump flash version
2022-01-20 14:08:54 -05:00
rusefi 8b3278ea71 baro L&F 2022-01-19 16:10:20 -05:00
Matthew Kennedy 4c693ff3ca add option to always use instant RPM (#3813)
* option to always use instant RPM

* duh
2022-01-19 07:34:22 -05:00
rusefillc 54ade66c22 Bosch Quick Start on B6 Passat is confused about phase #3812
preparation
2022-01-19 00:48:39 -05:00
rusefillc ffca542785 On m_event vs lobe vs scheduling #3804 2022-01-18 00:45:24 -05:00
rusefillc 3e8207f393 GDI Epic #1448 2022-01-18 00:27:20 -05:00
rusefillc 15e1fbbe92 trigger gauges 2022-01-16 15:53:27 -05:00
rusefi d3b61f370d wow I did not drink today yet how comes?! 2022-01-15 20:00:39 -05:00
rusefillc a9a738e70b replace speed sensor gear ratio fix #3793 2022-01-15 18:02:37 -05:00
rusefillc f2261618ba Gear detection based on RPM to VSS ratio #3779 2022-01-15 17:30:08 -05:00
rusefillc 908d573e47 Gear detection based on RPM to VSS ratio #3779 2022-01-14 21:32:46 -05:00
rusefillc ab1a696285 Gear detection based on RPM to VSS ratio #3779 2022-01-13 22:32:21 -05:00
Matthew Kennedy 78119b7df4 improve maf output channels and logging (#3743)
* maf channels

* s

* binary log

* if only I could type

* can

* instant RPM too

* s

* test

* graceful zero rpm

* test works

* float near
2022-01-12 15:41:35 -05:00
rusefillc 8a20033148 limp ClearReason 2022-01-08 22:52:45 -05:00
rusefillc 9b38a7d445 limp ClearReason 2022-01-08 22:13:20 -05:00
rusefi c7bb0d6c28 some dead stuff & minor progress 2022-01-08 20:35:12 -05:00
rusefillc 8edaedf0a9 AlphaX 2022-01-08 20:16:01 -05:00
rusefi 553d63b620 disablePrimaryUart for MRE for GDI 2022-01-08 19:38:02 -05:00
Andrey G 9c344363cb Add settings for Stepper driven by Push-Pull outputs (#3749)
With no H-bridge and no special stepper IC
2022-01-06 19:34:20 -05:00
Scott Smith fddf93be03 GDI/HPFP: Tunerstudio config params (#3735) 2022-01-02 21:26:43 -05:00
rusefillc 7271331d2e why so many channels are hidden in debug ? #3614 2022-01-02 02:04:25 -05:00
rusefillc 62abbd173e GDI Epic #1448 2022-01-01 17:18:11 -05:00
Matthew Kennedy c2cc5c8cc7 cylinder ignition trim (#3709)
* cylinder ignition trim

* changelog

* changelog

* test

* move UI
2022-01-01 15:47:47 -05:00
Matthew Kennedy 265f005239 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
rusefillc 7f8a29ca5d GDI Epic #1448
fixing odd typo & improving L&F
2021-12-31 02:17:02 -05:00
rusefi e1977007c4 GDI Epic #1448 2021-12-30 23:47:27 -05:00
rusefillc e6d2d7d65c GDI Epic #1448 2021-12-30 22:06:52 -05:00
Matthew Kennedy a6ef26a1d5 fix dual CAN init, update UI (#3719)
* CAN init sequence

* config & UI cleanup

* ui

* simplify
2021-12-24 23:33:54 -05:00
rusefi a880760aa2 Second CAN #3687 2021-12-22 11:03:39 -05:00
Matthew Kennedy c92f6b832b ui & config for fuel/ign trim tables (#3704)
* ui & config

* bump flash version

* compaction

* s

* make things happy

* fsio too

* OK, well those defaults were insane

* b

* why are these defaults insane

* adjust cylinder offset ui

* s

* cleanup
2021-12-20 21:58:53 -05:00
rusefillc caa21342c0 torque 2021-12-20 13:54:37 -05:00
rusefillc 258cc3f554 TS Bench test problem - Coil 1 test error fix #3490 2021-12-18 18:17:45 -05:00
rusefillc 5f3de0d69c live data for wastegate and launch control #3588 2021-12-16 16:19:33 -05:00
Matthew Kennedy 77ab5ed323 remove etb status option (#3695)
* remove

* ui

* settings cpp
2021-12-15 08:20:14 -05:00
Matthew Kennedy 3986872917 charge temperature estimation UI help (#3693)
* ui

* those too

* format help

* s
2021-12-14 15:44:20 -04:00
rusefillc e7dec2a4b9 MAP phase sensing #3544 2021-12-09 22:16:42 -05:00
Matthew Kennedy bdf6583306 smarter priming logic (#3674)
* ignition controller detects rising edge on voltage

* update test

* comment

* ignore negative transients

* tweak

* test

* priming happens on ignition-on

* priming has its own scheduling

* config & UI

* dead config

* implementation

* look, the test caught a bug

* keep the watchdog happy

* bad merge

* changelog

* easier to read the test

* test naming
2021-12-08 16:20:19 -05:00
rusefillc c38ae9f148 MAP phase sensing #3544 2021-12-07 08:57:23 -05:00
rusefillc ebc24cd71b https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 21:31:49 -05:00
rusefillc e0b3016760 https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 20:17:26 -05:00
rusefillc ddbe875d98 MAP phase sensing #3544
trigger sync better gauges/logging
2021-12-06 17:04:05 -05:00
rusefillc e0d5a5afac trigger sync better gauges/logging 2021-12-06 13:08:41 -05:00
rusefillc 1386cf5e63 CAN stats gauges 2021-12-06 00:22:50 -05:00
Matthew Kennedy ba6eec22c8 Alternator controller is engine module (#3663)
* alternator is engine module

* user can't set pid period
2021-12-05 18:33:50 -05:00
rusefillc 2b465be253 MAP phase sensing #3544
option to look for high and low peaks
2021-12-05 14:25:26 -05:00
rusefillc c8bf360ca8 MAP phase sensing #3544
need to skip
2021-12-04 17:49:04 -05:00
rusefillc af70aacde2 MAP phase sensing #3544 2021-12-04 17:19:35 -05:00
rusefillc 47fb3e3540 MAP phase sensing #3544 2021-12-03 21:09:00 -05:00
rusefillc c01192acf6 proteus to have enlarged Lua
one step back
2021-11-30 22:35:29 -05:00
rusefillc 36d0720066 proteus to have enlarged Lua
one step back
2021-11-30 22:26:36 -05:00
Andrey 58753d3eef dead line 2021-11-30 20:44:56 -05:00
rusefillc ed8e239bbf target gauge 2021-11-30 17:48:53 -05:00
rusefillc 99fdb86423 why so many channels are hidden in debug ? #3614 2021-11-29 11:03:51 -05:00
rusefillc 46dc2c3ee1 why so many channels are hidden in debug ? #3614 2021-11-28 23:11:26 -05:00
rusefillc e40704a7e5 automation around outputs section #197
datalog toolset
2021-11-28 18:06:02 -05:00
rusefillc 8465c920a2 automation around outputs section #197
datalog toolset
2021-11-28 17:04:46 -05:00
rusefillc f72f081cc2 automation around outputs section #197
datalog toolset
2021-11-28 16:36:30 -05:00
rusefillc 3f0ed6bbd7 automation around outputs section #197
datalog toolset
2021-11-28 16:10:09 -05:00
Matthew Kennedy b364844344 fix (#3629) 2021-11-28 15:36:36 -05:00
Matthew Kennedy 2dda9bedb8 verbose CAN bits picker (#3628)
* verbose bits picker

* s
2021-11-28 14:59:26 -05:00
rusefillc da4f41ce3e automation around outputs section #197
datalog toolset
2021-11-28 14:40:16 -05:00
rusefillc 6fcb42a258 automation around outputs section #197
datalog toolset
2021-11-28 14:10:13 -05:00
rusefillc 37e0a6b8d4 automation around outputs section #197
refactoring: extract helper class & poke
2021-11-28 13:13:13 -05:00
rusefillc 942adf0cc8 automation around outputs section #197 2021-11-27 19:23:35 -05:00
rusefillc 24965590a2 automation around outputs section #197 2021-11-27 18:34:47 -05:00
rusefillc 7b73fe643c automation around outputs section #197 2021-11-27 14:08:09 -05:00
rusefillc 7bc85f5e9c automation around outputs section #197 2021-11-27 13:36:37 -05:00
rusefillc 547a045a14 automation around outputs section #197 2021-11-27 13:05:56 -05:00
rusefillc 00472d078c automation around outputs section #197 2021-11-27 12:28:59 -05:00
rusefillc 44fd0fe775 automation around outputs section #197 2021-11-27 10:55:24 -05:00
Matthew Kennedy aed334f9ac better VSS configuration (#3542)
* vss uses real values

* some defaults

* test and correct math

* km, not miles!

* comment

* tooltip

* that macro went away

* 100hz and default settings gives 9kph

* changelog

* order of operations safety

* make the test like the pwm test

* housekeeping

* this is why we need sensor automation

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-27 08:49:07 -05:00
rusefillc 337dc1a37c automation around outputs section #197 2021-11-27 01:13:01 -05:00
rusefillc 2cd8863492 automation around outputs section #197 2021-11-27 00:36:14 -05:00
rusefillc b636cc3920 automation around outputs section #197 2021-11-26 21:54:31 -05:00
rusefillc ea3661e7fb automation around outputs section #197 2021-11-26 21:34:05 -05:00
Matthew Kennedy dad52dd75a wall fuel tweaks (#3617) 2021-11-25 18:45:44 -05:00
Andrey b04efc4b61 MAP phase sensing #3544 2021-11-24 21:28:49 -05:00
Matthew Kennedy 1c8c22f9f1 map averaging usability (#3603) 2021-11-24 14:39:54 -05:00
rusefillc 6c23986cf0 MAP phase sensing #3544 2021-11-24 14:26:41 -05:00