Commit Graph

1278 Commits

Author SHA1 Message Date
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