Commit Graph

1445 Commits

Author SHA1 Message Date
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
rusefillc 5182b532ff Tooltip and UI updates #2714
cherry-pick
2021-05-21 15:25:49 -04:00
Matthew Kennedy 6bfaed64db lua pwm hooks (#2687)
* pwm hook

* dedicated pins

* write hook

* UI

* more info

* zero based, clamp

* memory

* don't compile lua in bootloader at all
2021-05-20 19:01:17 -04:00
Matthew Kennedy 6d9c0299fb Lua script editor in console (#2699)
* stub

* implement reset

* console

* just use the console command

* cleanup

* s

* s

* ui

* write in chunks

* fix write

* tab size, script read

* parse script properly

* put lua script in flash, tiny for now

* generated fields
2021-05-18 20:58:39 +03:00
Matthew Kennedy f6ddc2c17c Config generator jar (#2716)
* fix test

* jar

* kick config

* guard stuff

* nmea

* nmea

* nmea

* c++ is type safe, which is good

* c++ is type safe
2021-05-17 12:32:59 +03:00
Matthew Kennedy 4b69e7d441 compile gpiochips as cpp (#2702)
* rename

* core

* structing

* more

* makefile

* structing

* 6240 compiles

* explicit cast instead of implicit narrowing

* 8888

* no extern C

* fix tests build

* extern "C"

* 33810

* 8860

* 33810

* linker

* unbreak master

* don't need that if compiling as C++

* bump config

* fix test

* tests

* unit tests bad merge

* build

* move subaru logic to cpp file

* cpp goodness

* hpp include

* this is probably the right thing to do

* simulator
2021-05-17 08:42:56 +03:00
Matthew Kennedy 047f62b2b9 remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy 76f2f063d2 Maf in sensor model (#2672)
* init

* consumers

* hasMafSensor

* consumers

* remove

* remove

* s

* guard

* tiny bit of ram

* ram
2021-05-09 20:59:06 -04:00
Matthew Kennedy d7f9d42e07 Hook up multi bank fuel trim (#2532)
* multi bank trim

* cleaning

* output channels

* output channels
2021-05-08 17:41:50 -04:00
rusefillc ee62134957 More human approach to boolean fields #2613 2021-05-05 10:49:47 -04:00
rusefillc 6a8d1e619b More human approach to boolean fields #2613 2021-05-05 10:02:35 -04:00
Matthew Kennedy 892b03524b Lua debug channels (#2620)
* setdebug hook

* add debug mode

* memory size debug channel

* default script
2021-05-04 10:05:39 -04:00
rusefillc ca4b67dd7b 2021 is the year of Hellen 2021-05-02 18:18:24 -04:00
rusefillc a74984d7ea useFordRedundantTps 2021-04-30 10:57:38 -04:00
rusefillc 5b02073b20 field type into header comment 2021-04-26 17:51:29 -04:00
rusefi 52f11638db support multiple VVT sensors #885 2021-04-25 21:53:56 -04:00
rusefi e4cddbce64 support multiple VVT sensors #885 2021-04-25 21:31:34 -04:00
rusefillc 87e0b28cc4 https://rusefi.com/forum/viewtopic.php?f=16&t=1996 2021-04-25 09:18:35 -04:00
rusefillc 2c0c5b0ace more correct tachPulseDurationAsDutyCycle tooltip and other boring details 2021-04-19 23:48:03 -04:00
rusefillc 8961dcd64e tachPulseDurationAsDutyCycle tooltip 2021-04-19 23:34:07 -04:00
rusefillc 592e8c2467 trigger_type_e 2021-04-18 09:35:52 -04:00
Matthew Kennedy 8bb32b2199 gppwm zero option (#2557)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:08:34 -04:00
Matthew Kennedy d7e95cd31f improve sensor chart flush behavior (#2545)
* disable sensor chart

* type signature, guards

* we can't log the message as that confuses the parser

* dead

* this syntax was technically illegal

* more

* turn it back on

* remove config

* api

* implement

* ui

* java ui
2021-04-12 14:05:52 -04:00
Matthew Kennedy cc8c28f7d2 dfco (#2544)
* dfco

* tool tip
2021-04-12 08:17:17 -04:00
rusefillc 4708f661d4 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:07:15 -04:00
rusefi 02406641c6 trigger and VVT duty cycle integration into limp manager #2523 2021-04-07 16:44:21 -04:00
Matthew Kennedy 7782ebd7b4 Ford redundant ETB tps (#2519)
* ford tps

* configurable maximum

* initialization

* check consistency when in the low range

* print info

* default

* config field

* config parameter

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-05 15:57:03 -04:00
rusefillc e6b7bf2e8d 'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer #2528 2021-04-04 19:56:08 -04:00
Matthew Kennedy b20ead8d18 More binary log fields (#2518)
* gauge names

* binary log

* it only takes scaled channel
2021-04-03 20:28:55 -04:00
Matthew Kennedy f24c15a9a2 More gppwm and fsio (#2509)
* gppwm aux temp

* fsio fuel flow rate and oil pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-29 08:57:37 -04:00
Matthew Kennedy fddd376a3f various TS project improvements, dead config fields (#2504)
* after start enrichment limits

* rework menus and VVT page

* multispark language

* dead fuel pressure field

* vw

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:39:26 -04:00
Matthew Kennedy 204aa33e9a goodbye ignitionOffset (#2503)
* remove

* set the timing map to do what the offset used to do

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:00:09 -04:00
rusefillc bc3cf715c9 Shall we drop "ignitionOffset" feature? #2500
dead code and TS progress
2021-03-27 19:00:35 -04:00
Matthew Kennedy 89cdb7fe89 fix (#2485) 2021-03-23 20:27:10 -04:00
Matthew Kennedy 9b5ec4bdef vvt ui (#2484) 2021-03-23 15:18:36 -04:00
Matthew Kennedy db7856523c barra vvt cam pattern (#2483)
* barra vvt cam pattern

* two tooth sync

* I think this needs to be here too
2021-03-22 07:48:29 -04:00
Matthew Kennedy 2bf833a1ee Usable fuel consumption data/gauges (#2474)
* fuel consumption

* gauge names

* consumers

* obd

* binary logging

* doesn't need explicit constructor

* getters

* it works

* correct for injections per cycle

* datalog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy 5e6746c3aa Implement nonlinear fuel level sender (#2473)
* table function

* config fields

* sensor type

* switch consumers

* init the sensor

* ui

* 1mv resolution

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
rusefillc 99787df047 VAG MQB 2021-03-14 17:27:26 -04:00
rusefillc 35fb69e920 is gen_config invoked too often now? #2387 2021-03-12 23:15:18 -05:00
rusefillc b425804843 is gen_config invoked too often now? #2387 2021-03-12 22:27:16 -05:00
Matthew Kennedy 72214b8b77 default config, UI tweaks (#2444)
* s

* fix this while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
Matthew Kennedy ce3878949c stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
slowriot 9a8c2516ee Add two new V8 firing orders (#2423)
* fix typos, spelling

* add two V8 firing orders

* use the available number of CPU cores, not just 4

* add new firing orders to config

* updating generated files to include new v8 firing orders

* reverting update of auto-generated files

* correct firing order labels for new firing orders
2021-03-05 19:28:17 -05:00
rusefillc 1c56c6a01a typo 2021-02-21 11:01:35 -05:00
rusefillc 88df60db7d aux valve to CI 2021-02-17 23:50:57 -05:00
rusefillc b63cc559fc RPM hard limit depending on CLT #455 2021-02-17 17:33:08 -05:00
Alexey Shkil 097a4739ba [WIP] RPM hard limit depending on CLT #455 (#2268)
* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455
2021-02-17 17:30:05 -05:00
rusefi 27ce354ea3 https://rusefi.com/forum/viewtopic.php?p=39775#p39775 2021-02-14 22:35:59 -05:00
rusefillc 8d74b26beb Gather Nissan CAN data #2278 2021-02-12 20:47:12 -05:00
rusefillc 9ad4cf9ebd M62T vanos support #2243 2021-02-10 21:46:52 -05:00
rusefillc 66cfa9eb68 M62T vanos support #2243 2021-02-10 20:21:05 -05:00
rusefillc c5208c22ca M62T vanos support #2243 2021-02-09 13:58:05 -05:00
rusefillc 5f88ad4562 M62T vanos support #2243
still trying to fix Kinetis
2021-02-09 00:25:02 -05:00
rusefillc f7ad1ae8b7 code generator: better handing of array size 1 2021-02-08 23:47:48 -05:00
rusefillc 8adc54e530 trying to help kinetis by reducing RAM usage back to where it was 2021-02-08 23:21:34 -05:00
rusefillc 8fa1a6530b M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefillc 1da4819663 M62T vanos support #2243 2021-02-08 16:39:21 -05:00
rusefillc c020aed330 M62T vanos support #2243 2021-02-08 14:10:57 -05:00
Matthew Kennedy 353929450a add cfg for lps25 (#2307)
* cfg field

* ui
2021-02-07 07:46:17 -06:00
rusefillc 11e8a35c15 Trigger pattern request Škoda Favorit fix #2302 2021-02-06 20:53:30 -05:00
rusefillc 50fc63a141 Trigger pattern request Škoda Favorit #2302 2021-02-06 19:49:02 -05:00
Matthew Kennedy 9b5fa40d16 add option to disable ETB if engine not spinning (#2280)
* config/ui

* trigger central mods

* implement
2021-02-05 17:19:57 -06:00
rusefillc f4592541dd Gather Nissan CAN data #2278 2021-02-05 11:27:51 -05:00
Matthew Kennedy 7fec313f50 Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
Brenton Hewitt 2ce14cb66e Gm map sensors (#2265)
* GM 2 and 1 Bar Map Sensors

* GM MAP Sensor Selection Options
2021-02-02 08:15:28 -06:00
rusefillc 168b62af0e GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:20:04 -05:00
rusefillc ce62edb56b GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 22:49:49 -05:00
rusefillc 9e878b05d5 spaces into multiplication 2021-02-01 12:11:00 -05:00
rusefillc ca8fa7c56f M62T vanos support #2243 2021-02-01 05:39:25 -05:00
rusefillc e3c15d52db M62T vanos support #2243 2021-02-01 05:31:33 -05:00
rusefillc 1de48af73b M62T vanos support #2243 2021-02-01 00:42:53 -05:00
Matthew Kennedy ace0f4e78c Add fallback map table (#2248)
* table

* sd math

* config

* debug channel name

* ptr vs not ptr

* actually use return value

* memory

* less magic
2021-01-31 17:19:06 -05:00
Matthew Kennedy 654bf0d698 Map fallback logic, TS cleanup (#2247)
* add new field

* UI

* set default

* consume new parameter

* some cleanup while we're at it
2021-01-27 20:31:29 -05:00
Matthew Kennedy c309d1a555 normalize configuration grammar (#2240)
* modify grammar

* add missing typedefs

* these typedefs are easier to handle in the parser

* make the existing parser work with the changed format

* grumble grumble jar

* we can deal with this part later

* handle later

* deal with this later
2021-01-26 21:56:47 -05:00
rusefillc d1f1f6aab3 M62T vanos support #2243 2021-01-26 20:46:50 -05:00
rusefi 8ecbfd01b2 10k docs 2021-01-18 19:18:24 -05:00
rusefi 4dcd8a6308 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:54:18 -05:00
rusefi 82451b6fa3 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:44:31 -05:00
shadowm60 d415c3b790 Vss filter configuration field and param (#2210)
Prep work to introduce biquad filter on vss input to reduce noise on logs and for dynoview as well
2021-01-10 10:14:50 -05:00
Matthew Kennedy 3daa7d4d9a Start support for multi-bank closed loop fueling (#2184)
* cfg

* cell

* N banks

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-10 08:10:49 -05:00
David Holdeman 7bf5dce671 Add TCU Solenoid debug fields (#2202)
* try adding debug fields

* oops

* include

* add labels

* add enum

* add more solenoid

* whoops

* ifdef
2021-01-09 14:12:45 -05:00
andreika-git 3dac7599c4 Hellen72 config (#2200)
* Hellen72 config

* Hellen72 files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy 54a7d32467 Fix fan bench (#2198)
* fix fan, complain if missing bench mode

* more complaining about unexpected codes

* unused
2021-01-07 08:23:31 -05:00
Matthew Kennedy 86d3746453 Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
rusefillc 7bc13d1860 TS bench test trans solenoid buttons #2191
fix?
2021-01-06 13:55:57 -05:00
rusefillc e7359dce3f TS bench test trans solenoid buttons #2191
reducing pin conflict
2021-01-06 13:47:01 -05:00
David Holdeman 3aaa461132 TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
Matthew Kennedy 8608df5450 flex fuel AFR interpolation (#2190)
* config

* implement flex

* secondary fuel default

* test

* test works

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Matthew Kennedy eba6ae2e8f Flex fuel stubs (#2187)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
rusefillc 70c44545f9 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:50:50 -05:00
rusefillc fd5810f6e5 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:06:09 -05:00
rusefillc 8029175ecb reducing magic constants 2021-01-02 16:43:08 -05:00
Matthew Kennedy fbe2f189cd cfg (#2176)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 09:14:55 -05:00
rusefillc 51b51fa8c9 hellen 2021-01-01 11:17:17 -05:00
rusefillc 51b2314b71 hellen 2021-01-01 00:57:19 -05:00
shadowm60 e0d1a57bfd Haltech as dash option (#2165)
* Haltech as dash option

* Update build-firmware.yaml

added generate enums for build-primary-bundle
2020-12-31 12:22:01 -05:00
Matthew Kennedy c1713414d3 update idle UI (#2157)
* redo idle UI

* tooltip update

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:36:07 -05:00
Matthew Kennedy fad3b07b8b Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy 4a95652f88 Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
Matthew Kennedy 85f0621738 Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
rusefillc 27e9eadc16 ET_PROTEUS_QC_TEST_BOARD 2020-12-22 07:24:30 -05:00
rusefillc b160289d44 ET_PROTEUS_QC_TEST_BOARD 2020-12-21 22:19:50 -05:00
rusefillc 3c6e4b4a50 https://github.com/rusefi/rusefi/issues/2102 2020-12-18 12:40:08 -05:00
Matthew Kennedy 1a14746e97 extra data for rusEfi wideband controller (#2082)
* add config

* logic

* remove old

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 18:25:11 -05:00
rusefillc 7d104bff8d pnp progress 2020-12-15 00:09:35 -05:00
rusefillc 4ba369a54d more PnP 2020-12-14 23:16:50 -05:00
shadowm60 480af8b38b Debug channel updates (#2078)
* Debug channel updates

Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are  buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]:    entry = wastegatePosition, "Wastegate position sensor",       float,  "%.3f"

* enum_regeneration

fix build issue?
2020-12-14 08:29:43 -05:00
rusefillc 8c646e71c5 "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
rusefillc 41f35e99f1 trigger decode should pay to attention to what wheel signal is coming from #2073 2020-12-13 17:49:24 -05:00
rusefillc 4c2ea35269 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi 678abc1b24 subi 2020-12-13 16:17:31 -05:00
rusefi c5ee9aa58a "Subaru" 2020-12-12 22:22:29 -05:00
David Holdeman 6ff2a1bd54 Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
Matthew Kennedy cf91351c4a config for second lambda (#2047)
* config

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
rusefillc 922c092372 trigger lifecycle 2020-12-09 12:08:38 -05:00
shadowm60 180bba574d Prepare configurations for SW knock detection (#2046)
* Prepare configurations

- Configurations needed for base noise
- TS usability for base noise definition

* Update rusefi_config.txt

wrong data ype used for base noise
2020-12-08 21:08:59 -05:00
rusefillc d4a8e5852c basic hw in the loop - pwm self validation #2028 2020-12-08 05:14:27 -05:00
rusefillc 0862d76371 basic hw in the loop - pwm self validation #2028 2020-12-08 04:41:07 -05:00
rusefillc a818e3ff05 basic hw in the loop - pwm self validation #2028 2020-12-07 20:31:02 -05:00
rusefillc da513b11b9 docs 2020-12-06 17:39:33 -05:00
rusefillc f868d05dec MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc b62b3331d1 suby 2020-12-05 22:04:07 -05:00
rusefillc 0d7a3de1c0 all triggers should be documented way nicer #2001 2020-12-04 11:37:15 -05:00
rusefillc f1b35b33fa 6.1 Hemi V8 decoder #2010 2020-12-04 00:18:40 -05:00
rusefillc cb43e82879 FORD ST170 CAM TRIGGER PATTERN #2009 2020-12-03 23:23:32 -05:00
rusefillc c9a5a41a2f DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
rusefillc ba0503177c more dead code 2020-12-03 10:49:20 -05:00
rusefillc 5919b22366 all triggers should be documented way nicer #2001 2020-12-03 08:42:25 -05:00
rusefillc 1ac9bd3c5a all triggers should be documented way nicer #2001 2020-12-03 01:31:52 -05:00
rusefillc b5e9c26d4e all triggers should be documented way nicer #2001 2020-12-03 01:19:02 -05:00
rusefillc f5189cb6aa all triggers should be documented way nicer #2001 2020-12-03 01:02:17 -05:00
rusefillc 0a72735c74 all triggers should be documented way nicer #2001 2020-12-03 00:19:18 -05:00
rusefillc a674ad5876 all triggers should be documented way nicer #2001 2020-12-02 20:30:47 -05:00
rusefillc 41224e46ed all triggers should be documented way nicer #2001 2020-12-02 20:19:47 -05:00
rusefillc 90c104e4a0 time to bump TS_OUTPUT_SIZE! 2020-12-02 14:10:08 -05:00
rusefillc c29631bd81 time to bump TS_OUTPUT_SIZE! 2020-12-02 13:38:02 -05:00
rusefi ab0fe12d65 PnP miata 2020-11-30 00:10:29 -05:00
rusefillc a88ab01c25 MRE 94 2020-11-28 22:15:13 -05:00
rusefillc 587975d69e Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:27:56 -05:00
rusefillc 19df8628c5 build-in virtual dyno #1987 2020-11-25 13:16:13 -05:00
Matthew Kennedy 74f4d273b1 change to output pin (#1981) 2020-11-22 18:29:41 -05:00
rusefi 5df5750df2 GDI Epic #1448 2020-11-22 00:43:45 -05:00
rusefi d1de459d0d GDI Epic #1448 2020-11-22 00:09:36 -05:00
rusefillc c3e6bfb5ea GDI Epic #1448 2020-11-21 21:58:56 -05:00
rusefillc 3fef5606ed DC not ETB refactoring 2020-11-16 19:51:36 -05:00
rusefillc c6efcb6013 DC not ETB refactoring 2020-11-16 19:43:00 -05:00
rusefi 2eab666f63 GDI Epic #1448 2020-11-15 17:31:53 -05:00
rusefillc 6f56988469 https://rusefi.com/forum/viewtopic.php?p=38367#p38367
idle position/waste gate position sensor usability
2020-11-14 18:05:27 -05:00
Matthew Kennedy 0fa06e2e2a compensate injector flow based on fuel pressure (#1931)
* injector compensation

* fix

* ui

* testability & comments

* hella testing

* debug channels

* enum value

* auto generated enums

* update comment

* oops too much

* update config fields

* handle failed pressure sensor

* build

* fix

* add some todos for the future

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
rusefillc 232b64292d field = "useTLE8888 2020-11-10 12:37:15 -05:00
rusefillc 66d96eafbd GDI Epic #1448 2020-11-09 22:07:52 -05:00
rusefillc 8c71bf49f1 GDI Epic #1448 2020-11-09 21:18:52 -05:00
rusefi 5efd49bc76 docs 2020-11-06 14:35:11 -05:00
andreika-git 554e1f7927 Make AFR great again! (#1929)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-11-05 15:35:11 -05:00
rusefillc 502102a3bb poke 2020-11-05 08:04:43 -05:00
rusefi 08f621fe79 miata TCU 2020-11-04 12:44:30 -05:00
rusefillc efc9efcc58 Output pin init/deinit needs a linked list #1803 2020-11-03 12:18:52 -05:00
rusefillc 2ab5cfdd1b Output pin init/deinit needs a linked list #1803 2020-11-03 11:37:09 -05:00
rusefillc 238cc8d3f9 GDI Epic #1448 2020-11-02 19:28:46 -05:00
Matthew Kennedy a29f73f467 log afr in addition to lambda (#1920)
* log afr

* log it

* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy c0ed7cab62 log target lambda (#1919) 2020-10-30 17:42:00 -04:00
Matthew Kennedy bcabb51222 unused tach field (#1918) 2020-10-29 15:26:01 -04:00
rusefillc 3677f63737 fluid gauges 2020-10-28 00:16:16 -04:00
shadowm60 3e8c184eba Fix COMPOSITE_DATA_LENGTH_HALF (#1913)
hardcoded value was the only way i could generate correct dataLength in ini file
2020-10-27 08:22:47 -04:00
Matthew Kennedy b8c2041467 Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Matthew Kennedy 6abc80e74c convert mass -> duration later in the pipeline (#1906)
* cranking duration to mass

* implement

* units

* patch types

* suppress warning

* fix output channels

* add note about how to set it
2020-10-26 07:23:13 -04:00
shadowm60 8b92537e2a Trigger logger (#1902)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

* Switched UART DMA on

* Revert "Switched UART DMA on"

This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.

* tooth logger update

Updated the way we send the buffer to TS
Updated the way we log cam signals
removed TDC, inj and ign direct log... this causes some flicker in TS, this way we log inj and ign comapred to a cranck or camshaft trigger.

* Update tooth_logger.cpp

Fix unit_tests

* Update tooth_logger.h

clean-up

* Update tooth_logger.cpp

remove dead code, actually i forgot to uncomment these lines.
rename isTDC to trigger, since it is trigger (cam) for TS.

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-10-25 22:26:20 -04:00
Matthew Kennedy c38eb6d38f add Injector pressure sensor (#1898)
* add sensor type

* add config

* initialize injector pressure

* add UI
2020-10-23 15:46:16 -04:00
rusefillc 804cf7f436 gettig ready for Tle8888 big update 1 #1892 2020-10-23 12:23:17 -04:00
Matthew Kennedy dbdeca93b0 implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
Matthew Kennedy 38b6e9ba2b gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00