Commit Graph

739 Commits

Author SHA1 Message Date
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
rusefillc 563f7d9091 https://rusefi.com/forum/viewtopic.php?p=37989#p37989 2020-10-02 14:33:19 -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 f2f1ef81d5 removing third copy of same values 2020-09-28 21:05:20 -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
rusefi aea8441e6a Output pin init/deinit needs a linked list #1803 2020-09-27 07:26:56 -04:00
shadowm60 2d665e2c90 Launch control - experimental (#1816)
* 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.

* enable launch control

make use of already existent code + integration

* Delete compile_frankenso_all.sh

remove it since it is not part of the project

* Update main_trigger_callback.cpp

broke unit_Tests

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
rusefi 84afd503a5 https://rusefi.com/forum/viewtopic.php?f=3&t=1523
disabling second channel for one more trigger
2020-09-22 05:25:11 -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
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
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
Matthew Kennedy eb2bc3201c Selectable AFR axis override (#1771)
* 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

* impl

* unhide option

* fix

* tests
2020-09-08 17:15:18 -04:00
rusefi 1f84f07c71 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:38:51 -04:00
rusefi 3e6ddb72d6 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:04:54 -04:00
rusefi e3929978bc Hellen says cyclic buffer 2020-09-07 11:35:02 -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
rusefi fd9b39d887 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:27:02 -04:00
rusefi f06058f62d Bench-testing for ALL assigned output pins #1758 2020-09-05 23:49:21 -04:00
rusefi ea1fbe14b3 OBD CAN sensors #1733 2020-09-03 23:27:53 -04:00
David Holdeman 51258d2cbc [TCU] TS interface and output channels (#1747)
* add tcu ts outputs

* accidental change?

* rearrange
2020-09-02 13:30:54 -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
Matthew Kennedy 95f858265b detect which cylinder knocked (#1732)
* 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

* multi cylinder knock

* TS

* only sense when running
2020-08-31 21:05:33 -04:00
rusefi 3ee53ddad6 spelling 2020-08-31 17:08:04 -04:00
rusefi 586264e58b https://github.com/rusefi/web_backend/issues/97 2020-08-30 14:58:05 -04:00
rusefi 72060dd68f VVT support for VAG trigger #883 2020-08-29 18:13:00 -04:00
rusefi 4322f78591 verboseVVTDecoding 2020-08-29 17:05:54 -04:00
rusefi eb0e2afbb7 presets 2020-08-29 16:49:56 -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
Matthew Kennedy f20126ba7a more data (#1727)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-24 01:26:33 -04:00
Matthew Kennedy cc25333fae Auto cal dual etb (#1725)
* implement

* add bench mode

* add ts cal mode

* TS impl

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-23 23:41:35 -04:00
Matthew Kennedy fe9e7a07d4 fix (#1724)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-23 23:18:25 -04:00
rusefi 2e9da1387d v12 2020-08-23 15:09:23 -04:00
rusefi 61f9cc6a4a more natural order 2020-08-22 00:03: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
Matthew Kennedy c03e0eb302 add (#1711) 2020-08-21 08:53:23 -04:00
Matthew Kennedy 222a20d2d3 fix crc command (#1705)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-20 07:43:56 -04:00
Matthew Kennedy eb7888fba3 improve (#1702) 2020-08-18 22:37:08 -04:00
Matthew Kennedy 114ffa6cf2 Fuel ts reorder (#1699)
* reorder

* redo injector stuff

* reorder & deadtime limits

* make 2d table bounds reasonable

* more

* only allow bench if not running

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-18 13:51:20 -04:00
rusefi 05b67c1992 tuneCrc16Gauge 2020-08-14 12:46:02 -04:00
rusefi 245e559d8c tuneCrc16Gauge 2020-08-14 12:06:05 -04:00
rusefi 0d0aa3dc4d tuneCrc16Gauge 2020-08-14 09:27:18 -04:00
Matthew Kennedy 57e9a9ed5f break-up-connection 2020-08-08 00:02:53 -07:00
rusefi 65b11ac375 TS SD integration #1653 2020-08-07 21:28:50 -04:00
rusefi 491d4c6abf TS SD integration #1653 2020-08-07 20:16:55 -04:00
rusefi fd680403f0 Console commands are broken fix #1671 2020-08-05 19:57:28 -04: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 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
Matthew Kennedy 1f1243ba95 real names & sensible limits 2020-08-02 15:33:08 -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 88afe5c993 remove tables from TS 2020-07-31 23:29:02 -07:00
rusefi f29046dd10 TS SD integration #1653 2020-07-31 23:53:56 -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 dbad10a253 remove 2020-07-29 01:35:17 -07:00
Matthew Kennedy ea487327e1 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-28 20:25:16 -07:00
rusefi 127c1021c9 aux temperature gauges for TS 2020-07-27 22:50:48 -04:00
rusefi 7eac0b0bf4 Weird VAG: DC motor idle valve not ETB #1637 2020-07-26 14:50:17 -04:00
rusefi 7779d6bacf Weird VAG: DC motor idle valve not ETB #1637
TS project logic
2020-07-26 14:11:48 -04:00
rusefi 27285c621d refactoring 2020-07-26 14:03:31 -04:00
rusefi cc66979dda Weird VAG: DC motor idle valve not ETB fix #1637 2020-07-26 11:04:32 -04:00
rusefi caf49f3ce3 code style 2020-07-24 11:41:45 -04:00
Matthew Kennedy b1de1b5c1e table Y axes 2020-07-23 02:54:24 -07:00
Matthew Kennedy b1747ea48b goodbye plain maf 2020-07-23 02:46:45 -07:00
rusefillc a1d4560394 Merge pull request #1626 from mck1117/ign-load
Use ignition load for ignition
2020-07-22 15:39:34 -04:00
Matthew Kennedy 63afe4ed57 always show that option 2020-07-21 14:07:58 -07:00
rusefi 0f922d809c idle logs usability 2020-07-21 12:35:25 -04:00
Matthew Kennedy ca29e0d342 now unused table 2020-07-21 00:07:49 -07:00
Matthew Kennedy d9e90b7932 ign/fuel load 2020-07-20 23:21:04 -07:00
Matthew Kennedy ef3791b163 update ts 2020-07-20 23:13:50 -07:00
rusefi 09af9cd856 EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806 2020-07-12 17:34:19 -04:00
rusefi 1b813fcc19 sleepingAwake sorry 2020-07-11 14:34:51 -04:00
rusefi fa71f1f034 https://rusefi.com/forum/viewtopic.php?p=37401#p37401 2020-07-10 14:02:50 -04:00
rusefi 99acf6b443 migrate amazing idle from FSIO to less opaque TS #1581 2020-07-08 21:54:56 -04:00
rusefi 1548be81fb making smart idle more useable 2020-07-07 22:19:22 -04:00
rusefi 7561748609 INI Request: rusEFI 2020.07.06.mre_f4.2108843221 #54 2020-07-07 22:05:05 -04:00
rusefi 172d68d238 INI Request: rusEFI 2020.07.06.mre_f4.2108843221 #54 2020-07-07 21:59:23 -04:00
rusefi 1b33c8f417 INI Request: rusEFI 2020.07.06.mre_f4.2108843221 #54 2020-07-07 21:54:43 -04:00
rusefi 524779dc97 INI Request: rusEFI 2020.07.06.mre_f4.2108843221 #54 2020-07-07 21:48:05 -04:00
rusefi eb4485b2cb generated 2020-07-06 01:12:15 -04:00
GitHub build-firmware Action 0ec9c6ad75 Auto-generated configs and docs 2020-07-06 04:50:02 +00:00
GitHub build-firmware Action 0e00ae20a3 Auto-generated configs and docs 2020-07-06 00:06:17 +00:00
GitHub build-firmware Action 9223ad2e3e Auto-generated configs and docs 2020-07-05 22:16:51 +00:00
Matthew Kennedy 1bdc5fbaaa Switch fueling to new axes (#1574)
* switch tables

* missed one
2020-07-05 18:14:55 -04:00
GitHub build-firmware Action 2e85ce82e4 Auto-generated configs and docs 2020-07-05 20:30:05 +00: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
GitHub build-firmware Action 794c088c0f Auto-generated configs and docs 2020-07-05 01:34:13 +00:00
rusefi 7b5f782e91 idle_min through FSIO not working as intended #1553
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
GitHub build-firmware Action cce9ce91d2 Auto-generated configs and docs 2020-07-05 01:09:34 +00:00
GitHub build-firmware Action 98ba8699f2 Auto-generated configs and docs 2020-07-04 20:42:44 +00: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
GitHub build-firmware Action d522ca1da0 Auto-generated configs and docs 2020-07-04 04:32:42 +00:00
GitHub build-firmware Action fff4dd4e8c Auto-generated configs and docs 2020-07-04 04:04:09 +00:00