Commit Graph

597 Commits

Author SHA1 Message Date
Andrey a8e016f162 migrating to SensorType::Rpm API 2022-01-20 22:27:48 -05:00
rusefillc 908d573e47 Gear detection based on RPM to VSS ratio #3779 2022-01-14 21:32:46 -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 bb77e30f0c logging of live data structs #3614 2022-01-11 22:54:57 -05:00
rusefillc 9b38a7d445 limp ClearReason 2022-01-08 22:13:20 -05:00
rusefillc 1707805dbf reducing potential confusion with "NO PIN" in engine sniffer
https://rusefi.com/forum/viewtopic.php?p=43812#p43812
2022-01-01 12:10:55 -05:00
Matthew Kennedy b1aa9449ec log channel improvements (#3710)
* WB info

* fix a bunch of unsigned vs signed, move some TPS stuff too

* s
2021-12-21 18:09:40 -05:00
rusefillc dad928a627 Second CAN #3687 2021-12-21 00:48:13 -05:00
rusefillc 700281c505 PCAN sandbox - error requestOutputChannels #3698 2021-12-18 23:26:41 -05:00
rusefillc 881fdbd573 PCAN sandbox - error requestOutputChannels #3698 2021-12-18 23:07:31 -05:00
rusefillc d5f8abb508 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
Andrey d2c46b3310 Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming 2021-12-07 20:18:47 -05:00
Matthew Kennedy aa8584d89a calculate per-cylinder ignition timing (#3652)
* simplify cylinder phasing

* per cylinder timing

* s

* s

* s

* why was there a divide by 2?
2021-12-06 21:19:37 -05:00
rusefillc e0d5a5afac trigger sync better gauges/logging 2021-12-06 13:08:41 -05:00
Matthew Kennedy 99367c8348 log actual tooth angle (#3646) 2021-12-02 19:22:33 -05:00
rusefillc b69292540b Engine phase wrap around in log #3645
hopefully actual fix
2021-12-02 17:06:20 -05:00
rusefillc 37ed110750 how many more spelling mistakes?! 2021-12-02 01:06:40 -05:00
rusefillc 36d0720066 proteus to have enlarged Lua
one step back
2021-11-30 22:26:36 -05:00
rusefillc ffb35aeff7 why so many channels are hidden in debug ? #3614 2021-11-29 10:16:45 -05:00
rusefillc a193d268c1 automation around outputs section #197 2021-11-27 18:54:57 -05:00
rusefillc 0d88de6342 automation around outputs section #197 2021-11-27 14:09:27 -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 b636cc3920 automation around outputs section #197 2021-11-26 21:54:31 -05:00
Matthew Kennedy dad52dd75a wall fuel tweaks (#3617) 2021-11-25 18:45:44 -05:00
rusefillc 6c23986cf0 MAP phase sensing #3544 2021-11-24 14:26:41 -05:00
Matthew Kennedy e7417ef0c0 simulator writes binary log (#3598)
* simulator writes log

* replace the file

* check that the sim actually fails

* put it back

* did the sim really not fail?

* good, asan does catch it
2021-11-23 11:42:45 -05:00
Matthew Kennedy c45bb2b67d embiggen log buffer (#3596) 2021-11-22 16:46:18 -05:00
Matthew Kennedy a0a1b5e6a0 delimeter is not comma (#3533)
* delimeter is not comma

* do it in config txt

* use txt

* s

* string

* compat

* also, spelling is hard

* use new name

* use new name

* generate enough for happy console

* use an even less common character

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 12:01:45 +03:00
rusefillc 28998b70a6 automation around outputs section #197
refactoring
2021-11-17 23:16:15 -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
Andrey 7b790d36f6 random refactoring: trigger central encapsulation 2021-11-15 20:22:05 -05:00
Andrey 4bc9343d0b refactoring launch 2021-11-15 20:09:03 -05:00
Matthew Kennedy c1941f3a49 (void) -> () (#3550)
* static functions with (void)

* more

* Revert "more"

This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
rusefillc 5ddd516860 refactoring - magic constant bad 2021-11-07 00:09:17 -04:00
Matthew Kennedy f45d365f24 log current engine phase on trigger teeth (#3471)
* log phase on trigger teeth

* ui

* guard
2021-11-05 20:02:15 -04:00
rusefi f182c65e5b turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
Matthew Kennedy 1cee83a56c Knock retard (#3396)
* output gauge

* knock controller

* don't need that

* inject engine ref

* test knock

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-01 23:33:59 -04:00
rusefi e3c8d47097 bugfix: DBG_TRIGGER_COUNTERS was overwriting VVT counters 2021-10-28 16:51:01 -04:00
rusefi 4dd1ae7035 triggerinfo progress 2021-10-23 19:01:31 -04:00
rusefillc bee1eb2c6b very old very dead code 2021-10-20 10:38:36 -04:00
rusefillc f463f6501f more relaxed VVT debug field 2021-10-17 14:21:09 -04:00
rusefillc 504bd78814 Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -04:00
rusefi ac988225bd some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc 79fd7586e0 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 00:19:33 -04:00
Matthew Kennedy dab377d15d getOrZero (#3319) 2021-10-05 19:59:07 -04:00
Matthew Kennedy 36d8799105 break up sensors even more (#3318) 2021-10-05 19:06:17 -04:00