Commit Graph

1091 Commits

Author SHA1 Message Date
Matthew Kennedy 571122d461
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 52e88ade01
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 11c358f65c
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 5f1a13aed4
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 7a90692187
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 7393f13b8a TS bench test trans solenoid buttons #2191
fix?
2021-01-06 13:55:57 -05:00
rusefillc 6ff69df710 TS bench test trans solenoid buttons #2191
reducing pin conflict
2021-01-06 13:47:01 -05:00
David Holdeman 7117c6f5aa
TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
Matthew Kennedy eabb5c7366
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 edee10ee1c
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 0143802d45 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 592799a965 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 040a704ebf reducing magic constants 2021-01-02 16:43:08 -05:00
Matthew Kennedy a2f8600717
cfg (#2176)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 09:14:55 -05:00
rusefillc 2e3d4f1fe8 hellen 2021-01-01 11:17:17 -05:00
rusefillc 39ce53f098 hellen 2021-01-01 00:57:19 -05:00
shadowm60 d49fc7fc71
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 890d014679
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 3d13d03424
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 ba9de3a604
Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
Matthew Kennedy 8737ba62c2
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 65e282f693 ET_PROTEUS_QC_TEST_BOARD 2020-12-22 07:24:30 -05:00
rusefillc e7471c28f2 ET_PROTEUS_QC_TEST_BOARD 2020-12-21 22:19:50 -05:00
rusefillc 1965510f7e https://github.com/rusefi/rusefi/issues/2102 2020-12-18 12:40:08 -05:00
Matthew Kennedy 6151f8c334
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 bd279edd8e pnp progress 2020-12-15 00:09:35 -05:00
rusefillc e98dcfd2f8 more PnP 2020-12-14 23:16:50 -05:00
shadowm60 9d36bab793
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 c97e850c8d "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
rusefillc 49ee4ad78e trigger decode should pay to attention to what wheel signal is coming from #2073 2020-12-13 17:49:24 -05:00
rusefillc 314e9ef580 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi f8ba72cf8a subi 2020-12-13 16:17:31 -05:00
rusefi c16b72d820 "Subaru" 2020-12-12 22:22:29 -05:00
David Holdeman 1b59375425
Fix table (#2062)
* try

* try

* swap labels

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

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
rusefillc 034cb0d173 trigger lifecycle 2020-12-09 12:08:38 -05:00
shadowm60 adf0a97ffc
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 8f5a4e4dae basic hw in the loop - pwm self validation #2028 2020-12-08 05:14:27 -05:00
rusefillc 36f72b56ef basic hw in the loop - pwm self validation #2028 2020-12-08 04:41:07 -05:00
rusefillc 8ed1df4841 basic hw in the loop - pwm self validation #2028 2020-12-07 20:31:02 -05:00
rusefillc 5192ffc64f docs 2020-12-06 17:39:33 -05:00
rusefillc 9f13d39003 MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc edce475841 suby 2020-12-05 22:04:07 -05:00
rusefillc 479dc8598d all triggers should be documented way nicer #2001 2020-12-04 11:37:15 -05:00
rusefillc 49bf25318a 6.1 Hemi V8 decoder #2010 2020-12-04 00:18:40 -05:00
rusefillc accdb6ee6a FORD ST170 CAM TRIGGER PATTERN #2009 2020-12-03 23:23:32 -05:00
rusefillc c55120372b DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
rusefillc 745038c4a7 more dead code 2020-12-03 10:49:20 -05:00
rusefillc 92fe2e5fb9 all triggers should be documented way nicer #2001 2020-12-03 08:42:25 -05:00
rusefillc e7e706b88d all triggers should be documented way nicer #2001 2020-12-03 01:31:52 -05:00
rusefillc 00e85f1409 all triggers should be documented way nicer #2001 2020-12-03 01:19:02 -05:00
rusefillc 7855847a3f all triggers should be documented way nicer #2001 2020-12-03 01:02:17 -05:00
rusefillc 479fcf0174 all triggers should be documented way nicer #2001 2020-12-03 00:19:18 -05:00
rusefillc 1443900c6b all triggers should be documented way nicer #2001 2020-12-02 20:30:47 -05:00
rusefillc 6019672d00 all triggers should be documented way nicer #2001 2020-12-02 20:19:47 -05:00
rusefillc 18cc2e6bac time to bump TS_OUTPUT_SIZE! 2020-12-02 14:10:08 -05:00
rusefillc d5f0948a39 time to bump TS_OUTPUT_SIZE! 2020-12-02 13:38:02 -05:00
rusefi 6f3faaf808 PnP miata 2020-11-30 00:10:29 -05:00
rusefillc c93ba7f3a5 MRE 94 2020-11-28 22:15:13 -05:00
rusefillc 60a785ee76 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:27:56 -05:00
rusefillc 46d9eacc7c build-in virtual dyno #1987 2020-11-25 13:16:13 -05:00
Matthew Kennedy f8a6462967
change to output pin (#1981) 2020-11-22 18:29:41 -05:00
rusefi 0d3267e3a5 GDI Epic #1448 2020-11-22 00:43:45 -05:00
rusefi daf1ec83a7 GDI Epic #1448 2020-11-22 00:09:36 -05:00
rusefillc b4e9aba0da GDI Epic #1448 2020-11-21 21:58:56 -05:00
rusefillc 5ad36e655f DC not ETB refactoring 2020-11-16 19:51:36 -05:00
rusefillc 2a3a2d7191 DC not ETB refactoring 2020-11-16 19:43:00 -05:00
rusefi d3bf7c5c30 GDI Epic #1448 2020-11-15 17:31:53 -05:00
rusefillc 07e25ccf3c 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 02c4d630f6
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 6d5763bb8e field = "useTLE8888 2020-11-10 12:37:15 -05:00
rusefillc d560f01426 GDI Epic #1448 2020-11-09 22:07:52 -05:00
rusefillc 5264edac52 GDI Epic #1448 2020-11-09 21:18:52 -05:00
rusefi d09f17a5b8 docs 2020-11-06 14:35:11 -05:00
andreika-git eb2882857f
Make AFR great again! (#1929)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-11-05 15:35:11 -05:00
rusefillc 49469527f5 poke 2020-11-05 08:04:43 -05:00
rusefi b2320c0d17 miata TCU 2020-11-04 12:44:30 -05:00
rusefillc 13e505589d Output pin init/deinit needs a linked list #1803 2020-11-03 12:18:52 -05:00
rusefillc 4ea91efaef Output pin init/deinit needs a linked list #1803 2020-11-03 11:37:09 -05:00
rusefillc c01c43aab5 GDI Epic #1448 2020-11-02 19:28:46 -05:00
Matthew Kennedy 15d5c872c2
log afr in addition to lambda (#1920)
* log afr

* log it

* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy 66cc63b18a
log target lambda (#1919) 2020-10-30 17:42:00 -04:00
Matthew Kennedy 3e30865e6c
unused tach field (#1918) 2020-10-29 15:26:01 -04:00
rusefillc 0f745b74c1 fluid gauges 2020-10-28 00:16:16 -04:00
shadowm60 71109a0b9e
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 09b41bb1bb
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 a90792fa44
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 9ae6f5c85f
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 d84cd385ce
add Injector pressure sensor (#1898)
* add sensor type

* add config

* initialize injector pressure

* add UI
2020-10-23 15:46:16 -04:00
rusefillc 8e329ff750 gettig ready for Tle8888 big update 1 #1892 2020-10-23 12:23:17 -04:00
Matthew Kennedy 4e249889a6
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 6605877326
gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
Matthew Kennedy 06f92807cc
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 94a6399e56 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 4f74a5fc73 GDI Epic #1448 2020-10-11 17:47:16 -04:00
David Holdeman 29c2d692ee
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 83fe9dae77
ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
rusefillc 0a49ea933e https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:08:52 -04:00
rusefillc ee2a013960 https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:05:47 -04:00
Matthew Kennedy 1bce3aa4c0
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