Commit Graph

2227 Commits

Author SHA1 Message Date
rusefi a2ec524c29 better QC procedure 2020-09-19 16:07:09 -04:00
rusefi be7ea7e068 docs 2020-09-19 04:38:59 -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
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
rusefi 437d74e479 Hellen says merge #1772 Kinetis needs more help 2020-09-10 22:02:02 -04:00
rusefi 6726e11579 Hellen says merge #1772 progress 2020-09-10 21:26:21 -04:00
rusefi e289977e37 Hellen says merge #1772 main relay progress 2020-09-10 21:11:02 -04:00
Matthew Kennedy f077479be4 minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
David Holdeman ffb5e0b1e4 switch start/stop to ButtonDebounce (#1777) 2020-09-09 08:22:15 +01: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 f70c4b7a54 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine_configuration.cpp
2020-09-07 15:55:43 -04:00
rusefi 20dfacb521 Hellen says merge #1772 misc #2 2020-09-07 15:53:26 -04:00
rusefi 1eeb65214d Hellen says merge #1772 import idle
(cherry picked from commit 2bed967b32)
2020-09-07 15:11:50 -04:00
rusefi 2bed967b32 Hellen says merge #1772 import idle 2020-09-07 15:08:54 -04:00
rusefi 5243811711 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine.h
#	firmware/hw_layer/drivers/drivers.mk
#	firmware/hw_layer/stepper.h
#	firmware/integration/rusefi_config.txt
#	firmware/tunerstudio/rusefi.input
#	simulator/simulator/efifeatures.h
2020-09-07 15:02:11 -04:00
rusefi f6d735cdd2 Hellen says merge #1772
Hellen says stepper

(cherry picked from commit 4bc18ee475)
2020-09-07 14:45:41 -04:00
rusefi 4bc18ee475 Hellen says merge #1772
Hellen says stepper
2020-09-07 14:41:04 -04:00
GitHub build-firmware Action f6c24a2e71 Auto-generated configs and docs 2020-09-07 14:17:40 +00: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 f55fee38b4 microRusEFI used as Body Control Module BCM BCU 2020-09-06 19:43:54 -04:00
Matthew Kennedy a3db817f6e Move ve logic (#1762)
* move ve

* fix build

* fix rendering

* duh

* cleaning

* correct scaling

* put some back

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-06 19:06:32 -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
Matthew Kennedy fc02c2bdf4 fix broken master, inject engine ptr to rpmcalculator (#1759)
* fix

* oops
2020-09-05 18:49:42 -04:00
rusefi c476cd3b95 refactoring 2020-09-03 19:29:15 -04:00
David Holdeman 5d84ddfa01 [TCU] Button Shifting (#1750)
* add buttonshift files

* buttonshift includes, targets, and init
2020-09-02 20:17:58 -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 8b172324a2 OBD-II default rate is 500kbps 2020-09-01 22:24:25 -04:00
Matthew Kennedy bad69c812e move lambda in to sensor model (#1736)
* lambda sens

* fix init

* fix

* a test for good measure

* he's climbin in your windows, snatchin you ram up

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -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
Matthew Kennedy 0f95d8fd71 fix #1740 the right way (#1741)
* fix

* put that back
2020-08-31 21:05:04 -04:00
rusefi 70dae6eb4c Default Biquad settings broke MRE QC configuration #1740 2020-08-31 13:07:49 -04:00
rusefi 76816602a4 Default Biquad settings broke MRE QC configuration #1740 2020-08-31 12:36:28 -04:00
rusefi 6401b94399 this does not go as planned :( 2020-08-31 07:45:52 -04:00
rusefi 7e304fdca9 HW_CHECK_MODE is not well? 2020-08-31 06:43:47 -04:00
rusefi 5da1af9ca7 VVT support for VAG trigger #883 2020-08-29 17:46:01 -04:00
rusefi b19ffa7075 TriggerConfiguration getPrintPrefix 2020-08-29 17:25:42 -04:00
rusefi 4322f78591 verboseVVTDecoding 2020-08-29 17:05:54 -04:00
rusefi eb0e2afbb7 presets 2020-08-29 16:49:56 -04:00
rusefi c30065c8f5 reducing autotest mess 2020-08-29 15:41:09 -04:00
rusefi 8d024f4579 BCM 2020-08-29 14:29:34 -04:00
rusefi 1d2a75b427 Merge remote-tracking branch 'origin/master' 2020-08-29 12:52:26 -04:00
rusefi 00ddb7b966 BCM 2020-08-29 10:06:14 -04:00
GitHub build-firmware Action e44968d62b Auto-generated configs and docs 2020-08-29 13:42:30 +00:00
rusefi 240df29e12 BCM 2020-08-29 09:41:02 -04:00
GitHub build-firmware Action 9488253b89 Auto-generated configs and docs 2020-08-27 04:44:53 +00:00
rusefi 77bb2310a7 VVT support for VAG trigger #883 2020-08-27 00:43:23 -04:00
rusefi ed3eaf319c VVT support for VAG trigger #883 2020-08-27 00:06:10 -04:00
rusefi e46681f552 VVT support for VAG trigger #883 2020-08-26 23:35:11 -04:00
rusefi 866374bf29 VVT support for VAG trigger #883 2020-08-26 13:30:55 -04:00
GitHub build-firmware Action de2b6794bc Auto-generated configs and docs 2020-08-25 22:59:48 +00:00
rusefi 27c75b4d57 Merge remote-tracking branch 'origin/master' 2020-08-25 16:26:22 -04:00
rusefi 22f6063d9f VVT support for VAG trigger #883 2020-08-25 16:19:23 -04:00
GitHub build-firmware Action 8d24169d68 Auto-generated configs and docs 2020-08-25 20:01:04 +00:00
rusefi 5718d93c44 another attempt at dead code 2020-08-25 15:58:56 -04:00
rusefi d817bdd428 Revert "removing a bit of dead code?"
This reverts commit a90a9247
2020-08-25 15:50:50 -04:00
rusefi a90a924766 removing a bit of dead code? 2020-08-25 15:19:37 -04:00
rusefi b64c9bd9d3 VVT support for VAG trigger #883 2020-08-25 13:14:46 -04:00
rusefi 627d20c436 VVT support for VAG trigger #883 2020-08-25 12:45:25 -04:00
GitHub build-firmware Action 17cc6d8916 Auto-generated configs and docs 2020-08-25 05:40:39 +00:00
rusefi 536fb52365 oh, here it is 2020-08-25 01:38:56 -04:00
GitHub build-firmware Action 3a6af2ac19 Auto-generated configs and docs 2020-08-25 05:26:05 +00:00
rusefi 1b49c57bc1 VVT support for VAG trigger #883 2020-08-25 01:24:15 -04:00
rusefi 7d53f5859d VVT support for VAG trigger #883 2020-08-25 00:59:07 -04:00
rusefi bdbee0d38b VVT support for VAG trigger #883 2020-08-24 02:01:50 -04:00
rusefi 0f9e8bf83e VVT support for VAG trigger #883 2020-08-24 01:21:42 -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 8d1f0dbe90 don't call tach from trigger, call from periodic fast (#1704)
* tacho

* fix tests
2020-08-21 15:36:43 -04:00
rusefi 0c4d29808d gimme my preset! 2020-08-19 20:40:10 -04:00
Matthew Kennedy ff12321ba0 inject fuel & injector models so they can be mocked (#1697)
* stub injector model

* tests

* inject fuel/injector models

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 17:03:59 -04:00
Matthew Kennedy f5036a9f84 Add injector model class (#1687)
* stub injector model

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 05:22:25 -04:00
rusefi c705fedf2f HW CI CRITICAL error: Invalid airmass mode #1690 2020-08-13 22:08:59 -04:00
rusefi d1216b3b76 HW CI CRITICAL error: Invalid airmass mode #1690 2020-08-13 12:49:48 -04:00
Matthew Kennedy f722ced7a9 safety 2020-08-12 22:18:56 -07:00
Matthew Kennedy 2ca5f90613 simplify fuel math 2020-08-11 20:35:10 -07:00
Matthew Kennedy 1e406509a2 fix 2020-08-10 21:53:45 -07:00
Matthew Kennedy 4ac3ded498 consume 2020-08-10 21:41:03 -07:00
Matthew Kennedy 259a541c74 add fuel computer 2020-08-10 21:40:19 -07:00
rusefi 3c94ec8133 self-stimulation RPM is wrong by 50% if switching from NA6 to NB2 configuration fix #1682 2020-08-08 17:00:14 -04:00
rusefi ae606a6380 trigger and VSS hw integrated testing #1668 2020-08-08 12:03:24 -04:00
rusefi 64a9440bc0 trigger and VSS hw integrated testing #1668 2020-08-08 11:45:02 -04:00
rusefi 4bbb5b8762 trigger and VSS hw integrated testing #1668 2020-08-08 11:25:17 -04:00
Matthew Kennedy f3bc1a3de7 missed a spot 2020-08-03 12:22:41 -07:00
Matthew Kennedy cd547ceb00 no more setFuelMap 2020-08-03 12:14:11 -07:00
Matthew Kennedy 95c17a60d4 Merge remote-tracking branch 'upstream/master' into remove-table 2020-08-03 12:02:24 -07:00
rusefi 5ae82b537b @andreika I believe this is no longer needed since all fields have TS metadata? 2020-08-02 15:34:47 -04:00
rusefi 8c471df389 Stack usage is still all over the place #1662 2020-08-02 10:52:52 -04:00
Matthew Kennedy ec9710817c don't use 2020-07-31 23:28:12 -07:00
Matthew Kennedy 7009c82993 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-31 14:56:29 -07:00
Matthew Kennedy eabdd9f458 cleanup 2020-07-30 21:20:10 -07:00
rusefi 0c6c92c5bf reducing code duplication? 2020-07-29 23:01:55 -04:00
rusefi 6b2c1d4d59 NA6 progress 2020-07-29 22:48:41 -04:00
rusefi 54f3e55d13 NA6 progress 2020-07-29 21:38:34 -04:00
rusefi ca1dd7e835 NA6 progress 2020-07-29 15:51:01 -04:00
rusefi 278cda992c NA6 progress 2020-07-29 14:53:36 -04:00
Matthew Kennedy ca76bfed91 Merge remote-tracking branch 'upstream/master' into cppcheck 2020-07-29 03:01:14 -07:00
Matthew Kennedy 5b6091524b explicit 2020-07-29 02:23:03 -07:00
Matthew Kennedy ad12b089d5 initialization 2020-07-29 02:22:54 -07:00
Matthew Kennedy 2243b54f46 printFloatArray 2020-07-29 02:12:11 -07: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