Commit Graph

3501 Commits

Author SHA1 Message Date
rusefi ca67249522 refactoring: better field name 2019-10-08 00:54:19 -04:00
rusefi 8424723024 refactoring: better variable names 2019-10-08 00:42:47 -04:00
rusefi 0d31cdddea refactoring: better parameter name 2019-10-08 00:30:20 -04:00
rusefi 53231f7b49 refactoring: smarter C++ initialization 2019-10-08 00:27:49 -04:00
rusefi d381bce748 date 2019-10-06 00:39:50 -04:00
Matthew Kennedy d1da567b85 fix gm 24x decoder (#963)
* fix gm

* fix

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

* fix test
2019-10-02 21:00:10 -04:00
rusefi 62bbdbb33b docs 2019-09-29 15:14:08 -04:00
rusefi df7fe0ec3b fixing build 2019-09-29 14:22:51 -04:00
rusefi 7d2aaab1aa Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-29 14:16:51 -04:00
rusEfi fc3b7ec1bd etbCalibrationOnStart 2019-09-29 14:00:04 -04:00
rusefi c935903162 do not let "Use fixed baro corr from MAP" kill VE fix #960 2019-09-29 09:58:29 -04:00
rusefi 8e3912e6b1 firing order 1-2-7-8-4-5-6-3 2019-09-28 10:25:57 -04:00
rusefi d520e0734f docs 2019-09-28 09:59:40 -04:00
rusEfi 44b2c2f89e new command 'etb_freq X' 2019-09-27 23:37:40 -04:00
rusEfi 17dc0908f2 it's a cruel world 2019-09-27 23:01:47 -04:00
Matthew Kennedy 4db887361c Fix sensor mock spill, again (#957)
* actually reset

* add test

* doh
2019-09-27 21:40:36 -04:00
rusEfi dfd5b11c8f Revert "Fix sensor mocking bug (#956)"
This reverts commit 217081c1
2019-09-27 20:33:45 -04:00
Matthew Kennedy 217081c174 Fix sensor mocking bug (#956)
* actually reset

* add test
2019-09-27 20:21:50 -04:00
rusefi 8c5be72106 idle&ETB progress 2019-09-26 00:02:47 -04:00
rusefi ff8a3f2988 fixing build 2019-09-25 08:46:26 -04:00
rusefi 3da60a406a Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-25 08:40:56 -04:00
rusefi bc572bef51 reducing hell in unit tests 2019-09-25 08:40:33 -04:00
Matthew Kennedy ee5643f1bf 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 3bd1ddcc1f Sensors: composition >> inheritance (#953)
* functional sensors

* format

* tests

* sim makefile

* eol

* format tests
2019-09-24 21:11:41 -04:00
rusefi 567bd7dd58 absolute fuel pressure flow calculation #954 2019-09-24 18:39:26 -04:00
rusefi fc8db12323 absolute fuel pressure flow calculation #954 2019-09-24 17:57:49 -04:00
rusefi 2bacf53c0d 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 b66f3a8229 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 89ed15838f ETB is sticky around zero and does not want to close all the way #943 2019-09-22 23:28:11 -04:00
rusefi 4f33dff0a1 ETB target is using integer values fix #945 2019-09-22 18:15:00 -04:00
rusefi e7b658547b 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 e99955fce5 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:43:00 -04:00
rusefi 7d65f1931e ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -04:00
rusefi 5a43153541 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:19:08 -04:00
rusefi f600bbc6d7 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusefi 533087f475 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi d09e096874 ETB target is using integer values #945
refactoring
2019-09-22 08:51:02 -04:00
rusefi 03b6a6ec58 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-22 08:45:03 -04:00
rusefi 1b604359a9 ETB target is using integer values #945
refactoring
2019-09-22 08:44:51 -04:00
rusEfi d5ef749761 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusEfi 9b98446846 ETB target is using integer values #945
first we will write a unit test
2019-09-22 07:58:03 -04:00
rusEfi e29318b939 ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:36:13 -04:00
rusEfi f843968636 ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi 4ba441fd49 "set_etb" is now "set_etb_duty" 2019-09-21 22:15:34 -04:00
rusefi 59598e5abf fixing build 2019-09-21 15:43:18 -04:00
rusefi 9ad82b03b5 fixing build 2019-09-21 15:33:13 -04:00
Matthew Kennedy f629ec038b 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 f3c82eec0c progress 2019-09-21 14:18:59 -04:00
rusefi 2ce6e900a3 fixing bug from yesterday 2019-09-21 11:09:03 -04:00
rusefi 3646ef4406 ETB idle bugfix: do not use once turned off 2019-09-21 01:22:21 -04:00
rusefi f588224559 NB2 miata on Frankenso with ETB 2019-09-21 01:21:53 -04:00
rusefi 2bbbc1c787 ETB pinEnableMode 2019-09-20 22:16:54 -04:00
rusefi b9f649a93c ETB to SD logs 2019-09-20 20:41:45 -04:00
rusefi 3ac801f9c5 configurable SD card logging speed 2019-09-20 20:18:22 -04:00
rusefi ef85a6ceed more fields to SD card logs 2019-09-20 19:38:19 -04:00
rusefi 73d0c2f2d9 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-20 18:35:56 -04:00
rusefi b80710e7a7 refactoring "date" command and flex dead code 2019-09-20 18:12:56 -04:00
rusefi ecae02ff27 thank you @andreika! 2019-09-20 08:44:20 -04:00
rusefi 0829d70012 reducing complexity 2019-09-20 01:06:15 -04:00
rusefi a72d2834fb unit tests progress 2019-09-20 00:46:35 -04:00
rusefi 87875d8825 unit tests progress 2019-09-20 00:34:42 -04:00
rusefi 36fad3a21e unit tests progress 2019-09-20 00:25:43 -04:00
rusefi 78b9e5a438 refactoring 2019-09-20 00:17:00 -04:00
rusefi 154092bbf5 unit tests progress 2019-09-19 22:56:54 -04:00
rusefi 221ef7d9bb unit tests progress 2019-09-19 22:10:39 -04:00
rusefi c59d8164c6 unit tests progress 2019-09-19 21:41:52 -04:00
rusefi bda089011c unit tests progress 2019-09-19 08:05:23 -04:00
rusefi 8dcb2d9690 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 23:22:15 -04:00
rusefi ddbd96ba72 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 22:07:02 -04:00
rusefi f48f60bb36 unit tests progress 2019-09-18 21:48:46 -04:00
rusefi c4339e17d8 unit tests progress 2019-09-18 21:38:45 -04:00
Matthew Kennedy a20f353506 Kill Dead Code 2: Electric Boogaloo (#940)
* remove dead

* remove dead

* deflex
2019-09-18 20:23:14 -04:00
rusEfi 67c25a6f12 A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusEfi 6504f6ccaf Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-15 10:05:22 -04:00
rusEfi 08c751bd9c NA8 2019-09-15 10:04:24 -04:00
Matthew Kennedy cce6646cdf kill (#935) 2019-09-14 21:20:36 -04:00
rusEfi 66b3ae000d acRelayBench 2019-09-14 17:56:17 -04:00
rusefi 664777587b Most important feature: VAG W12 firing order 2019-09-14 14:47:22 -04:00
rusefi 4f4f4ddfd9 FSIO progress 2019-09-13 21:07:34 -04:00
rusefi cffe318d1b pedal ADC should be faster #931 2019-09-13 19:55:20 -04:00
rusEfi 3bbce46660 mock voltage bugfix, thank you AndreiKA! 2019-09-12 08:27:25 -04:00
rusefi dfc0743e9a Delayed A/C compressor switch #922
unit tests skeleton
2019-09-12 07:31:13 -04:00
rusefi 8e67952fb8 idle timing tooltips for tunerstudio 2019-09-11 20:59:05 -04:00
rusefi a6fbc5036a Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi 2349ea237a Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
Matthew Kennedy 33d13a78fc remove sensor_types.h (#928) 2019-09-11 18:10:49 -04:00
rusefi 448d99a2c8 Delayed A/C compressor switch #922 2019-09-10 23:49:21 -04:00
rusefi cc011ee081 instant RPM for idle control #925 2019-09-10 23:03:55 -04:00
rusefi 47d8cdf0ac Delayed A/C compressor switch #922 2019-09-10 22:55:58 -04:00
rusefi d90f0481b0 one step back :) instant RPM does not look right 2019-09-10 21:35:10 -04:00
rusefi 86e421e0ee fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi 2818c803b5 fatalErrorPin setting is not used #926 2019-09-09 21:34:15 -04:00
rusefi 917676b2da simulator crashes on any TS setting change fix #924 2019-09-09 20:49:16 -04:00
rusefi 7676261ec6 instant RPM for idle control #925 2019-09-09 19:41:41 -04:00
rusefi db018723f7 refactoring: better field name 2019-09-09 19:39:13 -04:00
rusefi 8d1d88bf73 instant RPM for idle control #925
refactoring
2019-09-09 14:41:26 -04:00
rusefi 47f97d1246 has been a while so safe to assume everyone has default value 2019-09-08 22:17:51 -04:00
rusefi eb58ebda87 Delayed A/C compressor switch #922 2019-09-08 21:09:45 -04:00
rusefi e79287f537 Delayed A/C compressor switch #922 2019-09-08 21:05:03 -04:00
rusefi 0b8ebdbf96 A/C NA6 compressor progress 2019-09-08 16:45:02 -04:00
rusefi a585835add docs 2019-09-07 22:16:56 -04:00
rusefi 270565e593 docs 2019-09-07 21:35:55 -04:00
rusefi e77b703beb Reinitialize TLE8888 if it resets #904
nasty "solution"
2019-09-06 20:30:27 -04:00
rusefi 5d8e1f6c73 tle8888 reinit command 2019-09-05 10:30:27 -04:00
rusefi e4566ba6aa TLE8888: NB2 solution + reset counter 2019-09-05 10:01:59 -04:00
rusefi c1c1e59006 Hall mode for TLE88888 - VRSConfig1 VRSM #915
TS settings typo
2019-09-04 00:19:44 -04:00
rusEfi 8a35983bfe Hall mode for TLE88888 - VRSConfig1 VRSM #915
TS setting only
2019-09-03 23:56:28 -04:00
rusefi 612a4ab3b3 MRE NB2 2019-09-03 23:35:49 -04:00
rusefi 2e27a94ee7 BUGFIX: ETB idle should care about pedal position, not TPS position 2019-09-03 21:45:42 -04:00
rusefi f32b29f318 Live Data: trigger current gap 2019-09-03 19:30:51 -04:00
rusefi 98a391011a better field name 2019-09-03 19:12:04 -04:00
rusefi f73d18fd38 Merge branch 'master' of https://github.com/rusefi/rusefi
# Conflicts:
#	java_console/models/src/com/rusefi/config/generated/Fields.java
2019-09-03 18:54:54 -04:00
rusefi 9f50f9a4f7 EFI_CJ125_DIRECTLY_CONNECTED_UR should be a runtime parameter fix #914 2019-09-03 18:44:05 -04:00
rusefi 7922d79cde pedal calibration into status message 2019-09-02 22:58:36 -04:00
rusefi b51e79357e refactoring: extracting magic command constant 2019-09-02 22:57:40 -04:00
rusEfi 1b8219432c Live Data for hw VVT signals 2019-09-02 21:02:08 -04:00
rusEfi c2980a36a9 Live Data VVT counter 2019-09-02 14:47:05 -04:00
rusefi 2343cd6b12 make iTerm limits visible for idle RPM pid #913 2019-09-02 00:24:10 -04:00
rusefi be1b32abf0 make iTerm limits visible for idle RPM pid #913 2019-09-02 00:19:06 -04:00
rusEfi 8126b700de NB2 progress, ETB Live Docs progress 2019-09-01 19:37:58 -04:00
rusEfi b8fa0dec72 typo 2019-09-01 18:56:57 -04:00
rusEfi daec071b6b mock PPS voltage command in addition to mock PPS position
ETB pane progress
2019-09-01 17:35:43 -04:00
rusEfi 3e852bfb1e showing 'before' values while changing TPS settings 2019-09-01 16:11:35 -04:00
rusefi ebcb0cdf4c Live Data: more Idle & ETB data points! 2019-09-01 15:46:40 -04:00
rusefi 33cc21225c Live Data progress: using field's context 2019-09-01 15:01:57 -04:00
rusefi 1ffaa8eea2 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi 1bd4fb8f09 docs & naming consistency 2019-09-01 11:59:39 -04:00
rusefi 4141c7b4c2 typo 2019-09-01 11:39:09 -04:00
rusefi 7842c7305f Live Data progress 2019-09-01 00:45:36 -04:00
rusefi 7ce9b2890e live data: consistent naming 2019-08-31 23:39:30 -04:00
rusefi fa51007994 typo 2019-08-31 23:32:33 -04:00
rusefi 4858124edb unified names for generated headers 2019-08-31 23:12:39 -04:00
rusEfi 47bbd6ebe4 ETB progress 2019-08-31 20:17:17 -04:00
rusEfi 3851b37be6 NB2 MRE 2019-08-31 18:36:44 -04:00
rusEfi 7efe5cdd5c reducing dead code 2019-08-31 17:59:18 -04:00
rusefi 4ddb0aeace LiveData progress: isChanking & hasEtbPedalPositionSensor 2019-08-31 17:07:21 -04:00
andreika-git 27fccf0a7f mightResetPid docs (#912) 2019-08-31 15:38:01 -04:00
rusefi 840b165f12 NA6 pnp: automatic idle VS TPS #800 2019-08-30 18:17:10 -04:00
rusefi ad2714c2b8 PID errorAmplificationCoef to LiveData 2019-08-30 17:11:12 -04:00
rusefi 162264fe08 progress towards idle unit test 2019-08-29 23:50:20 -04:00
rusefi 375d64417d progress towards idle unit test 2019-08-29 00:10:47 -04:00
rusefi b090be14b0 cranking fuel live data fix #911 2019-08-28 00:29:55 -04:00
rusefi 2804b31e7e cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusefi bde4e88468 refactoring towards idle unit test 2019-08-26 00:19:13 -04:00
rusefi c1fb75689d unit tests code coverage #653
one day I will migrate rusEfi to java
2019-08-25 13:42:07 -04:00
rusefi 8ab2c6ae69 unit tests code coverage #653
reducing technical debt just a little
2019-08-25 10:19:01 -04:00
rusefi 9161703598 reducing unit test noise 2019-08-25 02:01:09 -04:00
rusefi e5e0ce0b94 minor test code fix & refactoring 2019-08-25 01:35:36 -04:00
rusefi 8a4d3f9896 reducing unit test noise 2019-08-25 01:15:18 -04:00