Commit Graph

673 Commits

Author SHA1 Message Date
rusefillc ca79f99be5 More explicit handling of CPU exhaustion #2093 2020-12-17 22:21:12 -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
Matthew Kennedy d62618c5f8
prototype wideband firmware update (#2074)
* add submodule for firmware

* ts

* add updater

* add bench_test

* don't collide idx

* feature flag

* send acks

* fix timeout logic

* ui

* do it on the bench thread

* guard

* guard

* only do twice

* guard

* bump version

* update

* file name

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
rusefillc 0c9c23f9b2 pnp progress 2020-12-15 00:17:09 -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 42fc199303 "Wastegate position sensor" into logs 2020-12-13 23:03:22 -05:00
rusefi 4a3011601d subi 2020-12-13 13:16:39 -05:00
David Holdeman 1b59375425
Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
rusefillc f32036ee3e Cranking debug 2020-12-11 20:09:36 -05:00
rusefillc 72d02df6c4 throttlePedalPositionSecondAdcChannel to "all pins" 2020-12-11 19:51:01 -05:00
rusefillc c56799172e TS, .ini: "Idle position sensor" missing label in "Wastegate and idle position sensors" menu #2056 2020-12-11 10:04:07 -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
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
Matthew Kennedy 27fee86923
add indicator for tps2 fail (#2016)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
shadowm60 d28276b053
Update rusefi.input (#2000)
vssacceleration should be signed 16bit value
2020-12-02 15:06:36 -05:00
Matthew Kennedy 3258ee0c61
disable legacy temp units (#1998)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-02 14:47:08 -05:00
rusefillc 2415edaec4 fixing two unrelated typos 2020-12-02 14:15:44 -05:00
shadowm60 ecc9c0dc6b
introduce vehicle acceleration in TS (#1997)
* introduce vehicle acceleration in TS

* Update rusefi.input

added gauge as well
2020-12-02 11:12:19 -05:00
shadowm60 6fb745d29c
Launch Control refactoring (#1992)
* refactor

- called from periodicFastCallback
- removed defines

* Update rusefi.input

removed unused configurations.
added clutch inversion option

* Added new tests

fixed limiting only in case we have launch condition and rpm outside of window

* Update launch_control.cpp

Unintialized config update, now it is working fine with VSS and with clutch as well.

* small fixes

updated after review findings

* Fix breaking engine rev limiter

applyLaunchControlLimiting should not overwrite booleans to false!

* Delay timer in seconds

timer uses ms, so convert seconds to ms
2020-12-01 13:03:42 -05:00
rusefillc 6876c1657a docs 2020-11-29 18:12:16 -05:00
rusefillc b982d02298 miata 94 2020-11-28 22:49:28 -05:00
rusefi 292579995c start/stop debug process 2020-11-25 16:44:08 -05:00
rusefillc 46d9eacc7c build-in virtual dyno #1987 2020-11-25 13:16:13 -05:00
rusefi daf1ec83a7 GDI Epic #1448 2020-11-22 00:09:36 -05:00
rusefillc 599f7ceb39 GDI Epic #1448 2020-11-21 22:56:47 -05:00
rusefillc b4e9aba0da GDI Epic #1448 2020-11-21 21:58:56 -05:00
rusefillc 1eeaca50dd GDI Epic #1448 2020-11-20 20:36:48 -05:00
rusefi ec4232d3fa refactoring: TS to match C 2020-11-16 19:09:05 -05:00
rusefi 509d5a0252 GDI Epic #1448
typo
2020-11-15 16:05:10 -05:00
Matthew Kennedy 0e3673e78c
remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -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 633ce0c02b GDI Epic #1448 2020-11-09 21:32:48 -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
rusefi b2263a4151 one step back 2020-11-04 14:49:23 -05:00
rusefi 59a000e7d5 miata TCU 2020-11-04 12:48:07 -05:00
rusefi 1b96af0ab3 TCU minor fix 2020-11-04 00:45:58 -05:00
Matthew Kennedy f9357d209a
fatal error + inhibit read on TS preset (#1922)
* fatal error + inhibit read on preset

* inhibit more stuff when flag is set

* don't need that message

* extract function, improve msg

* changelog entry
2020-11-03 19:03:46 -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 106c91efac fluid gauges 2020-10-28 00:20:35 -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
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
rusefillc f8bfafccf0 GDI Epic #1448 2020-10-22 23:24:15 -04:00