Commit Graph

1177 Commits

Author SHA1 Message Date
Matthew Kennedy d10ba3ddfa
injector nonlinearity (#2916)
* nonlinear polynomial

* make existing tests work again

* test that nonlinearity is called

* s

* fix enum

* ui

* fix and test

* comment

* changeloggy
2021-07-07 23:46:44 -04:00
Matthew Kennedy 9377a01aec
store cylinder count as plain number (#2915)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* no need to be a typedef

* paste in actual cylinder count
2021-07-07 08:31:05 -04:00
Andrey 3ffd340409 Option to log VVT target #2913
boring details
2021-07-06 20:54:39 -04:00
Matthew Kennedy 2eb0b2a631
Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey aabdea4140 Option to log VVT target #2913 2021-07-06 20:00:53 -04:00
rusefi 0c9d4fd5d8 Nissan 2021-07-05 19:53:55 -04:00
rusefi 0393b038db Nissan 2021-07-05 17:57:25 -04:00
Matthew Kennedy 007a390f2b
Gate closed loop idle on road speed (#2901)
* implement

* test

* b

* config
2021-07-04 09:35:12 -04:00
Matthew Kennedy 142e44d82b
misc (#2899)
* dead fields

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
Andrey 116aba739e https://github.com/rusefi/rusefi/issues/2848
per-board URL into project help
2021-07-03 23:47:23 -04:00
Andrey 492076f95c Nissan VVT trigger decoder #2887 2021-07-03 12:06:47 -04:00
Andrey e888d7e561 Nissan VVT trigger decoder #2887 2021-07-03 11:20:06 -04:00
Andrey 31c611d7a9 Nissan VVT trigger decoder #2887 2021-07-03 11:12:16 -04:00
Andrey 50e25605b8 Nissan VVT trigger decoder #2887 2021-07-01 17:28:52 -04:00
Andrey f11bd1544b Nissan VVT trigger decoder #2887 2021-07-01 17:03:17 -04:00
Matthew Kennedy 32f5ce6fb4
no fan if stopped engine (#2822)
* no fan if stopped engine

* config

* use config

* more tests

* merge

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 08:52:54 -04:00
Matthew Kennedy cd5eb6a77c
Move AC logic out of FSIO (#2872)
* new impl

* remove fsio

* inject "is ac active" to fan

* include the correct code

* include

* test

* more AC features

* AC switch vs. actual AC indicators

* include

* duh
2021-06-27 18:51:34 -04:00
Andrey c5dc371abb fan2 bench 2021-06-23 16:58:58 -04:00
Andrey b82110555f more bench commands into .txt 2021-06-23 14:48:42 -04:00
Andrey 35c8c9ac6b TS Burned All Data engine stop #2839
preparing test case
2021-06-20 23:32:31 -04:00
Matthew Kennedy aa8bfe0020
parse enums (#2832)
* enums and definitions

* bad merge

* txt format

* endBit

* handle 1-size arrays

* strings

* fix auto enum

* hard code 0 and 1

* jar

* jar
2021-06-20 17:35:31 -04:00
Matthew Kennedy 0d80a781e6
more config cleanup: get rid of extra spaces (#2836)
* oh boy

* double space between sentences
2021-06-18 22:53:39 -04:00
Matthew Kennedy d57ea124a1
cleanup for easier ini compare (#2830)
* remove dot zero

* don't parse as double

* minor formatting

* Revert "don't parse as double"

This reverts commit f2427927f7df0f5fa27ed66c888009e3a3da8412.

* expect integer "1"

* jar
2021-06-18 15:43:16 -04:00
Matthew Kennedy e7e9ab0d5c
Antlr 2 (#2823)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* grammar for unions

* parse unions

* layout logic

* fix union alignment

* union in config

* jar

* comment

* jar

* jar

* no prefix on root struct

* stray space

* normalize some enums
2021-06-18 12:31:23 -04:00
rusefillc 2fead8f1b3 typo & clarification 2021-06-17 11:38:36 -04:00
rusefillc dc7b1fc401 engine_load_mode_e clarification 2021-06-17 09:49:15 -04:00
Matthew Kennedy 3a30f038ce
kill engine if no oil pressure (#2800)
* min oil pressure for crank

* do it time-based

* rename field

* include

* fix existing test

* tests

* fix logic

* more test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-16 17:20:28 -04:00
Matthew Kennedy 2c6b8ae3c6
parse with antlr (#2747)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* console should not build config def tool

* ugh the dependency tree is insane

* this should fix hw ci

* console build

* console jenkins script

* test

* Revert "test"

This reverts commit 73f2da50f990bee9b51a1f919e8fcc6b06327d9a.

* throw on parse failure

* jar

* fix #2821

* comment
2021-06-16 17:07:05 -04:00
rusefillc 5c5ec16c13 docs 2021-06-16 11:20:14 -04:00
Matthew Kennedy 93adb8ea76
Etb rev limit (#2820)
* cfg

* impl

* a test

* don't break the ts channel

* text
2021-06-16 08:44:48 -04:00
Matthew Kennedy a4973a6f3d
fan/AC idle improvements (#2818)
* fan 2 open loop bump

* we had an AC target bump all this time?!

* format

* enable test

* I can't type
2021-06-15 17:30:35 -04:00
Andrey a1fa9719c9 Review default H64 tune #2815 2021-06-13 20:40:28 -04:00
Matthew Kennedy 097bf85faf
dual fans (#2806)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match

* second fan config

* second fan ui

* defaults

* impl
2021-06-13 08:06:45 -04:00
Matthew Kennedy 7d2057e74a
remove cranking dwell angle (#2814)
* config & impl

* settings

* engines & boards

* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
Andrey 158296f990 reverting TCU cherry pick 2021-06-12 13:52:18 -04:00
Andrey 0432d689b4 helping build 2021-06-12 07:26:16 -04:00
Andrey 6b6034234f helping build 2021-06-12 07:00:26 -04:00
rusefillc f83c0b3b61 TCU cherry 2021-06-12 00:15:19 -04:00
rusefillc 61f5f3b93e TCU cherry 2021-06-12 00:10:06 -04:00
rusefillc df4bc3f720 TCU cherry 2021-06-11 23:41:23 -04:00
Matthew Kennedy c27549b2e8
hard coded fan logic (#2805)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match
2021-06-11 06:25:12 -04:00
Andrey 24131cdc0e s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Andrey a13634ba13 https://github.com/rusefi/hellen121vag/issues/38 2021-06-05 16:07:30 -04:00
Matthew Kennedy 790ac08a2e
Cranking defaults (#2787)
* defaults

* more

* cranking fuel

* cranking timing

* cranking time digits

* ugh these tests shouldn't depend on defaults
2021-06-02 08:21:36 +03:00
Matthew Kennedy f3c5ff6d54
idle fan/AC open loop bump (#2785)
* idle open loop ui section

* idle bump logic

* test fan/ac bump
2021-06-01 00:45:04 +03:00
Andrey f9d799e390 cranking dwell minor progress 2021-05-31 08:12:11 -04:00
Matthew Kennedy 562f82cacc
simplify/clarify cranking UI (#2778)
* simplify/clarify cranking

* dwell

* ign

* tweak idle
2021-05-31 11:09:13 +03:00
Matthew Kennedy 58b274c80c
safe boost duty (#2764) 2021-05-30 14:04:04 +03:00
Matthew Kennedy 2667810942
add pedal to gppwm (#2748)
* add pedal to gppwm

* string
2021-05-28 03:38:45 -04:00
Matthew Kennedy 8ce2057a89
parser rewrite prep: normalize config (#2741)
* cleanup 1

* cleanup 2

* impl

* fix
2021-05-27 08:23:28 -04:00