Commit Graph

1550 Commits

Author SHA1 Message Date
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
Matthew Kennedy 4d1c331eca second PID config for wastegate (#1889)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests

* consume

* add cfg field

* ui maybe

* fix

* fix

* add wastegate config test
2020-10-19 08:04:27 -04:00
rusefi 4743718663 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
rusefi df378f8f45 GDI Epic #1448 2020-10-11 17:47:16 -04:00
David Holdeman a6a0e8ba77 Simple transmission 2 (#1870)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size

* add to makefile

* fixes

* fixes

* wat

* output pin, and ts stuff

* use SimpleTransmissionController

* include

* grrr

* grrr

* move to separate file

* fix includes

* try

* semicolon stupid

* try pointers

* try

* add to makefile

* wat

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* undo

* more idiomatic maybe

* remove logger

* try init func

* try

* try

* try init fn

* try

* switch

* try

* try

* ifndef

* try

* try

* ifndef

* use def dug

* INJECT FIRST

* try

* try

* duh
2020-10-09 23:34:45 -04:00
Matthew Kennedy 51d407aaf0 ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
rusefillc 6395e22ce6 https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:08:52 -04:00
rusefillc 8e69003080 https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:05:47 -04:00
Matthew Kennedy cca175c6ea Etb function cfg, try again (#1860)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-08 14:12:03 -04:00
rusefillc aee984d0c2 HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

This reverts commit fd7dae8a
2020-10-03 22:00:00 -04:00
rusefillc 6cae262934 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:28:21 -04:00
rusefillc 601865bc4b new VVT trigger shape? #1847 2020-10-03 10:26:05 -04:00
rusefillc 38c1456afb https://rusefi.com/forum/viewtopic.php?p=38001#p38001 2020-10-03 10:04:04 -04:00
Matthew Kennedy fd7dae8ab8 ETB function config (#1831)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-02 20:51:02 -04:00
rusefi f8d5463064 making error codes available 2020-10-01 00:03:54 -04:00
Matthew Kennedy 3e64861c14 display base fuel mass in milligrams (#1838)
* switch to mg

* use the correct thing

* gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 20:19:51 -04:00
Matthew Kennedy 3374db1658 Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
David Holdeman a564ca0526 transmission solenoid control (#1833)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size
2020-09-28 21:39:03 -04:00
rusefi 2836954b9c adding 1+16 trigger 2020-09-28 21:18:47 -04:00
rusefi bfc9ebd730 removing third copy of same values 2020-09-28 20:58:21 -04:00
Matthew Kennedy b79c0fefe5 replace ETB index with function enum (#1807)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit
2020-09-28 16:33:07 -04:00
Matthew Kennedy 9632a784f3 add analog inputs to switches (#1829)
* add analog in to switches

* also clarify boost cut pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-28 14:45:23 -04:00
rusefillc 73171347d0 Update rusefi_config.txt 2020-09-27 11:01:42 -04:00
rusefi c874a6c914 Hellen gen_config #1823 poke 2020-09-27 10:42:01 -04:00
rusefi beb449b755 Hellen gen_config #1823 poke 2020-09-27 09:57:52 -04:00
rusefi 51d9e3178e Hellen config build - poke 2020-09-27 08:50:12 -04:00
rusefi f482b9c43d Output pin init/deinit needs a linked list #1803 2020-09-27 07:37:43 -04:00
rusefi aea8441e6a Output pin init/deinit needs a linked list #1803 2020-09-27 07:26:56 -04:00
rusefi f04278583d https://rusefi.com/forum/viewtopic.php?f=3&t=1523
refactoring
2020-09-22 04:57:43 -04:00
rusefi 64b93c3531 Merge remote-tracking branch 'origin/master' into master 2020-09-20 13:42:53 -04:00
rusefi 4839018977 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:42:37 -04:00
David Holdeman 02a12d76f3 fix type mismatch (#1808)
* fix type mismatch

* comment

* change field

* switch to efitimesec16_t

* add typedef

* add type to configdefinition

* build
2020-09-19 17:17:44 -04:00
Matthew Kennedy d23a48fc53 Dedicated sensors for wastegate + idle position (#1805)
* config

* add sensor

* listen to new adc channels

* fix

* add gauges to TS

* add gauge values

* TS UI
2020-09-18 10:04:07 +03:00
rusefi aeaf67ed01 Hellen says it has more ADC channels 2020-09-17 03:59:50 -04:00
David Holdeman 159e3142ce add shift matrix and pin config (#1798)
* add shift matrix and pin config

* try
2020-09-15 11:34:09 +03:00
Matthew Kennedy ef5cd1f5ad remove (#1789) 2020-09-12 10:35:49 +03:00
David Holdeman 8366e7380f some documentation improvements (#1787) 2020-09-11 20:20:37 -04:00
David Holdeman e8e2cf2cfd DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
Matthew Kennedy c2eb7c9f4a remove tach output pin (#1779)
* remove from cfg

* cfg

* rip out impl

* efi gpio
2020-09-09 16:52:23 -04:00
Matthew Kennedy f077479be4 minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
rusefi 63a9bf49c5 Bench-testing for ALL assigned output pins #1758 2020-09-09 02:41:11 -04:00
rusefi 3e6ddb72d6 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:04:54 -04:00
rusefi 1c53780acc Hellen says "drv8860" 2020-09-07 10:47:40 -04:00
Matthew Kennedy 8adfef930f Selectable VE axis override (#1769)
* add config fields

* config options

* new output channels

* dump out state to ts

* s

* implement override

* enums

* this test is no longer used

* test new behavior

* old

* comments
2020-09-07 10:15:42 -04:00
Matthew Kennedy 4802a47d23 reorder ADC channel index (#1763)
* change config

* correct logic

* clearing these no longer needed

* test expected this to be set
2020-09-06 18:25:26 -04:00
rusefi fd9b39d887 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:27:02 -04:00
rusefi 436f7d092b Bench-testing for ALL assigned output pins #1758 2020-09-06 00:07:05 -04:00
rusefi f06058f62d Bench-testing for ALL assigned output pins #1758 2020-09-05 23:49:21 -04:00
rusefi 89a0e96bad migrate amazing idle from FSIO to less opaque TS #1581 2020-09-05 23:36:03 -04:00
rusefi ea1fbe14b3 OBD CAN sensors #1733 2020-09-03 23:27:53 -04:00
David Holdeman 0f10703649 [TCU] GearController and TransmissionController base classes (#1749)
* add tcu ts outputs

* accidental change?

* add tcu base classes

* rearrange

* accidental change?

* add files

* missing backslash

* undo accidental change

* buttonshift includes, targets, and init

* Revert "buttonshift includes, targets, and init"

This reverts commit 1b0630511e1948f3d330d74be5bff6c087f118fb.

* use unused bit

* add return documentation

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2020-09-02 15:39:50 -04:00
rusefi 43cf48cdb2 borrowing a few lines from https://github.com/chuckwagoncomputing/rusefi/tree/tcu-base-classes 2020-09-02 15:32:03 -04:00
Matthew Kennedy 96a9c7f4c4 Multiple knock sensors (#1745)
* fw

* cfg fields

* fix order

* ui for channel select

* clarify

* comments

* config
2020-09-02 07:19:02 -04:00
rusefi 09deed583a [TCU] manual shift buttons #1597 2020-08-30 15:38:40 -04:00
rusefi 16f1d5a31b Tokenisation of multipler expressions #1735 2020-08-30 15:31:22 -04:00
rusefi ba09df69f4 Tokenisation of multipler expressions #1735 2020-08-30 15:09:34 -04:00
rusefi b1a35234fb OBD CAN sensors #1733 2020-08-30 09:16:37 -04:00
rusefi 296197e637 VAG 2020-08-29 18:57:17 -04:00
rusefi c72131849a VVT support for VAG trigger #883 2020-08-29 17:58:43 -04:00
rusefi 5da1af9ca7 VVT support for VAG trigger #883 2020-08-29 17:46:01 -04:00
rusefi 02ea6ddbc0 verboseVVTDecoding 2020-08-29 16:59:55 -04:00
rusefi 3250f324d8 steps towards presets 2020-08-29 16:44:57 -04:00
rusefi 405dc9974e reducing autotest mess 2020-08-29 15:34:42 -04:00
rusefi 3faa8df371 reducing autotest mess 2020-08-29 15:05:54 -04:00
rusefi 47912b9d28 DODGE_NEON_2003_CRANK 2020-08-29 15:01:24 -04:00
Matthew Kennedy 1b07647e72 Software knock detection (#1730)
* s

* science

* set pin mode

* turn stuff off so it fits

* filtering maybe

* filtering actually works

* generate filter parameters internally

* shorter window

* guard behind enable flag

* use checked in filter

* add biquad reset

* tracing

* const

* exec order

* do it from a thread

* smaller buffer, comment

* configure with header

* only for proteus

* oops

* unused

* not needed

* guards

* pin config

* don't need that include

* precook filter steady state

* define sample rate

* config enable switch
2020-08-28 21:13:50 -04:00
rusefi 77bb2310a7 VVT support for VAG trigger #883 2020-08-27 00:43:23 -04:00
rusefi 5718d93c44 another attempt at dead code 2020-08-25 15:58:56 -04:00
Matthew Kennedy cb13cad49d remove old alphan option (#1722) 2020-08-23 20:36:22 -04:00
Matthew Kennedy 5a151d7bb2 fix (#1714) 2020-08-21 21:52:19 -04:00
Matthew Kennedy ad42a17207 Configurable stoichiometric ratio (#1710)
* configurable stoich ratio

* afr table always in gas afr

* default

* typo

* use defined ratio

* do it in config too

* missed a spot

* oops wrong one

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 19:43:30 -04:00
Matthew Kennedy 207aafe262 harmonize blocking factor (#1709)
* harmonize blocking factor

* static assert
2020-08-21 14:12:28 -04:00
rusefi 4681aad25a reducing code duplication 2020-08-19 21:05:08 -04:00
rusefi 4cd5f146f4 bugfix - PPS second channel was not initialized 2020-08-19 00:46:57 -04:00
rusefi 92f0b76869 https://github.com/rusefi/web_backend/issues/73
toolset progress
2020-08-14 15:56:59 -04:00
rusefi 89e8062ffe progress 2020-08-13 12:17:35 -04:00
rusefi f2d4ace881 trigger and VSS hw integrated testing #1668 2020-08-08 17:29:12 -04:00
rusefi 64a9440bc0 trigger and VSS hw integrated testing #1668 2020-08-08 11:45:02 -04:00
rusefi fe1760f001 trigger and VSS hw integrated testing #1668 2020-08-08 11:29:48 -04:00
rusefi ac7caf3228 TS SD integration #1653 2020-08-05 20:43:16 -04:00
kon ffb30eb0b1 Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-04 21:30:46 -07:00
kon 010d8ec6d4 well that was painless 2020-08-04 21:30:04 -07:00
rusefi 0b57bd8390 progress 2020-08-04 23:18:35 -04:00
rusefi f27c1a3faf TS SD integration #1653 2020-08-04 18:59:33 -04:00
kon bd85698688 rearranged bits so they consecutively form a byte 2020-08-04 13:26:05 -07:00
kon e84f3b13bd Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-04 13:22:07 -07:00
Matthew Kennedy fc28ee175d xml 2020-08-03 12:04:01 -07:00
Matthew Kennedy 95c17a60d4 Merge remote-tracking branch 'upstream/master' into remove-table 2020-08-03 12:02:24 -07:00
kon b093813594 Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-02 19:48:36 -07:00
rusefi 64d18d3b11 TS SD integration #1653 2020-08-02 22:04:58 -04:00
rusefi d3574a544e Merge remote-tracking branch 'origin/master' 2020-08-02 21:38:46 -04:00
rusefi e634564a8a TS SD integration #1653 2020-08-02 21:38:32 -04:00
Matthew Kennedy 539ac80a53 hvolt limits 2020-08-02 16:21:45 -07:00
Matthew Kennedy 1f1243ba95 real names & sensible limits 2020-08-02 15:33:08 -07:00
kon 60b8151cb2 this might do 2020-08-02 11:30:38 -07:00
rusefi b45a8ead30 poke 2020-08-02 13:38:27 -04:00
rusefi 7b637e09ff @kon here you are 2020-08-02 13:35:14 -04:00
kon 9dbf9372cb Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-02 10:34:58 -07:00
rusefi 92b19fb686 @kon here you are 2020-08-02 13:29:05 -04:00
rusefi f237edc675 HOWTO custom 2020-08-02 13:25:53 -04:00
kon 603c4124fe this should be better... 2020-08-02 10:15:06 -07:00
kon df47cae9fa fixed some config errors 2020-08-02 09:32:26 -07:00
kon da262d9076 added secondary can config 2020-08-01 20:58:14 -07:00
rusefillc cd9844132d Merge pull request #1632 from mck1117/remove-plain-maf
goodbye, plain maf
2020-08-01 09:16:38 -04:00
Matthew Kennedy bee944dc32 reclaim config space 2020-07-31 23:30:28 -07:00
rusefi 0be21ae06e TS SD integration #1653 2020-07-31 21:17:44 -04:00
rusefi 015a6bce3f let's enlarge... outputs area 2020-07-31 20:08:26 -04:00
Matthew Kennedy 7009c82993 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-31 14:56:29 -07:00
Matthew Kennedy 61519e24b1 log second tps 2020-07-30 11:31:49 -07:00
rusefi 278cda992c NA6 progress 2020-07-29 14:53:36 -04:00
Matthew Kennedy ea487327e1 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-28 20:25:16 -07:00
kon 5498fe424e tiny typo 2020-07-27 22:10:29 -07:00
kon eab5db4b14 getting config ready for PR 2020-07-27 21:40:50 -07:00
kon da8385f628 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-07-27 20:06:27 -07:00
rusefi 4015f29949 docs 2020-07-27 09:45:52 -04:00
kon f760f951a1 updated TS terminology 2020-07-26 21:58:22 -07:00
rusefi c69547a63c Weird VAG: DC motor idle valve not ETB #1637
clarification
2020-07-26 14:57:42 -04:00
rusefi 0302be40ed Weird VAG: DC motor idle valve not ETB #1637 2020-07-26 10:54:51 -04:00
Matthew Kennedy 0784905a5f add cfg field 2020-07-26 02:54:27 -07:00
Matthew Kennedy eda3fd020a alphan 2020-07-25 01:14:35 -07:00
Matthew Kennedy 5e762ad258 add new options 2020-07-23 02:51:08 -07:00
Matthew Kennedy b1747ea48b goodbye plain maf 2020-07-23 02:46:45 -07:00
Matthew Kennedy ca29e0d342 now unused table 2020-07-21 00:07:49 -07:00
rusefi 5b913c68ba fixing crankingIACposition digits 2020-07-19 12:18:30 -04:00
rusefi 5630aa1963 STRING support for java fields 2020-07-18 19:30:49 -04:00
rusefi 103a44052c STRING support for java fields 2020-07-18 19:19:28 -04:00
rusefi 5a18989c5a progress 2020-07-14 21:34:59 -04:00
rusefi 09af9cd856 EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806 2020-07-12 17:34:19 -04:00
rusefi 8dbcb1ff5d proxy progress 2020-07-10 22:09:51 -04:00
rusefi 5482d99776 docs 2020-07-10 16:04:13 -04:00
rusefi fa71f1f034 https://rusefi.com/forum/viewtopic.php?p=37401#p37401 2020-07-10 14:02:50 -04:00
rusefi 776c45ff16 docs 2020-07-09 15:58:38 -04:00
rusefi 5184b5af53 migrate amazing idle from FSIO to less opaque TS #1581 2020-07-07 23:01:14 -04:00
rusefi 1548be81fb making smart idle more useable 2020-07-07 22:19:22 -04:00
rusefi 6774620a7b test for https://github.com/rusefi/web_backend/issues/54 2020-07-07 21:32:00 -04:00
rusefi 7c6e90e424 something was broken? 2020-07-06 02:05:34 -04:00
rusefi 8fbc572be9 and now I need to get all this working again 2020-07-06 01:29:00 -04:00
rusefi 26aaac4d10 SHORT_BOARDNAME becomes BUNDLE_NAME 2020-07-06 00:48:43 -04:00
rusefi f76f444e0e PROTOCOL_SIGNATURE_PREFIX 2020-07-05 20:01:37 -04:00
Matthew Kennedy c60b425ef0 plumb new load channels (#1573)
* wire up new channels

* add deprecation comment

* add gauges

* these tables are indeed used in those modes

* simplify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-05 16:25:19 -04:00
rusefi 15d135824f idle_min through FSIO not working as intended #1553 2020-07-04 21:08:14 -04:00
Matthew Kennedy bd14fe28ca Add ign & fuel load fields (#1568)
* add to code

* output channels size

* rusefi.input

* java offsets

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-04 16:40:31 -04:00
Matthew Kennedy 784f990c56 fix maf gauge scaling (#1566)
* div by 10

* define ratio

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-03 23:06:00 -04:00
rusefi 7f40d2fb56 JPh is looking to use TLE output for stepper EN 2020-07-03 15:09:15 -04:00
rusefi 6d16f27745 FEATURE REQ: aux temperature inputs #332 2020-07-03 14:54:48 -04:00
rusefi 229c3629ad FEATURE REQ: aux temperature inputs #332 2020-07-03 14:44:22 -04:00
rusefi 0ed0e7f2eb poke 2020-07-02 14:24:42 -04:00
andreika-git 8b84243dae Gen config refactor 2 (#1560)
* gen_config refactor, part II

* short board defines

* oops

* comment & undef

* define QUOTE

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 12:33:31 -04:00
rusefi f1aec1cb0e progress 2020-06-30 20:59:44 -04:00
rusefi 0def695771 progress 2020-06-30 20:55:30 -04:00
rusefi d04142c7bd MRE defaults button 2020-06-30 20:20:19 -04:00
rusefi f19e2d22ca all fields should have TS info 2020-06-30 15:21:31 -04:00
rusefi 326ca459b0 all fields should have TS info 2020-06-30 15:18:30 -04:00
rusefi d507abede9 unified padding naming 2020-06-29 21:43:59 -04:00
andreika-git da2917deca Ini signature generation (#1539)
* ini signature generator

* sh->bash

* decimal fix

* octal fix

* fix shell arrays

* use the new -signature option instead of -prepend

* /bin/sh

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-28 13:39:09 -04:00
rusefi b97f2c4994 poke for progress 2020-06-28 12:15:00 -04:00
rusefi 15c56d55fd "RPM Upper setting to deactivate IAC PID" not working as expected #1542 2020-06-28 10:09:04 -04:00
rusefi b80b977af2 isDoubleSolenoidIdle 2020-06-27 19:41:35 -04:00
andreika-git fcf5bef7f7 gen_config is no more lazy (#1541)
* gen_config: replace lazyFile with timestamp checks

* board_generator: use LazyFile

* fix romraider and TOTAL_CONFIG_SIZE

* merge

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-27 14:23:51 -04:00
Matthew Kennedy cf624a7ab1 support 1-3-2 firing order (#1537)
* support 1-3-2

* oops

* correct TS

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-26 09:07:43 -04:00
rusefi b8aeb78275 reducing code duplication 2020-06-21 22:16:49 -04:00
rusefi 195bd00c14 reducing confusion 2020-06-21 22:12:06 -04:00
rusefi 25647af426 reducing code duplication 2020-06-21 22:06:09 -04:00
rusefi 9ad0d5f386 ROE progress 2020-06-20 22:33:13 -04:00
rusefi 025ac28a2c REO progress 2020-06-20 18:36:58 -04:00
rusefi ba184e390c Only two .ini files got auto-generated #1519 2020-06-19 00:28:50 -04:00
rusefi 9fcdcf25d4 BUG? handleCrc32Check does not use 'offset' parameter #1429 2020-06-19 00:17:05 -04:00
rusefi a676c2fe25 docs 2020-06-18 18:34:38 -04:00
rusefi 8293a92632 TS project: hide all invalid entries #1505 2020-06-17 20:33:17 -04:00
rusefi 5b0e4bc795 TS project: hide all invalid entries #1505 2020-06-17 16:49:14 -04:00
rusefi 95f0c1e1d1 TS project: hide all invalid entries #1505 2020-06-17 12:53:37 -04:00
rusefi 91b80cabb7 REO progress 2020-06-14 18:47:58 -04:00
rusefi 14ede84e8d REO progress 2020-06-14 18:39:05 -04:00
kon 9af150bd41 BMW E90 Kombi (#1494)
* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* post rebase/merge fixes

* more rebase/merge fixes

* even more rebase/merge fixes

* more fixes, removed auto-gen files

* removed more auto-gen files...
2020-06-14 16:59:43 -04:00
rusefi 3225665382 MLQ code duplication & docs 2020-06-14 14:46:24 -04:00
rusefi d5dd873ed7 REO progress - binary logs 2020-06-14 14:07:42 -04:00
rusefi cec672905c MLQ code duplication & docs 2020-06-14 13:38:14 -04:00
rusefi f3727cdd1b MLQ code duplication & docs 2020-06-14 13:07:06 -04:00
rusefi a76bc3c207 reducing discrepancy 2020-06-13 23:53:53 -04:00
rusefi ff8f0731fd a few unneeded properties 2020-06-13 22:46:10 -04:00
rusefi 68773c0a67 unused parameter 2020-06-13 22:30:43 -04:00
rusefi 1f623ea858 CAN docs 2020-06-09 22:44:43 -04:00
rusefi c573915f0a WOW that's funny 2020-06-01 08:04:55 -04:00
rusefi 0c63e749cd useFSIO6ForRevLimiter 2020-06-01 07:55:42 -04:00
Matthew Kennedy 16a2839ad9 Post-stft cleanup (#1478)
* unused old fuel PID

* fix units

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-01 07:05:40 -04:00
Matthew Kennedy d0e5b8674f Integrate stft (#1475)
* code changes

* missed a spot

* update UI

* gauge name

* adjust gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
rusefi 0d0f8f6c60 progress 2020-05-31 14:05:03 -04:00
rusefi 22314eee90 reducing constant dupliation 2020-05-31 13:40:48 -04:00
rusefi e5c839b5b1 extracting protocol constants 2020-05-30 12:23:27 -04:00
rusefi dc267fe2b5 [Feature Request] Transmission Control #1454
two bytes of progress
2020-05-29 21:00:19 -04:00
Matthew Kennedy c95ed26d89 Remove old thermistor implementation (#1458)
* remove test clt/iat

* remove warning since this code is nearly dead

* remove old therm impl

* tests & live doc

* not quite right
2020-05-28 17:51:33 -04:00
rusefi 18eeb5d5a4 more of the same 2020-05-27 23:18:33 -04:00
rusefi 56e2f4572c connecting time units 2020-05-26 01:08:21 -04:00
rusefi 7d8236a6b3 composite log for console 2020-05-26 00:07:18 -04:00
rusefi f4e69143a2 reusing constants 2020-05-25 19:30:02 -04:00
rusefi deb91c7fbd TS commands reuse 2020-05-25 18:49:35 -04:00
rusefi 56c9d3ac40 proteus v12 progress 2020-05-24 13:27:14 -04:00
Matthew Kennedy 45d3d861f4 add second boudns (#1469) 2020-05-23 10:45:15 -04:00
rusefi 63edd3fe8f progress 2020-05-22 01:16:55 -04:00
rusefi 74ede6db64 would this help? 2020-05-22 00:25:48 -04:00
rusefi b6e784e310 MRE pre-sets 2020-05-21 21:00:34 -04:00
rusefi 9b1082f187 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp
2020-05-20 21:22:46 -04:00
rusefi 5c01179e25 GDI fields 2020-05-20 02:18:23 -04:00
rusefi bdec4cffa9 [Feature Request] Transmission Control #1454 2020-05-20 01:13:56 -04:00
rusefi d8a200d839 fixing master 2020-05-19 11:55:20 -04:00
rusefi 6a762017c2 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-05-19 08:33:18 -04:00
rusefi 9358df2b75 mc33 timing 2020-05-19 08:33:01 -04:00
rusefi 56faab272f hard-coding NB2 OEM sensor 2020-05-18 01:39:41 -04:00
rusefi 9d535f4ce6 reducing magic constant copy/paste & MAP dialog progress 2020-05-18 01:15:13 -04:00
rusefi 4605259d9c VVT progress 2020-05-15 21:10:15 -04:00
rusefi eab3f8f2b7 nicer handling of main relay in MRE.ini file 2020-05-15 12:05:09 -04:00
rusefi 03a632f3a7 VVT_INACTIVE 2020-05-14 23:13:32 -04:00
dron0gus 624ed955db triggers: add Subaru SVX trigger (3 sensors) (#1433) 2020-05-14 20:40:47 -04:00
rusefi 6fe2f7c38f mck1117:secondary-tps-config progress 2020-05-10 10:11:51 -04:00
rusefi db8d11739d removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi 18229d27c0 more makes 2020-05-09 23:59:10 -04:00
rusefi 9c01614a46 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi 64a07c77b8 LED docs 2020-05-09 17:25:46 -04:00
rusefi b7f56732de docs 2020-05-09 00:56:26 -04:00
rusefi caa4a790f9 placing parts of confusion closer together 2020-05-09 00:16:48 -04:00
rusefi 74d5799626 refactoring: extracting magic constant 2020-05-08 22:05:44 -04:00
rusefi edc5dbbc58 default engine make/code 2020-05-08 17:31:03 -04:00
rusefi 7073a629da getting deeper into the rabbit hole 2020-05-07 13:06:39 -04:00
Matthew Kennedy 424a86be7b short term fuel trim: part 2 (#1405)
* add tooltip

* add other direction to deadband

* add impl

* test partitioning

* makefile

* wrong comment

* fix include
2020-05-07 08:52:32 -04:00
rusefi 46a56f3799 Merge remote-tracking branch 'origin/master' 2020-05-07 00:56:22 -04:00
rusefi c0ce8b1b22 field useful for rusEFI online catalog 2020-05-07 00:55:59 -04:00
Matthew Kennedy 55159cae44 short term fuel trim: part 1 (#1402)
* add cell

* add stft cell tests

* add bit

* minimally generate

* config defaults
2020-05-06 21:00:40 -04:00
rusefi 9d05182ae1 magic is around the corner 2020-05-06 14:00:08 -04:00
Matthew Kennedy 6f3736f246 Rewrite boost control in new closed loop framework (#1342)
* rewrite boost

* test

* fix build

* tests

* open loop test

* test closed loop

* fix names

* typo

* tests

* mock boost setOutput

* needs more virtual

* fix boost logic

* switch to TPS based open loop

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:40:42 -04:00
rusefi e904b63ec0 vehicleName TS field 2020-05-05 15:12:12 -04:00
Matthew Kennedy 10903c4659 remove "plain MAP" mode (#1398)
* consumers

* enums, input, config

* java

* default config cleanup
2020-05-05 15:04:55 -04:00
rusefi 9b0a65efad progress - firing order logic to be re-evaluated every time we generate 2020-05-04 23:54:28 -04:00
rusefi d35ecea765 Nick says we need this MAP sensor 2020-05-04 19:08:36 -04:00
rusefi da415c7c8d docs 2020-05-03 02:10:27 -04:00
rusefi 6a8ec58b94 docs 2020-05-03 00:04:22 -04:00
rusefi 0261bd09ec docs 2020-05-02 23:02:54 -04:00
rusefi 812184a572 reducing confusion? 2020-05-02 22:06:11 -04:00
Matthew Kennedy 5ac535c5e5 Support 4 h-bridges (#1392)
* update dc motor api

* add more etbio

* get out of two arrays

* hand generate enough

* forgot engine param

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-02 17:54:28 -04:00
rusefi 5b3d7da10b we need aux voltage in addition to aux temp 2020-05-02 15:29:28 -04:00
rusefi a07ac78b4e docs 2020-05-01 17:21:26 -04:00
Matthew Kennedy 1e3e630367 Add raw gauges to sensor config pages (#1390)
* clt

* iat

* minor cranking

* fix

* oilp too

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 18:44:34 -04:00
Matthew Kennedy 7b590173b5 fsio settings -> 2 decimals (#1388)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 16:05:20 -04:00
rusefi 65fde14800 Add firing order fix #1385 2020-04-29 16:46:59 -04:00
Matthew Kennedy fefafd61b8 TPS Auto Calibration with ETB (#1382)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* guard for ECUs without ETB
2020-04-28 19:31:41 -04:00
Matthew Kennedy dee2568fd5 Minor ETB improvements (#1381)
* fix pid reset and pedal failure

* pause control later

* test pauseEtbControl

* update tooltip + field name

* update test
2020-04-28 16:52:40 -04:00
rusefi e313bc18e3 amazing flex fuel progress 2020-04-27 16:07:40 -04:00
rusefi 6480d6ac29 docs 2020-04-26 21:41:03 -04:00
Matthew Kennedy 738e53442d General purpose PWM: implementation & tests (#1366)
* config

* significant digits

* renumber enum, no need for a "none"

* ui

* impl base

* error handle MAP

* init & update

* don't need arg

* don't lie about sensor

* fix test build

* test stub

* initialize

* null check

* fix clamping

* test output

* types & enums

* don't need param

* test getOutput

* fix

* output pin instead of brain pin

* default config
2020-04-26 14:06:28 -04:00
Matthew Kennedy 9bf1d5aad3 TS protocol framing for auto tune/calibration features (#1370)
* rearrange

* fix enum

* too much

* format

* enough generate for CI

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-26 14:06:09 -04:00
Matthew Kennedy f55556fb49 General purpose PWM: configuration fields (#1365)
* config

* significant digits

* renumber enum, no need for a "none"

* ui
2020-04-25 17:17:58 -04:00
Matthew Kennedy 67ea0368c9 Remove scheduler debug pins (#1359)
* trigger gen refactoring

* missed one

* remove microsecond timer debug pins

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 23:13:05 -04:00
Matthew Kennedy 39c84378eb don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi 8f554e7a52 tle8888 modes corrected 2020-04-23 19:39:59 -04:00
rusefi b607400984 TLE8888 mode flexibility 2020-04-23 16:57:37 -04:00
rusefi 6bf8e0deed different take on remove warning message in tune #1347 2020-04-22 19:07:42 -04:00
shadowm60 1d230a1b32 can_dash fix for w202 + TS enum (#1346) 2020-04-22 14:24:38 -04:00
rusEfi 35ffb13ca4 TS to show warning text 2020-04-19 21:42:00 -04:00
shadowm60 b327d1db5f Prep TS for VSS over CAN (#1329)
TS update

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-04-19 18:23:06 -04:00
kon 6cf1340880 aux serial config files (#1326) 2020-04-19 15:04:59 -04:00
rusefi c1a4bd857b TT_HONDA_K_12_1 2020-04-19 14:23:01 -04:00
rusefi d74e7f5d11 progress towards renix 66-2-2-2 2020-04-19 09:59:55 -04:00
rusefi 6816b38371 FSIO RPN progress 2020-04-18 21:01:23 -04:00
rusefi 711c7c970a Fresh generated - auto 2020-04-18 16:40:59 -04:00
Matthew Kennedy 3bc5824efd unused config field (#1314) 2020-04-18 07:57:28 -04:00
Matthew Kennedy 80f0c7e101 ETB pedal map scale (#1316) 2020-04-18 07:55:33 -04:00
rusefi 44a5840bcf dreaming about 63 volts 2020-04-15 21:28:44 -04:00
rusefi 3115755236 fresh for ETB and engine sniffer usability idea 2020-04-15 18:24:26 -04:00
rusefi ae0cc21ca3 multi-channel Tuner Studio tooth logger #1284 2020-04-13 20:47:54 -04:00
rusefi f6986e604f MC flag0 2020-04-13 19:01:22 -04:00
Matthew Kennedy bf7ed3b4da add new config (#1290) 2020-04-13 09:21:51 -04:00
rusefi 0f5e1505a0 i think we better be explicit about buffer size? 2020-04-12 23:59:24 -04:00
rusefi 167f484d8f multi-channel Tuner Studio tooth logger #1284
reducing magic constants
2020-04-12 19:10:36 -04:00
Matthew Kennedy 9bbb7bc497 etb autotune (#1274)
* Astrom-Hagglund

* enums

* comments

* dead

* fix

* changed enum

* ts guard

* safety

* etb autotune debug channels

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:15:49 -04:00
rusefi 44ef63e102 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
Matthew Kennedy 1a59950240 support ETB disable pin (#1273)
* config & hand gen

* board configs

* add dc motor support

* initialization

* also set duty to zero

* use disable in etb

* fix proteus default

* add TS fields

* I guess we needed 8 bytes

* :D

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
rusefi cb2b699db6 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
rusefi e673281a9d set_cj125_cs_pin & set_cj125_heater_pin 2020-04-08 22:37:00 -04:00
rusefi 7c4b4894cc isCJ125Verbose 2020-04-08 22:12:33 -04:00
rusefi a85b2f8989 fresh 2020-04-08 21:43:05 -04:00
Matthew Kennedy 3abd181f6f CLT/IAT/Aux in the new sensor world (#1269)
* hook up clt

* init test

* probably fix test

* aux temp

* relax checking

* more significant figures

* remove old aux temp

* hand generate

* claim RAM

* move to ccm

* subscribe

* info printing

* warnings

* raise high voltage failure threshold

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
Matthew Kennedy 95ef31da67 Goodbye, old TPS (#1266)
* clear out tps

* boost control

* aux valves

* launch, aux valves

* unused field
2020-04-05 19:33:33 -04:00
rusefi 5993a6a7f0 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 8badc4cca3 remove ETB controlPinMode (#1260) 2020-04-04 08:41:45 -04:00
rusefi add38e4f24 extracting magic constant 2020-04-03 16:06:21 -04:00
Matthew Kennedy 7e4f4ca97e Replace hasPedalPositionSensor (#1245)
* remove

* add Sensor::hasSensor

* consume in etb

* remove unused state

* don't use it there either

* format

* fix up tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
rusefi f2dafeefe0 CAN progress 2020-03-31 20:08:30 -04:00
rusefi f559976a19 CAN progress 2020-03-31 16:52:52 -04:00
rusefi fe604f71b8 CAN progress 2020-03-31 16:49:19 -04:00
rusEfi a3588f64fa v12 & dual-TPS 2020-03-30 01:13:02 -04:00
rusefi 8a3e47d9e6 refactoring + MAP broadcast consumption 2020-03-29 21:15:06 -04:00
rusefi d8fa2f449a ETB progress 2020-03-29 10:29:33 -04:00
rusefi 84e0e1b6e9 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusefi 79e5059c5a critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi bd3b616d1f no longer relevant 2020-03-28 19:02:46 -04:00
rusefi f08b1542b0 AfterStart Enrichment #1230 2020-03-27 12:13:12 -04:00
Matthew Kennedy 7645e033eb un-generate (#1228) 2020-03-26 11:52:19 -04:00