Commit Graph

3553 Commits

Author SHA1 Message Date
rusefi c938b0d374 preparation for #961
more unified access to pre-calculated value
2019-10-13 09:59:06 -04:00
Matthew Kennedy 076b10fcb6 experiment 2019-10-11 17:43:21 -07:00
rusEfi 4c95fbd43d pin conflict in MRE test config 2019-10-10 13:32:07 -04:00
rusefi abfdfe6896 preparation for #961
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
rusefi 2c8a2b61a5 preparation for #961
more unified access to pre-calculated value
2019-10-10 08:16:21 -04:00
rusefi a5f09ef378 preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:37:37 -04:00
rusefi f776513a5a preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi 9776d3c57d better handling of corner case 2019-10-10 07:07:59 -04:00
Matthew Kennedy 821ca6156f move tsOutputChannels to header (#970) 2019-10-08 21:02:51 -04:00
rusefi c5f12fbcd9 I got carried away, but DEAD CODE?! 2019-10-08 03:14:21 -04:00
rusefi 875fb3d1bc something is over-complicated here? looks like two classes should become one? 2019-10-08 02:56:19 -04:00
rusefi 415de92543 something is over-complicated here? looks like two classes should become one? 2019-10-08 02:35:21 -04:00
rusefi 5d6a329c80 wow, dead field 2019-10-08 02:17:32 -04:00
rusefi 54fe92e534 really not clear what is the best place for these classes 2019-10-08 02:13:52 -04:00
rusefi f189bbab04 refactoring 2019-10-08 02:01:41 -04:00
rusefi ba59ef00e7 docs & refactoring 2019-10-08 01:49:42 -04:00
rusefi bd7b286ae4 fancier C++ initialization 2019-10-08 01:36:35 -04:00
rusefi 74c8b59e44 typo & better field name 2019-10-08 01:36:03 -04:00
rusefi 15ae9b1580 fancy C++ s/NULL/nullptr/ 2019-10-08 01:26:35 -04:00
rusefi 7e1e7629ee refactoring: better field name(s) 2019-10-08 01:03:57 -04:00
rusefi 46e1ff671a refactoring: better field name 2019-10-08 00:54:19 -04:00
rusefi ad9950a8d8 refactoring: better variable names 2019-10-08 00:42:47 -04:00
rusefi 0f248ff967 refactoring: better parameter name 2019-10-08 00:30:20 -04:00
rusefi 4c1c497bbc refactoring: smarter C++ initialization 2019-10-08 00:27:49 -04:00
rusefi 0aa7088f99 date 2019-10-06 00:39:50 -04:00
Matthew Kennedy 40853e1a3f fix gm 24x decoder (#963)
* fix gm

* fix

* fix default config, tests
2019-10-05 08:27:30 -04:00
Matthew Kennedy 9b1dc07ae1 Simplify thermistor config (#962)
* simplify thermistor config

* fix test
2019-10-02 21:00:10 -04:00
rusefi b6d22a007b docs 2019-09-29 15:14:08 -04:00
rusefi 5a59f1b232 fixing build 2019-09-29 14:22:51 -04:00
rusefi 9425b714fc Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-29 14:16:51 -04:00
rusEfi 313e1da631 etbCalibrationOnStart 2019-09-29 14:00:04 -04:00
rusefi 9a961fd0c2 do not let "Use fixed baro corr from MAP" kill VE fix #960 2019-09-29 09:58:29 -04:00
rusefi 7d68b3d829 firing order 1-2-7-8-4-5-6-3 2019-09-28 10:25:57 -04:00
rusefi e6cc663e96 docs 2019-09-28 09:59:40 -04:00
rusEfi d73d668a9e new command 'etb_freq X' 2019-09-27 23:37:40 -04:00
rusEfi 80d222fc55 it's a cruel world 2019-09-27 23:01:47 -04:00
Matthew Kennedy b68ed85491 Fix sensor mock spill, again (#957)
* actually reset

* add test

* doh
2019-09-27 21:40:36 -04:00
rusEfi 9193e73090 Revert "Fix sensor mocking bug (#956)"
This reverts commit 7989d593
2019-09-27 20:33:45 -04:00
Matthew Kennedy 7989d59311 Fix sensor mocking bug (#956)
* actually reset

* add test
2019-09-27 20:21:50 -04:00
rusefi ba1d8eb512 idle&ETB progress 2019-09-26 00:02:47 -04:00
rusefi 3b44a70501 fixing build 2019-09-25 08:46:26 -04:00
rusefi 1ebbfa7ebb Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-25 08:40:56 -04:00
rusefi 0d35b1ebba reducing hell in unit tests 2019-09-25 08:40:33 -04:00
Matthew Kennedy 325a9e3fd1 Hmm, that didn't quite work right (#955)
* maybe that wasn't a good idea

* we don't need a copy because you can't clear the func after setting it

* no longer a template - move logic to cpp

* fix tests

* rename to avoid object collision
2019-09-25 07:26:56 -04:00
Matthew Kennedy ccb4c51e50 Sensors: composition >> inheritance (#953)
* functional sensors

* format

* tests

* sim makefile

* eol

* format tests
2019-09-24 21:11:41 -04:00
rusefi 80f8facd8a absolute fuel pressure flow calculation #954 2019-09-24 18:39:26 -04:00
rusefi b28710c908 HardFault related to auto r = convertFromInputValue(inputValue); #948
wow, it's a miracle anything ever worked!
2019-09-23 01:55:23 -04:00
rusefi cb02926c89 ETB is sticky around zero and does not want to close all the way #943
fixing build
2019-09-23 00:41:35 -04:00
rusEfi 97e0270b1c ETB is sticky around zero and does not want to close all the way #943 2019-09-22 23:28:11 -04:00
rusefi df64289fd5 ETB target is using integer values fix #945 2019-09-22 18:15:00 -04:00
rusefi 42f085a4a0 ETB target is using integer values #945
now we have a unit test! now we can fix the issue :)
2019-09-22 17:58:27 -04:00
rusefi cfbf5e0b12 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:43:00 -04:00
rusefi f65fc4fec1 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -04:00
rusefi e4878734a1 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:19:08 -04:00
rusefi c6bca8e77a ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusefi 658dac889c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi 3a30e9194c ETB target is using integer values #945
refactoring
2019-09-22 08:51:02 -04:00
rusefi 13fd4c2fc5 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-22 08:45:03 -04:00
rusefi 7710df4fed ETB target is using integer values #945
refactoring
2019-09-22 08:44:51 -04:00
rusEfi 4c39a207a9 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusEfi b46c5b4960 ETB target is using integer values #945
first we will write a unit test
2019-09-22 07:58:03 -04:00
rusEfi 0fd1f27e1b ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:36:13 -04:00
rusEfi 53ae54e8cc ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi c44f76f2ed "set_etb" is now "set_etb_duty" 2019-09-21 22:15:34 -04:00
rusefi 2e492d22bf fixing build 2019-09-21 15:43:18 -04:00
rusefi ee074b9fe7 fixing build 2019-09-21 15:33:13 -04:00
Matthew Kennedy dfcc9dba04 add sensor framework, tests (#929)
* add framework, tests

* move oil pressure to new way

* add init logic

* brackets on the same line

* spaces -> tabs

* spaces -> tabs for tests

* bracket on same line

* hook up sensor mocking

* add nan check

* fix nan check

* I wrote an essay

* casing

* only init if we have a sensor to init

* style, actually call init

* format

* fix casing

* typo

* implement linear sensor

* wire up producer

* smarter limiting

* setup comments

* add reporting

* doxyfile

* oops

* add adc subscription

* clarity

* fix logic

* multiply voltage

* test styling

* test guards

* remove dependencies

* linear sensor test

* remove unused

* fix merge

* format, implicit convert op

* explicit

* format tests

* fix merge
2019-09-21 14:33:38 -04:00
rusefi 9586490e6c progress 2019-09-21 14:18:59 -04:00
rusefi 50850ca0c9 fixing bug from yesterday 2019-09-21 11:09:03 -04:00
rusefi fdea935fc0 ETB idle bugfix: do not use once turned off 2019-09-21 01:22:21 -04:00
rusefi 757f8eb690 NB2 miata on Frankenso with ETB 2019-09-21 01:21:53 -04:00
rusefi 282cc41980 ETB pinEnableMode 2019-09-20 22:16:54 -04:00
rusefi 02fb27440e ETB to SD logs 2019-09-20 20:41:45 -04:00
rusefi aa8d0eb640 configurable SD card logging speed 2019-09-20 20:18:22 -04:00
rusefi c9c32c8db6 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-20 18:35:56 -04:00
rusefi d95740467e refactoring "date" command and flex dead code 2019-09-20 18:12:56 -04:00
rusefi 6457c05da5 thank you @andreika! 2019-09-20 08:44:20 -04:00
rusefi 03d71bedeb reducing complexity 2019-09-20 01:06:15 -04:00
rusefi 13b74d3d4d unit tests progress 2019-09-20 00:46:35 -04:00
rusefi cac91ceac8 unit tests progress 2019-09-20 00:34:42 -04:00
rusefi f2e67b05c0 unit tests progress 2019-09-20 00:25:43 -04:00
rusefi 0b5a49392f refactoring 2019-09-20 00:17:00 -04:00
rusefi d83ed085e8 unit tests progress 2019-09-19 22:56:54 -04:00
rusefi 0c9a8b58ca unit tests progress 2019-09-19 22:10:39 -04:00
rusefi 0952b84aad unit tests progress 2019-09-19 21:41:52 -04:00
rusefi 317ec8d752 unit tests progress 2019-09-19 08:05:23 -04:00
rusefi 60d57d2dd8 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 23:22:15 -04:00
rusefi 115d295bd8 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 22:07:02 -04:00
rusefi 8ef1fcd344 unit tests progress 2019-09-18 21:48:46 -04:00
rusefi fd62a9c0f7 unit tests progress 2019-09-18 21:38:45 -04:00
Matthew Kennedy 4aaf028251 Kill Dead Code 2: Electric Boogaloo (#940)
* remove dead

* remove dead

* deflex
2019-09-18 20:23:14 -04:00
rusEfi a168c5f2eb A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusEfi 3859984bb5 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-15 10:05:22 -04:00
rusEfi 4030b69594 NA8 2019-09-15 10:04:24 -04:00
Matthew Kennedy eb885c33bf kill (#935) 2019-09-14 21:20:36 -04:00
rusEfi 972be58802 acRelayBench 2019-09-14 17:56:17 -04:00
rusefi 0a92693729 Most important feature: VAG W12 firing order 2019-09-14 14:47:22 -04:00
rusefi fcbc26bf82 FSIO progress 2019-09-13 21:07:34 -04:00
rusefi f2a76ef0e2 pedal ADC should be faster #931 2019-09-13 19:55:20 -04:00
rusEfi 5ce8e65170 mock voltage bugfix, thank you AndreiKA! 2019-09-12 08:27:25 -04:00
rusefi d576f3ba1f Delayed A/C compressor switch #922
unit tests skeleton
2019-09-12 07:31:13 -04:00
rusefi f0427360bf Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi 5ac8545060 Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
Matthew Kennedy 700ae8ceaf remove sensor_types.h (#928) 2019-09-11 18:10:49 -04:00
rusefi 7f069e428f Delayed A/C compressor switch #922 2019-09-10 23:49:21 -04:00
rusefi f56e2b3a46 instant RPM for idle control #925 2019-09-10 23:03:55 -04:00
rusefi 3f856dc54d Delayed A/C compressor switch #922 2019-09-10 22:55:58 -04:00
rusefi 3389caa1e4 one step back :) instant RPM does not look right 2019-09-10 21:35:10 -04:00
rusefi d4b9c7217e fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi 3d85de7ee5 fatalErrorPin setting is not used #926 2019-09-09 21:34:15 -04:00
rusefi 34fb2c21e1 simulator crashes on any TS setting change fix #924 2019-09-09 20:49:16 -04:00
rusefi d26262eb9f instant RPM for idle control #925 2019-09-09 19:41:41 -04:00
rusefi 37e08a32b4 refactoring: better field name 2019-09-09 19:39:13 -04:00
rusefi ba9de596d6 instant RPM for idle control #925
refactoring
2019-09-09 14:41:26 -04:00
rusefi 003c868b3f has been a while so safe to assume everyone has default value 2019-09-08 22:17:51 -04:00
rusefi f9bb333453 Delayed A/C compressor switch #922 2019-09-08 21:09:45 -04:00
rusefi 50e0887c96 Delayed A/C compressor switch #922 2019-09-08 21:05:03 -04:00
rusefi 7c89fe1ab6 A/C NA6 compressor progress 2019-09-08 16:45:02 -04:00
rusefi ecd0fe6ab6 docs 2019-09-07 22:16:56 -04:00
rusefi bffeadf3f0 docs 2019-09-07 21:35:55 -04:00
rusefi 2b64e34313 Reinitialize TLE8888 if it resets #904
nasty "solution"
2019-09-06 20:30:27 -04:00
rusefi 12d9bc50b3 tle8888 reinit command 2019-09-05 10:30:27 -04:00
rusefi 280271ab1e TLE8888: NB2 solution + reset counter 2019-09-05 10:01:59 -04:00
rusefi 0d131f136e MRE NB2 2019-09-03 23:35:49 -04:00
rusefi a7e047489c BUGFIX: ETB idle should care about pedal position, not TPS position 2019-09-03 21:45:42 -04:00
rusefi fe6b5d8c56 Live Data: trigger current gap 2019-09-03 19:30:51 -04:00
rusefi 9bd1e417bb better field name 2019-09-03 19:12:04 -04:00
rusefi c8bd1b68b1 pedal calibration into status message 2019-09-02 22:58:36 -04:00
rusefi b51e32424b refactoring: extracting magic command constant 2019-09-02 22:57:40 -04:00
rusEfi 34b1531a8b Live Data for hw VVT signals 2019-09-02 21:02:08 -04:00
rusEfi 2aee194f3b Live Data VVT counter 2019-09-02 14:47:05 -04:00
rusefi 15a7c1a2e6 make iTerm limits visible for idle RPM pid #913 2019-09-02 00:24:10 -04:00
rusefi 7c0688969f make iTerm limits visible for idle RPM pid #913 2019-09-02 00:19:06 -04:00
rusEfi d5dfc3e658 NB2 progress, ETB Live Docs progress 2019-09-01 19:37:58 -04:00
rusEfi 645aec27b4 typo 2019-09-01 18:56:57 -04:00
rusEfi 8f10e85d03 mock PPS voltage command in addition to mock PPS position
ETB pane progress
2019-09-01 17:35:43 -04:00
rusEfi 7bf75b43b6 showing 'before' values while changing TPS settings 2019-09-01 16:11:35 -04:00
rusefi 6318f2ac38 Live Data: more Idle & ETB data points! 2019-09-01 15:46:40 -04:00
rusefi 2a8998f548 Live Data progress: using field's context 2019-09-01 15:01:57 -04:00
rusefi 8be592f3d4 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi 8038885ae2 docs & naming consistency 2019-09-01 11:59:39 -04:00
rusefi 9bbfc6de36 typo 2019-09-01 11:39:09 -04:00
rusefi e1a7ae0148 Live Data progress 2019-09-01 00:45:36 -04:00
rusefi 6fc1b1dc88 typo 2019-08-31 23:32:33 -04:00
rusefi e885079de1 unified names for generated headers 2019-08-31 23:12:39 -04:00
rusEfi 3970881a09 ETB progress 2019-08-31 20:17:17 -04:00
rusEfi 9ce7c4d7da NB2 MRE 2019-08-31 18:36:44 -04:00
rusEfi d696412312 reducing dead code 2019-08-31 17:59:18 -04:00
rusefi f533617b29 LiveData progress: isChanking & hasEtbPedalPositionSensor 2019-08-31 17:07:21 -04:00
andreika-git 54a97e799d mightResetPid docs (#912) 2019-08-31 15:38:01 -04:00
rusefi ca3d8098c0 NA6 pnp: automatic idle VS TPS #800 2019-08-30 18:17:10 -04:00
rusefi 4a1b78f9a4 PID errorAmplificationCoef to LiveData 2019-08-30 17:11:12 -04:00
rusefi afdeecb87e progress towards idle unit test 2019-08-29 23:50:20 -04:00
rusefi 02610104d5 progress towards idle unit test 2019-08-29 00:10:47 -04:00
rusefi 6df2afface cranking fuel live data fix #911 2019-08-28 00:29:55 -04:00
rusefi a8f7a8965b cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusefi 7853cc1a7f refactoring towards idle unit test 2019-08-26 00:19:13 -04:00
rusefi de813b5f2c unit tests code coverage #653
one day I will migrate rusEfi to java
2019-08-25 13:42:07 -04:00
rusefi d861b1af90 unit tests code coverage #653
reducing technical debt just a little
2019-08-25 10:19:01 -04:00
rusefi 3ae955b3e5 reducing unit test noise 2019-08-25 02:01:09 -04:00
rusefi d338f4e9c9 minor test code fix & refactoring 2019-08-25 01:35:36 -04:00
rusefi 91bcd035af reducing unit test noise 2019-08-25 01:15:18 -04:00
rusEfi 92f371c121 new feature: check engine light to blink on trigger synchronization 2019-08-18 15:53:38 -04:00
rusEfi 6cf432a057 bugfix: pin names were not shown in engine sniffer 2019-08-18 15:27:10 -04:00
rusEfi 81cd1df0cc refactoring: engine sniffer magic constants 2019-08-18 15:04:02 -04:00
rusEfi e5ef4725b1 MRE NA6 2019-08-18 14:43:38 -04:00
rusefi 5ffa32185f refactoring: extracting common magic constants 2019-08-18 12:14:33 -04:00
rusEfi a8d872800c MRE & Miata 2019-08-17 22:42:22 -04:00
rusefi 15258503aa WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
actually ignoring setting for well known triggers
2019-08-17 22:00:01 -04:00
rusEfi c4d6604551 MRE etb 2019-08-17 17:33:44 -04:00
rusefi 613e9b39e8 poke 2019-08-16 23:37:16 -04:00
rusefi eb35cf3deb TLE8888 should be re-initialized every time we get +12 volts #901
extremely ugly solution but it it works at least with LED blinking test
2019-08-16 23:00:28 -04:00
rusefi fe43256c91 ETB live docs 2019-08-15 21:01:04 -04:00
rusefi 6c45dfbc50 new 4 cylinder firing order! 2019-08-15 19:36:16 -04:00
rusEfi dfc5f86e6e MRE ETB 2019-08-15 01:59:15 -04:00
rusEfi 714af981e4 MRE_MIATA_NB2 2019-08-13 19:15:24 -04:00
rusefi 8bdf4f30ae refactoring: ChibiOS now offers native 'lockAnyContext' pattern 2019-08-11 15:23:15 -04:00
rusefi 4c826b1a24 random typo 2019-08-10 14:40:51 -04:00
rusefi 67fd81b3df poke 2019-08-10 00:54:26 -04:00
rusefi 946374184e WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898 2019-08-08 23:11:56 -04:00
rusefi 9112b7f797 WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
fatal error is the best I can come up with quickly
2019-08-08 22:57:22 -04:00
rusefi dfeac28299 current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :( 2019-08-08 22:33:52 -04:00
rusefi eef4fbde9b fixing build & taking a safer route 2019-08-08 22:12:51 -04:00
rusefi 6043c93372 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -04:00
rusefi 81d41f091d poke 2019-08-08 20:32:00 -04:00
rusefi c518a6c7f6 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:51:15 -04:00
rusefi 334f021137 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:32:31 -04:00
rusefi 43962ccff0 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:30:32 -04:00
rusefi f6971c2bea WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
refactoring to begin with, zero logic change
2019-08-08 00:19:09 -04:00
rusefi ca1ca643d0 refactoring: better enum name 2019-08-07 22:20:16 -04:00
rusefi d6cf6c312a refactoring: extracting method to facilitate debugging 2019-08-07 22:02:08 -04:00
rusefi 7c776b3eb1 better trigger state debug field logging 2019-08-07 20:13:30 -04:00
rusEfi 67d08b676b proper HW type message logic 2019-08-06 23:56:35 -04:00
rusEfi 9ddc9233ee NA6 & trigger 2019-08-06 22:17:18 -04:00
rusEfi a3dfd5f8c6 NA6 MRE details 2019-08-06 17:59:02 -04:00
rusefi 67637cb1b5 better method name 2019-08-06 17:12:15 -04:00
rusefi 456cc84181 fixing unit tests build 2019-08-05 23:36:18 -04:00
rusEfi 1e64c5a67f MRE test setup 2019-08-05 23:00:35 -04:00
rusefi ef5a1447e9 CI instability: FATAL error: warn stream not initialized for 6039
also some refactoring
fix #798
2019-08-04 13:48:10 -04:00
rusefi ba52eba47a software jump to DFU #809
very very dark magic it is
2019-08-04 00:21:44 -04:00