Commit Graph

1646 Commits

Author SHA1 Message Date
rusefillc f0184caa5a https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 20:17:26 -05:00
rusefillc 87bc1b7467 lua is like a virus but not really 2021-12-05 18:19:01 -05:00
rusefillc 2f45ed205c MAP phase sensing #3544
option to look for high and low peaks
2021-12-05 14:25:26 -05:00
rusefillc 6384b12f48 lua is like a virus but not really 2021-12-05 14:25:26 -05:00
rusefillc 8d20854ba3 tune via CAN #3361
better constant name
2021-12-04 22:29:53 -05:00
rusefillc 241f0402bd tune via CAN #3361
one step back - sandbox reads signature again!
2021-12-04 21:57:45 -05:00
rusefillc 5fc9daa46e tune via CAN #3361
better way to reuse constants between C++ and java
2021-12-04 19:12:51 -05:00
rusefillc 5896a5d8c5 MAP phase sensing #3544
need to skip
2021-12-04 17:49:04 -05:00
rusefillc 004f28a60a MAP phase sensing #3544 2021-12-04 17:19:35 -05:00
rusefillc 7a7a89ae78 poke for Matt 2021-12-02 01:09:55 -05:00
rusefillc 98a0fc3d07 why so many channels are hidden in debug ? #3614
space for new sensor
2021-11-28 20:55:16 -05:00
rusefillc 51f16894d0 docs 2021-11-28 20:19:05 -05:00
Matthew Kennedy a071e2a168
verbose CAN bits picker (#3628)
* verbose bits picker

* s
2021-11-28 14:59:26 -05:00
Matthew Kennedy 71aff73081
not industrial (#3627) 2021-11-27 19:27:57 -05:00
Matthew Kennedy d5363b814a
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 cbd5650dcf automation around outputs section #197 2021-11-26 15:53:01 -05:00
Andrey 0ec8b8d46c reliable 32/2 trigger shape 2021-11-25 20:45:58 -05:00
Andrey ca17ba34df proper vvt name 2021-11-25 20:08:18 -05:00
Matthew Kennedy 992689ced5
bye (#3609) 2021-11-24 22:03:17 -05:00
Andrey 1f019c434e MAP phase sensing #3544 2021-11-24 21:28:49 -05:00
rusefillc f6c88cf4e9 fixing broken test? 2021-11-24 13:25:29 -05:00
rusefillc 794ec5e2b8 well Lua wants to be BIG 2021-11-23 16:40:04 -05:00
rusefillc a369e7e3d3 unusedLogFormat 2021-11-22 13:37:06 -05:00
rusefillc 66043a5daf automation around outputs section #197 2021-11-21 09:35:37 -05:00
rusefillc 907c955625 automation around outputs section #197 2021-11-20 14:38:50 -05:00
rusefillc 8cc775e6b6 automation around outputs section #197 2021-11-20 14:27:21 -05:00
rusefillc 0e89992c38 automation around outputs section #197 2021-11-20 13:30:25 -05:00
Scott Smith 5bc1949aef
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 684622e476 debug mode for skipped count for 4 cylinders #3570 2021-11-19 07:02:21 -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 b16f970dcb automation around outputs section #197 2021-11-18 19:46:17 -05:00
rusefillc 12fda6be9f automation around outputs section #197 2021-11-18 19:34:46 -05:00
rusefillc 5c20e1d52c automation around outputs section #197 2021-11-18 00:05:27 -05:00
rusefillc 29469f02d0 automation around outputs section #197 2021-11-17 23:51:58 -05:00
Andrey 0cc88ec6e2 Not all launch control options are used #3554 2021-11-15 21:13:01 -05:00
rusefi 89ab20c35c Epic: Remove FSIO #2928 2021-11-14 14:14:43 -05:00
rusefillc e01aa6139b script settings need names! 2021-11-14 11:45:37 -05:00
rusefillc f279f3275d script settings need names! 2021-11-14 11:40:33 -05:00
rusefillc 297f01444d Epic: Remove FSIO #2928 2021-11-14 10:47:40 -05:00
rusefillc c22215cea7 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
rusefillc 9ce65aa6cb Epic: Remove FSIO #2928 2021-11-14 09:34:45 -05:00
rusefillc f755bff2a1 Epic: Remove FSIO #2928 2021-11-14 09:34:19 -05:00
rusefillc 60841f4486 Epic: Remove FSIO #2928 2021-11-14 09:21:04 -05:00
rusefillc f0b1971908 Epic: Remove FSIO #2928 2021-11-14 08:38:11 -05:00
rusefillc a9bcce88d0 script settings need names! 2021-11-13 22:47:46 -05:00
Matthew Kennedy d591a5ad26
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 14953c55dd
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 562ab174d7 Bench Test IAC Valve fails #3534
that's not even funny
2021-11-11 20:39:01 -05:00
Andrey 0a7d276110 https://rusefi.com/forum/viewtopic.php?f=13&t=2206 2021-11-11 18:31:54 -05:00
rusefillc 2794a85ff8 Idle valve outputs not available in TS #3523 2021-11-10 20:40:42 -05:00
Andrey 84b6a744b0 names for tables similar to curve names 2021-11-07 09:58:35 -05:00
Matthew Kennedy 899795e712
simplify signature.h generation (#3480)
* simplify

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

* extraneous semicolon

* binary
2021-11-06 09:12:43 -04:00
Scott Smith f9e36f5ea4
Configuration for HPFP control algorithm. (#3475) 2021-11-05 23:15:35 -04:00
Scott Smith 16378dcf59
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 eb781f38b4
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 3348c0404b
configurable etb maximum (#3469)
* etb maximum

* update tests and test new behavior
2021-11-05 18:16:19 -04:00
Matthew Kennedy 2b9696442e
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 8e5d65978a
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 365691cb37
nissan 4yl crank pattern (#3462)
* refactoring nissan trigger

* comments

* plumbing

* b
2021-11-05 07:15:03 -04:00
rusefillc 0d0a9bbe5e more curves! also names for curves 2021-11-04 23:27:48 -04:00
rusefillc 77be92e2c3 more curves! also names for curves 2021-11-04 23:22:37 -04:00
rusefillc 423d61ec45 more curves! also names for curves 2021-11-04 22:56:54 -04:00
rusefi 433d526ee5 turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
Matthew Kennedy 24224729a3
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 ea5296bf5e pieces of Ts tips update2 #3446 2021-11-03 16:56:21 -04:00
rusefillc b80f802196 docs 2021-11-03 16:56:21 -04:00
Matthew Kennedy 980a7cc833
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 5b35aa8f21
log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
Andrey d4ba9b78d2 TPS decel is pretty weird?! 2021-10-30 21:46:15 -04:00
rusefillc 5166b55d37 file was renamed 2021-10-30 16:45:39 -04:00
rusefillc c62fedbe34 Override trigger gaps feature #2734 2021-10-30 10:45:32 -04:00
Matthew Kennedy 59e7c34fac
tooltip (#3428) 2021-10-29 15:45:03 -04:00
rusefillc 5f4fa50682 VVT is no longer aux pid 2021-10-28 23:51:46 -04:00
Andrey a1d2da7f4b https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 14:18:08 -04:00
rusefi 123b91a6e7 Merge remote-tracking branch 'origin/master' 2021-10-26 17:02:21 -04:00
rusefi 8c32625eb8 Honda K cam wheels #3405 2021-10-26 17:02:09 -04:00
Matthew Kennedy 8ed6d3bfa2
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 558a6d01fc
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 e5c364d6eb generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 12:18:46 -04:00
Andrey 08684e4d18 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 23:41:12 -04:00
Andrey 0d4057ba17 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 23:23:06 -04:00
rusefi 0f4c726aa0 https://www.rusefi.com/forum/viewtopic.php?f=18&t=2170 2021-10-24 18:22:01 -04:00
Andrey e0a67896c5 Honda K cam wheels #3405 2021-10-24 16:10:56 -04:00
rusefillc 4eb08b43bc progress 2021-10-24 15:30:10 -04:00
Andrey 0cc81374cf generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 12:54:42 -04:00
rusefillc de6388b254 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 09:06:38 -04:00
rusefillc 628be34e99 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 08:25:40 -04:00
rusefillc 923f5d1a6c generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:42:22 -04:00
rusefillc 29faddf338 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:40:14 -04:00
rusefillc 7a50126d46 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:02:41 -04:00
rusefillc c45003060c generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:00:04 -04:00
rusefillc 3f3a17e366 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 21:47:03 -04:00
rusefillc cd86102042 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 20:24:21 -04:00
Matthew Kennedy 7da3a8116d
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 f215dfdf51 respond to 'Q follow-up #3383 2021-10-20 15:44:45 -04:00
rusefillc eb05f4594e very old very dead code 2021-10-20 12:57:07 -04:00
rusefillc 0d5e605f75 Aux analog inputs via CAN #3378 2021-10-19 20:04:03 -04:00
rusefillc 3a7013a72c Aux analog inputs via CAN #3378 2021-10-19 19:48:18 -04:00
rusefillc 55a6de05ba validate field name duplicates at least sometimes 2021-10-16 23:02:06 -04:00
rusefillc 7d7da0f4f5 poke 2021-10-16 22:46:17 -04:00
rusefillc 456b6618b5 Remove engine load acceleration enrichment fix #3357 2021-10-16 22:07:06 -04:00
rusefillc 61e2b3d5db Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -04:00
rusefillc 4cc1c352c2 better file locations 2021-10-16 20:17:01 -04:00
rusefillc 970d8f7f84 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 4393988599 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 01d4b7ef7a Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 15:18:13 -04:00
rusefillc ff864ec0bf 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
rusefillc 6f3a453dc9 Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 00:30:54 -04:00
rusefillc a882b72170 Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353 2021-10-14 00:21:29 -04:00
Matthew Kennedy eb5024d6d8
mpxh6400 (#3347)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-12 16:01:04 -04:00
rusefillc 2a87208380 hyundai 2021-10-11 12:37:24 -04:00
rusefi 7682ba7417 Hyundai 2021-10-09 23:35:28 -04:00
rusefi 5eeae65d37 Hyundai 2021-10-09 16:24:38 -04:00
Andreika bc4a068c9c
[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 d917cc8cc2
[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 f32a49825d miata 36-1 trigger basemap (#3126) 2021-10-06 00:33:29 -04:00
rusefillc 49e87825f9 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 00:19:33 -04:00
rusefillc 8682f4dfe7 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-05 16:10:29 -04:00
Matthew Kennedy a3bc507f9b
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 9806373dac
dead map (#3316) 2021-10-04 18:33:10 -04:00
rusefillc 88b66ebe82 https://rusefi.com/forum/viewtopic.php?f=5&t=2143 Suzuki G13B tooth pattern 2021-10-04 11:06:54 -04:00
Matthew Kennedy f6d492121e
shrink multi cylinder map average buffer (#3315)
* halve

* add tooltip, rename UI
2021-10-04 07:50:17 -04:00
rusefillc b2f3108ea9 rusEFI console logs are missing some fields #3314 2021-10-03 23:48:01 -04:00
rusefillc db2717093e rusEFI console logs are missing some fields #3314 2021-10-03 22:29:41 -04:00
rusefillc ac9e86fa00 proteus adapters 2021-10-02 11:31:05 -04:00
Andrey 8e26002462 proteus adapters 2021-10-02 11:19:09 -04:00
Matthew Kennedy 114109bd83
dead mock iat/clt (#3293)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-01 09:20:08 -04:00
rusefillc f4dbcbf84f MPXH6400 CALIBRATION #3288 2021-09-30 21:53:31 -04:00
rusefillc f9f15e28d6 MPXH6400 CALIBRATION fix #3288 2021-09-30 21:44:50 -04:00
rusefillc aedc586017 MPXH6400 CALIBRATION #3288 2021-09-30 21:34:23 -04:00
rusefi 760bbb707b some cheap used junkyard Accelerometer #2225 2021-09-30 15:18:40 -04:00
Matthew Kennedy 4b6a67f8f0
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 c01ed3e916 individual cylinder fuel trims #3284 2021-09-29 23:51:00 -04:00
rusefillc bb721e14a4 individual cylinder fuel trims #3284 2021-09-29 23:46:30 -04:00
rusefi 62b712be5c 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 40ff37d9b7 GPPWM usability: no one remembers which one does what fix #3270 2021-09-26 23:19:31 -04:00
rusefillc f458279a35 h-bridge dialog is disabled in TS when it should be enabled 2021-09-26 18:32:15 -04:00
rusefillc f4541f3fb7 h-bridge dialog is disabled in TS when it should be enabled 2021-09-26 17:58:02 -04:00
rusefillc eae541f2d0 wow that was a bad setting name 2021-09-26 17:52:29 -04:00
Matthew Kennedy 8cd132b8a8
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 0d01faf37c refactoring: not a magic constant 2021-09-18 21:11:04 -04:00
rusefillc c4ff0cd19d more firing orders! 2021-09-18 00:18:06 -04:00
rusefillc 092cca03ab merc128: engine config defaults #3236 2021-09-17 23:10:36 -04:00
rusefillc 67026ee8ea merc128: engine config defaults #3236 2021-09-17 22:14:12 -04:00
Matthew Kennedy 520d81d75c
Dwell voltage correction (#3234)
* cfg + impl

* ui

* value_or

* changelog

* fix
2021-09-15 08:07:33 -04:00
rusefi c37e6cc9b4 refactoring: VR magic constant, should be 3 anyway 2021-09-13 11:07:41 -04:00
Andrey 301f5e7ec4 https://rusefi.com/forum/viewtopic.php?f=5&t=2117 2021-09-12 11:56:12 -04:00
rusefi 48c516f9f7 https://rusefi.com/forum/viewtopic.php?f=5&t=2117
Ford TFI PIP
2021-09-11 23:16:22 -04:00
rusefillc 5341b18b05 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 21:02:56 -04:00
rusefillc a0ef90985d SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:52:11 -04:00
rusefillc 1828dd9ba4 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:45:52 -04:00
rusefillc fa397fb078 refactoring: reducing code duplication 2021-09-06 10:57:04 -04:00
rusefillc 16bf7e9b0e Smart ECU: misfire detection #936 2021-09-06 10:03:26 -04:00
rusefillc 58c2bf8930 hysteresis for GPPWM #3222 2021-09-05 20:16:57 -04:00
Andrey f666e78466 SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:30:21 -04:00
Andrey e7f731d405 SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:22:06 -04:00
rusefillc 22a0b88872 my first Lua 2021-09-01 07:47:50 -04:00
rusefillc bf8a6f9b40 my first Lua 2021-09-01 02:43:03 -04:00
rusefillc b917394354 my first Lua 2021-09-01 02:37:36 -04:00
rusefillc 3edbf6af95 Subaru svx vvt #3210
helping or not
2021-08-31 04:15:01 -04:00
Matthew Kennedy 6407e74ae2
disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 3ff56adcee less confusing name for vag hellen preset 2021-08-24 16:07:20 -04:00
rusefillc 24ff3a5cd5 firing order for some 911 2021-08-24 07:28:56 -04:00
Matthew Kennedy d2b54428c0
cleanup missing fsio stuff (#3189) 2021-08-24 08:19:03 +03:00
Andrey 49faaaff03 Lua analog inputs 2021-08-22 00:05:51 -04:00
rusefillc bedf692e99 SD-card log fields improvement (warning counter & last code) #3162 2021-08-16 20:54:41 -04:00
rusefillc ebc1842b8e enlarging Lua script in configuration 2021-08-16 06:52:29 -04:00
rusefillc 528b5d939f enlarging Lua script in configuration 2021-08-16 04:22:51 -04:00
rusefillc 22e24da6c0
reducing FSIO in order to enlarge Lua (#3160)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2021-08-15 22:27:07 +03:00
rusefillc 5db8254eb7 dead FSIO 2021-08-15 02:28:10 -04:00
rusefillc 2ee27df8bb Nissan progress 2021-08-14 11:21:56 -04:00
Matthew Kennedy 2ad4a9df1e
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 36bb91f93f dead idle FSIO 2021-08-13 15:01:14 -04:00
rusefillc e91702c656 Pavel says there are issues 2021-08-10 15:57:34 -04:00
rusefillc 4d12224590 NB2 36 2021-08-10 02:17:33 -04:00
rusefillc f9dfcc8b9a Implement auto knock threshold sampling #3033 2021-08-09 16:27:31 -04:00
rusefillc 1c8fd98036 https://rusefi.com/forum/viewtopic.php?p=41803#p41803 2021-08-09 16:07:38 -04:00
rusefillc 5959a2e0ac Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:49:31 +03:00
rusefillc 0764ba66e1 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:47:33 +03:00
Andrey 08dff4ceb6 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Andrey 2541b70c30 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:06:13 -04:00
rusefillc 4372c2a298 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:00:51 -04:00
rusefillc f3b29de32f hellen-nb-1 2021-08-05 18:05:53 -04:00
Andrey 54b3a40c50 hellen154hyundai 2021-08-03 05:24:09 -04:00
Andrey e9faf06bfd Honda K CAN packets #3098 2021-08-02 13:30:51 -04:00
Matthew Kennedy ab49f61a83
gppwm vbatt axis (#3088) 2021-07-31 21:20:19 -04:00
rusefillc cf0fe81e32 genesis coupe 2021-07-28 14:51:29 -04:00
Matthew Kennedy 5373594bb7
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 3f36e73dd7 turbo speed turbospeed input #2935 2021-07-27 17:32:11 -04:00
rusefillc 577fb0f4af poke atlas 2021-07-26 12:22:53 -04:00
rusefillc 8f203efdba pedal logic #3063 2021-07-25 21:33:43 -04:00
Andrey a63c55e394 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 19:20:59 -04:00
rusefillc 09e7aa2160 Clutch switch inverted options do not invert detected pedal position #3044 2021-07-24 13:24:53 -04:00
rusefillc 366e9caed0 Rename "2 wire wasted" in TS ignition settings #3048 2021-07-24 10:33:42 -04:00
rusefillc 754571e386 Rename "2 wire wasted" in TS ignition settings #3048 2021-07-24 10:30:38 -04:00
Matthew Kennedy 2368e90ae7
dead (#3016) 2021-07-23 08:31:23 -04:00
rusefi 2e58611e4f More human approach to boolean fields #2613 2021-07-21 23:41:34 -04:00
rusefi e0512e4284 nissan vvt 2021-07-21 20:27:23 -04:00
Andrey 1b4f0fb11f trailing spark outputs #2931 2021-07-21 19:08:57 -04:00
Matthew Kennedy 0f0b84a6db
remove TS file read (#3004)
* remove

* more defines

* test

* lots of java

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

* rusefi.input

* second fan bit

* fans
2021-07-20 23:26:06 -04:00
Andrey 7c6d280c9c VH41DE (Japaneese Y32 Variant) firing order 2021-07-20 21:42:38 -04:00
rusefillc 0f694205fd flipping presets logic in order to reduce duplication 2021-07-20 11:44:48 -04:00
Andrey 0dc99a3124 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 02:11:09 -04:00
Andrey d16d6dd58d kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:46:39 -04:00
Andrey 277bb7a907 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-16 23:17:45 -04:00
Matthew Kennedy e830a99275
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 bf957a05a0 helping console parser 2021-07-13 22:23:55 -04:00
Andrey fb1a60e0ba TS progress and todo :( 2021-07-13 14:39:02 -04:00
Andrey a260cc007d trigger signal debug pins - logic level output #2959 2021-07-13 14:34:59 -04:00
Andrey 3bfd3d7e55 trigger signal debug pins - logic level output #2959 2021-07-13 14:30:46 -04:00
rusefillc 5156c9e5d1 trigger signal debug pins - logic level output #2959 2021-07-13 13:53:06 -04:00
Andrey 0aa83dffbf progress - reducing code duplication 2021-07-12 22:22:01 -04:00
Andrey 775a66fad6 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 74e3da0813 trailing spark outputs #2931 2021-07-09 10:06:51 -04:00
Matthew Kennedy 86683afca2
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 7785a508b2 extra state validation is needed 2021-07-09 00:31:21 -04:00
Andrey b6ebc7c23e VAG canned tunes 2021-07-08 20:06:40 -04:00
rusefillc da613e65dc fix vvt indication #2926
TS project part of the change
2021-07-08 09:37:56 -04:00
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