Commit Graph

1570 Commits

Author SHA1 Message Date
Andrey e3920a3159 reliable 32/2 trigger shape 2021-11-25 20:45:58 -05:00
Andrey 02704421e4 proper vvt name 2021-11-25 20:08:18 -05:00
Matthew Kennedy 5752b4ba92 bye (#3609) 2021-11-24 22:03:17 -05:00
Andrey b04efc4b61 MAP phase sensing #3544 2021-11-24 21:28:49 -05:00
rusefillc 8ed1825696 fixing broken test? 2021-11-24 13:25:29 -05:00
rusefillc 09ed871dad well Lua wants to be BIG 2021-11-23 16:40:04 -05:00
rusefillc 5d55b8538f unusedLogFormat 2021-11-22 13:37:06 -05:00
Scott Smith 07d30285fc Basic framework for high pressure fuel pump control (#3476)
* Basic framework for high pressure fuel pump control

* Many changes

Move calculations to fast callback
Move main object into Engine
Respond to pin changes without requiring a reboot

* Use EngineModule for HpfpController
Schedule pin off after executing pin on so we are sure it ends, even if the motor stops.
Test scheduling.
Less RAM use by only having one event and reordering fields.

* Make scheduling test actually useful - need non-0 activation angle.

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-11-19 23:06:51 -05:00
rusefillc c441d7dd89 debug mode for skipped count for 4 cylinders #3570 2021-11-19 07:02:21 -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
Andrey b545743f7d Not all launch control options are used #3554 2021-11-15 21:13:01 -05:00
rusefi df4f122c0b Epic: Remove FSIO #2928 2021-11-14 14:14:43 -05:00
rusefillc 6df72646dd script settings need names! 2021-11-14 11:45:37 -05:00
rusefillc 0a8a722471 script settings need names! 2021-11-14 11:40:33 -05:00
rusefillc 5f1aadf638 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
rusefillc 348ffdc69c Epic: Remove FSIO #2928 2021-11-14 09:34:45 -05:00
rusefillc ed8e81d1b4 Epic: Remove FSIO #2928 2021-11-14 09:34:19 -05:00
rusefillc c37aafdde1 Epic: Remove FSIO #2928 2021-11-14 09:21:04 -05:00
rusefillc a0a77fa01d Epic: Remove FSIO #2928 2021-11-14 08:38:11 -05:00
rusefillc 29670184e2 script settings need names! 2021-11-13 22:47:46 -05:00
Matthew Kennedy 8edc91f657 mercedes two lobe trigger testing (#3543)
* mercedes

* config

* break;

* I did the gap ratio math wrong

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 21:50:04 -05:00
Matthew Kennedy 4f9df2a110 new parser handles enum values (#3492)
* simplify

* poke to force generate

* enums

* jar

* jar

* poke

* prepends formatted

* prepends

* eol

* eol

* allow no endl at eof

* Revert "eol"

This reverts commit 022029faef338281b1a3551f82e46c4b6a7578a5.

* Revert "eol"

This reverts commit 6274502db740569235210916fde4ec84863d7fb3.
2021-11-11 23:09:39 -05:00
Andrey 37adc7e713 Bench Test IAC Valve fails #3534
that's not even funny
2021-11-11 20:39:01 -05:00
Andrey 58588cdf6b https://rusefi.com/forum/viewtopic.php?f=13&t=2206 2021-11-11 18:31:54 -05:00
rusefillc 371f0ca72c Idle valve outputs not available in TS #3523 2021-11-10 20:40:42 -05:00
Andrey a32f061a0f names for tables similar to curve names 2021-11-07 09:58:35 -05:00
Matthew Kennedy 0dde7d6fef simplify signature.h generation (#3480)
* simplify

* poke to force generate
2021-11-06 23:19:53 -04:00
rusefillc b7ae42a5a1 Bench test problem - Coil 1 test error #3490 2021-11-06 21:11:43 -04:00
rusefillc 2437abf51f simplify signature.h generation #3480
part two: unused variables
2021-11-06 18:09:14 -04:00
rusefillc bc70203350 simplify signature.h generation #3480
step 1 - access values directly
2021-11-06 15:10:50 -04:00
Matthew Kennedy ec5d3f437f Remove array typedef syntax (#3477)
* remove array typedef support completely

* extraneous semicolon

* binary
2021-11-06 09:12:43 -04:00
Scott Smith e350b0b6b4 Configuration for HPFP control algorithm. (#3475) 2021-11-05 23:15:35 -04:00
Scott Smith 61fd669add Convert existing tables to use the simpler 3d table definition style in rusefi_config.txt (#3473)
This fixes #3465.
2021-11-05 21:55:33 -04:00
Scott Smith 2ffcc2bb45 Determine the correct mul/div for autoscale from the TS config line instead of specifying it twice. (#3470) 2021-11-05 19:26:25 -04:00
Matthew Kennedy 72cdc52acc configurable etb maximum (#3469)
* etb maximum

* update tests and test new behavior
2021-11-05 18:16:19 -04:00
Matthew Kennedy b41dbe2ed1 nissan MR18DE VVT cam pattern (#3466)
* refactoring nissan trigger

* comments

* plumbing

* b

* enums

* image

* image

* implement decoder

* reshuffle

* don't case unused

* dead trigger enums
2021-11-05 15:33:22 -04:00
Scott Smith 09569e8686 Add 3d table support to the java config file parser. (#3464)
This removes the need to use custom for 3d tables.  Syntax (to avoid changing the ANTLR parser) is
to use 'x' instead of separate [], i.e.:
        uint16_t[HPFP_TARGET_SIZE x HPFP_TARGET_SIZE] hpfpTarget;;"kPa", 1, 0, 0, 65000, 0
2021-11-05 14:27:32 -04:00
Matthew Kennedy 6b85313b04 nissan 4yl crank pattern (#3462)
* refactoring nissan trigger

* comments

* plumbing

* b
2021-11-05 07:15:03 -04:00
rusefillc 8538e751e7 more curves! also names for curves 2021-11-04 23:22:37 -04:00
rusefillc f7e1734045 more curves! also names for curves 2021-11-04 22:56:54 -04:00
rusefi f182c65e5b turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
Matthew Kennedy a2766e5d9b support autoscale on table axes (#3452)
* scale map Y axis

* allow different row/col types

* scaled channel detector

* interpolation

* looks like this actually works

* tests, no manual scaling

* comment
2021-11-03 19:53:26 -04:00
rusefillc 0c96269e39 pieces of Ts tips update2 #3446 2021-11-03 16:56:21 -04:00
rusefillc c1f8367c21 docs 2021-11-03 16:56:21 -04:00
Matthew Kennedy 4717210859 autoscale fields in generated structs (#3444)
* add to grammar

* parser

* parser

* example consumer

* build config tool

* commit the right jar
2021-11-02 18:59:19 -04:00
Matthew Kennedy 8ee86e0789 log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
Andrey 814fdde468 TPS decel is pretty weird?! 2021-10-30 21:46:15 -04:00
rusefillc 5d12e346a8 file was renamed 2021-10-30 16:45:39 -04:00
rusefillc a2f1cd2467 Override trigger gaps feature #2734 2021-10-30 10:45:32 -04:00
Matthew Kennedy d3a01b5e63 tooltip (#3428) 2021-10-29 15:45:03 -04:00
rusefillc 40bf6a93d0 VVT is no longer aux pid 2021-10-28 23:51:46 -04:00
Andrey 6afa01e325 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 14:18:08 -04:00
rusefi 6161ed34b1 Merge remote-tracking branch 'origin/master' 2021-10-26 17:02:21 -04:00
rusefi fd00fbc197 Honda K cam wheels #3405 2021-10-26 17:02:09 -04:00
Matthew Kennedy 4b9d91f6e5 idle closed loop vs open loop ui, etc (#3413)
* open + closed

* put idle solenoid first

* actually hide etb pins

* missed a few prepends
2021-10-26 15:04:09 -04:00
Matthew Kennedy 6125d97c6c etb pwm limit (#3408)
* etb pwm limit

* missed an arg

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-25 15:35:23 -04:00
rusefillc 1e0e6aba4f generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 12:18:46 -04:00
Andrey 3da8c9bf51 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 23:41:12 -04:00
Andrey d8578f51c4 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 23:23:06 -04:00
rusefi 090c6fd99e https://www.rusefi.com/forum/viewtopic.php?f=18&t=2170 2021-10-24 18:22:01 -04:00
Andrey c3e86851d6 Honda K cam wheels #3405 2021-10-24 16:10:56 -04:00
rusefillc 62ffc9f985 progress 2021-10-24 15:30:10 -04:00
Andrey 2edb1ad6ba generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 12:54:42 -04:00
rusefillc 82ce6b857a generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 09:06:38 -04:00
rusefillc a041421bd0 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 08:25:40 -04:00
rusefillc b42f690dc7 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:42:22 -04:00
rusefillc 1916d4af46 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:40:14 -04:00
rusefillc 1e5c18d23a generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:02:41 -04:00
rusefillc ee0db90107 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:00:04 -04:00
rusefillc 4b8d841299 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 21:47:03 -04:00
rusefillc 9cf62643dc generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 20:24:21 -04:00
Matthew Kennedy d9e06875a2 basic knock response params (#3330)
* basic params

* retard angle -> aggression

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-22 15:23:28 -04:00
rusefillc 70a0c12aab respond to 'Q follow-up #3383 2021-10-20 15:44:45 -04:00
rusefillc 45e0a0403f very old very dead code 2021-10-20 12:57:07 -04:00
rusefillc 00e49dc195 Aux analog inputs via CAN #3378 2021-10-19 20:04:03 -04:00
rusefillc 270ef86c95 Aux analog inputs via CAN #3378 2021-10-19 19:48:18 -04:00
rusefillc 3de3dee1fa validate field name duplicates at least sometimes 2021-10-16 23:02:06 -04:00
rusefillc 872b95acca poke 2021-10-16 22:46:17 -04:00
rusefillc 67de014d98 Remove engine load acceleration enrichment fix #3357 2021-10-16 22:07:06 -04:00
rusefillc 504bd78814 Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -04:00
rusefillc d4dd74c731 Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 18:50:03 -04:00
rusefillc 23afed575a Whatever we call it, how ever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 15:55:47 -04:00
rusefillc 705295dbfb Whatever we call it, how ever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 00:47:26 -04:00
Matthew Kennedy d406b14d9b mpxh6400 (#3347)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-12 16:01:04 -04:00
rusefillc 25108fe6e9 hyundai 2021-10-11 12:37:24 -04:00
rusefi 178e8287eb Hyundai 2021-10-09 23:35:28 -04:00
rusefi 36011bf718 Hyundai 2021-10-09 16:24:38 -04:00
Andreika 49aedb1c74 [DRAFT] IAC H-Bridge Microstepping (#3213)
* fix for stepperHbridgeHardware

* new config fields for microstepping

* add stepper dir pin mode to the dialog

* refactor stepper hw dialog & add microstepping panel

* microstepper modes enum

* stepperDcInvertedPins needed by Hellen

* add sleep() for stepper and divisor for pause()

* microstepping impl.

* make unit-tests more happy

* small progress

* fix etb-stepper dlg conflict

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-10-06 13:57:04 -04:00
Andreika 99fb5e4204 [DRAFT] Fix cranking->idling taper phase for useSeparate*ForIdle tables (#3168)
* Rename Phase::CrankToRunTaper -> CrankToIdleTaper

* Change isIdling() to isIdlingOrTaper()

* test_idle_controller.cpp

* useSeparateIdleTablesForCrankingTaper setting

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-10-06 12:05:20 -04:00
rusefillc 6487646ab2 miata 36-1 trigger basemap (#3126) 2021-10-06 00:33:29 -04:00
rusefillc 79fd7586e0 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 00:19:33 -04:00
rusefillc d992b7bbdc some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-05 16:10:29 -04:00
Matthew Kennedy 34d8014202 clean up debug channels in status_loop.cpp (#3317)
* FSIO is going away eventually

* dead modes

* rx8 hmm

* break out tps debug
2021-10-05 15:27:08 -04:00
Matthew Kennedy b84df3dda8 dead map (#3316) 2021-10-04 18:33:10 -04:00
rusefillc f08ded03be https://rusefi.com/forum/viewtopic.php?f=5&t=2143 Suzuki G13B tooth pattern 2021-10-04 11:06:54 -04:00
Matthew Kennedy e9cf522292 shrink multi cylinder map average buffer (#3315)
* halve

* add tooltip, rename UI
2021-10-04 07:50:17 -04:00
rusefillc 1db54121ba rusEFI console logs are missing some fields #3314 2021-10-03 23:48:01 -04:00
rusefillc bf78b7431d rusEFI console logs are missing some fields #3314 2021-10-03 22:29:41 -04:00
rusefillc 75bee72869 proteus adapters 2021-10-02 11:31:05 -04:00
Andrey 3ca7aaa88a proteus adapters 2021-10-02 11:19:09 -04:00
Matthew Kennedy cb2ae978e5 dead mock iat/clt (#3293)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-01 09:20:08 -04:00
rusefillc de2bf94f9f MPXH6400 CALIBRATION #3288 2021-09-30 21:53:31 -04:00
rusefillc 9e18a8b12a MPXH6400 CALIBRATION fix #3288 2021-09-30 21:44:50 -04:00
rusefillc 39a819796a MPXH6400 CALIBRATION #3288 2021-09-30 21:34:23 -04:00
rusefi c3173d8624 some cheap used junkyard Accelerometer #2225 2021-09-30 15:18:40 -04:00
Matthew Kennedy 64c9bcd364 bye frequency map (#3285)
* bye freq map

* map.cpp

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-30 00:20:21 -04:00
rusefillc 5bdaa3fbbf individual cylinder fuel trims #3284 2021-09-29 23:51:00 -04:00
rusefillc d97a6ec488 individual cylinder fuel trims #3284 2021-09-29 23:46:30 -04:00
rusefi fbb3ce364a multi spark: random bursts of CUSTOM_OBD_SKIPPED_SPARK = 9009 error code at Abricos's #3223 2021-09-27 17:11:04 -04:00
rusefillc 503818f545 GPPWM usability: no one remembers which one does what fix #3270 2021-09-26 23:19:31 -04:00
rusefillc 20b978084b h-bridge dialog is disabled in TS when it should be enabled 2021-09-26 18:32:15 -04:00
rusefillc c923a93ea6 h-bridge dialog is disabled in TS when it should be enabled 2021-09-26 17:58:02 -04:00
rusefillc 80bfcc006c wow that was a bad setting name 2021-09-26 17:52:29 -04:00
Matthew Kennedy 48da721c49 dead knock code (#3255)
* more unification

* hip stub

* comment

* guard

* channel idx

* include

* hip

* move in to engine

* hip9011

* dead stuff

* dead

* fsio

* lcd

* more dead
2021-09-21 20:40:20 -04:00
rusefillc 072fafa6ad refactoring: not a magic constant 2021-09-18 21:11:04 -04:00
rusefillc dc8caa20bc more firing orders! 2021-09-18 00:18:06 -04:00
rusefillc fef9f363f1 merc128: engine config defaults #3236 2021-09-17 23:10:36 -04:00
rusefillc 65a627f2f8 merc128: engine config defaults #3236 2021-09-17 22:14:12 -04:00
Matthew Kennedy 3a8d92f879 Dwell voltage correction (#3234)
* cfg + impl

* ui

* value_or

* changelog

* fix
2021-09-15 08:07:33 -04:00
rusefi 307fe590f6 refactoring: VR magic constant, should be 3 anyway 2021-09-13 11:07:41 -04:00
Andrey 60fdcbbd99 https://rusefi.com/forum/viewtopic.php?f=5&t=2117 2021-09-12 11:56:12 -04:00
rusefi ed7bb0389b https://rusefi.com/forum/viewtopic.php?f=5&t=2117
Ford TFI PIP
2021-09-11 23:16:22 -04:00
rusefillc fe3910f630 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 21:02:56 -04:00
rusefillc bbd5ce9593 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:52:11 -04:00
rusefillc 39138aba8f SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:45:52 -04:00
rusefillc 1c825d1a04 refactoring: reducing code duplication 2021-09-06 10:57:04 -04:00
rusefillc e1f7315705 Smart ECU: misfire detection #936 2021-09-06 10:03:26 -04:00
rusefillc 0d1b6f3490 hysteresis for GPPWM #3222 2021-09-05 20:16:57 -04:00
Andrey 2dd88eb0dc SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:30:21 -04:00
Andrey b8005132cf SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:22:06 -04:00
rusefillc 1ac86f50a2 my first Lua 2021-09-01 07:47:50 -04:00
rusefillc c850bdf02b my first Lua 2021-09-01 02:43:03 -04:00
rusefillc d005cd6891 my first Lua 2021-09-01 02:37:36 -04:00
rusefillc f20c5272df Subaru svx vvt #3210
helping or not
2021-08-31 04:15:01 -04:00
Matthew Kennedy df5f7552f2 disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 0feb5329a0 less confusing name for vag hellen preset 2021-08-24 16:07:20 -04:00
rusefillc 76dc085abf firing order for some 911 2021-08-24 07:28:56 -04:00
Matthew Kennedy 210aa31ef3 cleanup missing fsio stuff (#3189) 2021-08-24 08:19:03 +03:00
Andrey c0f55292f1 Lua analog inputs 2021-08-22 00:05:51 -04:00
rusefillc b75b50b961 SD-card log fields improvement (warning counter & last code) #3162 2021-08-16 20:54:41 -04:00
rusefillc 5edd78d856 enlarging Lua script in configuration 2021-08-16 06:52:29 -04:00
rusefillc 0fa1451fba enlarging Lua script in configuration 2021-08-16 04:22:51 -04:00
rusefillc 8bf3fa9ecd reducing FSIO in order to enlarge Lua (#3160)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2021-08-15 22:27:07 +03:00
rusefillc 8f9e3ec675 dead FSIO 2021-08-15 02:28:10 -04:00
rusefillc 76c60969fd Nissan progress 2021-08-14 11:21:56 -04:00
Matthew Kennedy e056369f05 actually remove FSIO idle stuff (#3150)
* debug mode

* pid cleanup

* more dead

* more dead

* wow more dead

* much dead many death wow
2021-08-14 09:48:45 +03:00
rusefillc 818cf90a20 dead idle FSIO 2021-08-13 15:01:14 -04:00
rusefillc c775a3185f Pavel says there are issues 2021-08-10 15:57:34 -04:00
rusefillc 61d40b45ae NB2 36 2021-08-10 02:17:33 -04:00
rusefillc 513a2483a3 Implement auto knock threshold sampling #3033 2021-08-09 16:27:31 -04:00
rusefillc 25d5c03558 https://rusefi.com/forum/viewtopic.php?p=41803#p41803 2021-08-09 16:07:38 -04:00
rusefillc 491d8696a5 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:49:31 +03:00
rusefillc ba446252c4 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:47:33 +03:00
Andrey 76412dffde Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Andrey 464400e091 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:06:13 -04:00
rusefillc ad3ee480b6 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:00:51 -04:00
rusefillc 64fb65cd80 hellen-nb-1 2021-08-05 18:05:53 -04:00
Andrey b233a71142 hellen154hyundai 2021-08-03 05:24:09 -04:00
Andrey ea0f105429 Honda K CAN packets #3098 2021-08-02 13:30:51 -04:00
Matthew Kennedy 43915f4116 gppwm vbatt axis (#3088) 2021-07-31 21:20:19 -04:00
rusefillc a3ae49936a genesis coupe 2021-07-28 14:51:29 -04:00
Matthew Kennedy 8ebb7b8f24 discrete VR threshold control (#3061)
* vr pwm

* rename

* scaling and ui

* hellen pin

* s

* math

* ooh, pch

* happy test

* not magic
2021-07-28 07:44:44 -04:00
rusefillc f208c674b8 turbo speed turbospeed input #2935 2021-07-27 17:32:11 -04:00
rusefillc 59c2930e03 poke atlas 2021-07-26 12:22:53 -04:00
rusefillc 946037b2f0 pedal logic #3063 2021-07-25 21:33:43 -04:00
Andrey 94018409de Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 19:20:59 -04:00
rusefillc 1ec27f0e5e Clutch switch inverted options do not invert detected pedal position #3044 2021-07-24 13:24:53 -04:00
rusefillc cf7a6d9ff8 Rename "2 wire wasted" in TS ignition settings #3048 2021-07-24 10:33:42 -04:00
rusefillc ae757b6597 Rename "2 wire wasted" in TS ignition settings #3048 2021-07-24 10:30:38 -04:00
Matthew Kennedy 6ba3c0bace dead (#3016) 2021-07-23 08:31:23 -04:00
rusefi ba358b4326 More human approach to boolean fields #2613 2021-07-21 23:41:34 -04:00
rusefi 3fb839f3e5 nissan vvt 2021-07-21 20:27:23 -04:00
Andrey c00da6349b trailing spark outputs #2931 2021-07-21 19:08:57 -04:00
Matthew Kennedy 0fde085a44 remove TS file read (#3004)
* remove

* more defines

* test

* lots of java

* s
2021-07-21 14:24:53 -04:00
Matthew Kennedy 3fa7a52a84 fan indicators + test buttons (#3002)
* sd bits

* rusefi.input

* second fan bit

* fans
2021-07-20 23:26:06 -04:00
Andrey df13380d84 VH41DE (Japaneese Y32 Variant) firing order 2021-07-20 21:42:38 -04:00
rusefillc 50f3f5ecba flipping presets logic in order to reduce duplication 2021-07-20 11:44:48 -04:00
Andrey 907080a548 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 02:11:09 -04:00
Andrey 1a2389b034 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:46:39 -04:00
Andrey c8d60294a7 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-16 23:17:45 -04:00
Matthew Kennedy b68469822e lua hooks for custom airmass model (#2697)
* lua airmass

* not const any more

* bad merge

* don't change the position of others

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-16 00:49:14 -04:00
rusefi a3fbe71c76 helping console parser 2021-07-13 22:23:55 -04:00
Andrey b120171658 TS progress and todo :( 2021-07-13 14:39:02 -04:00
Andrey 697cf7a716 trigger signal debug pins - logic level output #2959 2021-07-13 14:34:59 -04:00
Andrey cfda02caaf trigger signal debug pins - logic level output #2959 2021-07-13 14:30:46 -04:00
rusefillc 3926caec7c trigger signal debug pins - logic level output #2959 2021-07-13 13:53:06 -04:00
Andrey 2236898066 progress - reducing code duplication 2021-07-12 22:22:01 -04:00
Andrey 213d7c9628 vvt input but no mode should be a fatal #2955
a bit of a relevant improvement?
2021-07-12 20:54:36 -04:00
Andrey 7f47f3a4c0 trailing spark outputs #2931 2021-07-09 10:06:51 -04:00
Matthew Kennedy f169fbf615 trailing spark scheduling (#2932)
* enable bit

* implement trailing sparks

* test trailing spark

* it helps to call the correct function

* add pins

* gobblin ram
2021-07-09 08:37:46 -04:00
rusefi 5418c9065b extra state validation is needed 2021-07-09 00:31:21 -04:00
Andrey 205fb77c0b VAG canned tunes 2021-07-08 20:06:40 -04:00
rusefillc 1cfdf68ecf fix vvt indication #2926
TS project part of the change
2021-07-08 09:37:56 -04:00
Matthew Kennedy 03c6db89f5 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 110322d353 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 7afe6627df Option to log VVT target #2913
boring details
2021-07-06 20:54:39 -04:00
Matthew Kennedy 717d4dd7ac 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 54133f21f8 Option to log VVT target #2913 2021-07-06 20:00:53 -04:00
rusefi 4190657fa2 Nissan 2021-07-05 19:53:55 -04:00
rusefi fd98a631c3 Nissan 2021-07-05 17:57:25 -04:00
Matthew Kennedy 3247d4de00 Gate closed loop idle on road speed (#2901)
* implement

* test

* b

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

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
Andrey b474a6685f https://github.com/rusefi/rusefi/issues/2848
per-board URL into project help
2021-07-03 23:47:23 -04:00
Andrey ed170f7c98 Nissan VVT trigger decoder #2887 2021-07-03 12:06:47 -04:00
Andrey 6eb8ba34b7 Nissan VVT trigger decoder #2887 2021-07-03 11:20:06 -04:00
Andrey 03543b3aad Nissan VVT trigger decoder #2887 2021-07-03 11:12:16 -04:00
Andrey 6c7d2700b3 Nissan VVT trigger decoder #2887 2021-07-01 17:28:52 -04:00
Andrey af01242555 Nissan VVT trigger decoder #2887 2021-07-01 17:03:17 -04:00
Matthew Kennedy 0defaccb15 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 fe6f123be5 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 6343dc2765 fan2 bench 2021-06-23 16:58:58 -04:00
Andrey 57d687cd0f more bench commands into .txt 2021-06-23 14:48:42 -04:00
Andrey 526c436d19 TS Burned All Data engine stop #2839
preparing test case
2021-06-20 23:32:31 -04:00
Matthew Kennedy f28c10e87f 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 05149f5b0c 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 14e1aeac53 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 d3d6c1694a 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 96d28a1029 typo & clarification 2021-06-17 11:38:36 -04:00
rusefillc 0dc84c1799 engine_load_mode_e clarification 2021-06-17 09:49:15 -04:00
Matthew Kennedy f1a95123fb 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 5ae4af23fe 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 675fbbce84 docs 2021-06-16 11:20:14 -04:00
Matthew Kennedy f15a017402 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 63524c3f34 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 f70de3f778 Review default H64 tune #2815 2021-06-13 20:40:28 -04:00
Matthew Kennedy 172b11bfe9 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 322f69474f 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 ba8ad555c2 reverting TCU cherry pick 2021-06-12 13:52:18 -04:00
Andrey 35ceac35c1 helping build 2021-06-12 07:26:16 -04:00
Andrey 6b82c4ebc3 helping build 2021-06-12 07:00:26 -04:00
rusefillc 81444d33e2 TCU cherry 2021-06-12 00:15:19 -04:00
rusefillc 7f498e1992 TCU cherry 2021-06-12 00:10:06 -04:00
rusefillc d298ba1289 TCU cherry 2021-06-11 23:41:23 -04:00
Matthew Kennedy 41104dcca8 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 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Andrey 9e7242befd https://github.com/rusefi/hellen121vag/issues/38 2021-06-05 16:07:30 -04:00
Matthew Kennedy cc0547217c 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 f21fa3e652 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 3157642934 cranking dwell minor progress 2021-05-31 08:12:11 -04:00
Matthew Kennedy 37ada8bf53 simplify/clarify cranking UI (#2778)
* simplify/clarify cranking

* dwell

* ign

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

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

* cleanup 2

* impl

* fix
2021-05-27 08:23:28 -04:00
Andrey 953876cf0f AFR tooltip 2021-05-26 14:11:05 -04:00
Andrey dda6dfc4cf ET_HELLEN_121_VAG_*_CYL 2021-05-25 18:16:03 -04:00
Andrey 22905bd8e0 Override trigger gaps feature #2734 2021-05-23 20:45:01 -04:00
Andrey 765d229efb Override trigger gaps feature #2734 2021-05-23 19:58:03 -04:00
Andrey 62ecef3e3f Override trigger gaps feature #2734 2021-05-23 19:51:00 -04:00
rusefillc c5f93c1173 cranking timing not costant #2733 2021-05-23 14:14:51 -04:00
rusefillc 9b4d8ee320 cranking timing not costant #2733 2021-05-23 13:54:49 -04:00