Commit Graph

595 Commits

Author SHA1 Message Date
Andrey 3bc59bfbb6 migrating to SensorType::Rpm API 2022-01-20 22:27:48 -05:00
rusefillc e4043cacda Gear detection based on RPM to VSS ratio #3779 2022-01-14 21:32:46 -05:00
Matthew Kennedy 7d341cfc9d
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 dcc7080ce1 logging of live data structs #3614 2022-01-11 22:54:57 -05:00
rusefillc 177a5faa63 limp ClearReason 2022-01-08 22:13:20 -05:00
rusefillc 9dc4efe993 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 04984859ab
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 7b0179aaa3 Second CAN #3687 2021-12-21 00:48:13 -05:00
rusefillc 4bb53f265b PCAN sandbox - error requestOutputChannels #3698 2021-12-18 23:26:41 -05:00
rusefillc 481047ea20 PCAN sandbox - error requestOutputChannels #3698 2021-12-18 23:07:31 -05:00
rusefillc 86506a15a9 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
Andrey 940b04ab24 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 3a95e86112
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 934b005acb trigger sync better gauges/logging 2021-12-06 13:08:41 -05:00
Matthew Kennedy 25beb610b0
log actual tooth angle (#3646) 2021-12-02 19:22:33 -05:00
rusefillc 8024fe2b1b Engine phase wrap around in log #3645
hopefully actual fix
2021-12-02 17:06:20 -05:00
rusefillc 168a899ba9 how many more spelling mistakes?! 2021-12-02 01:06:40 -05:00
rusefillc b03445b421 proteus to have enlarged Lua
one step back
2021-11-30 22:26:36 -05:00
rusefillc 818d12f68e why so many channels are hidden in debug ? #3614 2021-11-29 10:16:45 -05:00
rusefillc 31898a2d79 automation around outputs section #197 2021-11-27 18:54:57 -05:00
rusefillc 61b18b7bf9 automation around outputs section #197 2021-11-27 14:09:27 -05:00
rusefillc c4f973c2e2 automation around outputs section #197 2021-11-27 14:08:09 -05:00
rusefillc edb10af9f4 automation around outputs section #197 2021-11-27 13:36:37 -05:00
rusefillc 1cbdd226d5 automation around outputs section #197 2021-11-27 13:05:56 -05:00
rusefillc 412d804350 automation around outputs section #197 2021-11-27 12:28:59 -05:00
rusefillc eb2045f02b automation around outputs section #197 2021-11-26 21:54:31 -05:00
Matthew Kennedy f8403543d6
wall fuel tweaks (#3617) 2021-11-25 18:45:44 -05:00
rusefillc 446252d77d MAP phase sensing #3544 2021-11-24 14:26:41 -05:00
Matthew Kennedy 178ccdeb4d
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 b2ae7243dd
embiggen log buffer (#3596) 2021-11-22 16:46:18 -05:00
Matthew Kennedy caee2a5439
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 cb300ec985 automation around outputs section #197
refactoring
2021-11-17 23:16:15 -05:00
Scott Smith 823d9a07e0
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 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Andrey 655b77dc3f random refactoring: trigger central encapsulation 2021-11-15 20:22:05 -05:00
Andrey 928c673695 refactoring launch 2021-11-15 20:09:03 -05:00
Matthew Kennedy cb032fb1ea
(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 6d0dfe4542 refactoring - magic constant bad 2021-11-07 00:09:17 -04:00
Matthew Kennedy 7590e4c679
log current engine phase on trigger teeth (#3471)
* log phase on trigger teeth

* ui

* guard
2021-11-05 20:02:15 -04:00
rusefi 433d526ee5 turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
Matthew Kennedy 75a2b5ef02
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 1d5fccc4bc bugfix: DBG_TRIGGER_COUNTERS was overwriting VVT counters 2021-10-28 16:51:01 -04:00
rusefi 274a6d8ba6 triggerinfo progress 2021-10-23 19:01:31 -04:00
rusefillc 1493973bea very old very dead code 2021-10-20 10:38:36 -04:00
rusefillc c36e039100 more relaxed VVT debug field 2021-10-17 14:21:09 -04:00
rusefillc 61e2b3d5db Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -04:00
rusefi d01c8dbd93 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc 49e87825f9 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 00:19:33 -04:00
Matthew Kennedy 9797d25b7c
getOrZero (#3319) 2021-10-05 19:59:07 -04:00
Matthew Kennedy be1fa7057d
break up sensors even more (#3318) 2021-10-05 19:06:17 -04:00