Commit Graph

5587 Commits

Author SHA1 Message Date
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
rusefi 2ff5656a11 docs 2019-09-24 22:28:33 -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 bdb4a561a1 absolute fuel pressure flow calculation #954 2019-09-24 17:57:49 -04:00
rusefi f07915807f docs 2019-09-23 22:56:06 -04:00
rusefi 455eb0ad6d Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-23 19:15:50 -04:00
rusefi 024980d38f docs 2019-09-23 19:08:15 -04:00
Matthew Kennedy c33091d39a fix ltoa_internal: fix #948 (#949)
* fix ltoa_internal

* fix hex
2019-09-23 08:45:45 -04:00
rusefi 97dd2a57d6 HardFault related to auto r = convertFromInputValue(inputValue); #948 2019-09-23 02:02:42 -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 c3eb05358f typo in comment 2019-09-23 01:39:04 -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 5b5bef4e3c This black magic improves hard fault debugging experience 2019-09-22 21:28:19 -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 1ff2a320ab ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 16:52:22 -04:00
rusefi e1b537935d ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 16:41:10 -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 527f163ae1 we might not use Contrib at the moment 2019-09-22 09:56:47 -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 22f8bb0946 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-22 07:58:23 -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 196a57f813 fixing build 2019-09-22 07:49:26 -04:00
Matthew Kennedy 4f358c40d1 hook up rpm acceleration (#946) 2019-09-22 07:37:36 -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 13783eb094 NB2 progress 2019-09-21 21:36:53 -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 8e71ca1dc9 SD card: trying to automatically unmount and trying to re-mount 2019-09-21 12:41:17 -04:00
rusefi 29236f24cf different handling of SD card loss 2019-09-21 12:40:40 -04:00
rusefi de03d283bd refactoring - better method name 2019-09-21 11:34:28 -04:00
rusefi 44818e5863 refactoring 2019-09-21 11:20:04 -04:00
rusefi 50850ca0c9 fixing bug from yesterday 2019-09-21 11:09:03 -04:00
rusefi 08fb2adf3d glitch 2019-09-21 09:43:08 -04:00
rusefi 1789b8f2bf maybe logging performance improvement maybe not 2019-09-21 01:55:27 -04:00
rusefi 1ce255639e spelling 2019-09-21 01:49:46 -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 37d703f6e0 more fields to SD card logs 2019-09-20 19:38:19 -04:00
rusefi c9c32c8db6 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-20 18:35:56 -04:00
rusefi d3931fac50 why was RTC disabled? 2019-09-20 18:22:39 -04:00
rusefi d95740467e refactoring "date" command and flex dead code 2019-09-20 18:12:56 -04:00
rusefi 6c8b2bd126 extracting hunchback stuff to a separate file 2019-09-20 17:46:54 -04:00
rusefi 6457c05da5 thank you @andreika! 2019-09-20 08:44:20 -04:00
Matthew Kennedy ca2e2cdbab move logic out of bat (#941) 2019-09-20 08:40:07 -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 3e9337f5d9 docs 2019-09-20 00:24:22 -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
Matthew Kennedy ad1a751a1e Reduce PID significant figures from 7 -> 4 (#939)
* 7 -> 3

* 3 -> 4
2019-09-18 09:10:19 -04:00
rusefi d2e8710c80 https://github.com/rusefi/hw_microRusEfi/issues/115
documentation issue: 24 AN Temp 3 at External wideband O2 sensor #115
2019-09-16 21:00:20 -04:00
Matthew Kennedy a1fe2eb808 vscode usability (#938)
* hide build/lst, dep

* missed a spot
2019-09-16 07:07:42 -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 ea09372a8b acRelayBench 2019-09-14 18:04:32 -04:00
rusEfi 972be58802 acRelayBench 2019-09-14 17:56:17 -04:00
rusEfi 47f68eb80f using MRE config for Nucleo 2019-09-14 16:03:04 -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 b8bfc7740a Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-13 19:54:45 -04:00
rusefi 8fe19a2cfe pedal ADC should be faster #931 2019-09-13 19:54:28 -04:00
rusEfi d3d17b700f docs 2019-09-12 08:37:44 -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
andreika-git de4173c99f PID_CIC docs (#930) 2019-09-12 07:30:18 -04:00
rusefi d62556b415 docs 2019-09-12 07:29:38 -04:00
rusefi cb6234c1a5 idle timing tooltips for tunerstudio 2019-09-11 20:59:05 -04:00
rusefi f0427360bf Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi 7395bb44e7 OOP all the way, maybe too much OOP? :) 2019-09-11 20:23:25 -04:00
rusefi 5ac8545060 Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
rusefi 34c6e790fd poke 2019-09-11 19:22:21 -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 cc6806adae Delayed A/C compressor switch #922 2019-09-08 22:46:47 -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 788b3afddc fixing unit tests 2019-09-08 19:29:30 -04:00
rusefi 7c89fe1ab6 A/C NA6 compressor progress 2019-09-08 16:45:02 -04:00
rusefi 52e7b6951f TS MAF autotune is broken fix #923 2019-09-08 15:47:30 -04:00
rusefi 87f6ac9ce1 MRE NA6 2019-09-08 11:17:27 -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 696dbacf5a MRE NB2 2019-09-06 17:38:05 -04:00
rusEfi 1faf48bd53 MRE NB2 2019-09-05 23:14:28 -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
dron0gus be13dc1185 TLE8888: track reset event by cleared OE bit in status register (#918)
As tle8888 suposed to be reset master and reset MCU there is no
flag showing POR reset. So try to poll OE bit.
2019-09-05 08:55:17 -04:00
rusefi ef3e3b5d4e poke 2019-09-05 00:18:34 -04:00
rusefi a5894f9c1f MRE NB2 2019-09-04 21:36:34 -04:00
rusEfi daa8fc316c MRE NB2 2019-09-04 20:38:09 -04:00
rusefi d1f96682c2 Hall mode for TLE88888 - VRSConfig1 VRSM #915 2019-09-04 20:02:32 -04:00
rusefi 4737a2a57f Hall mode for TLE88888 - VRSConfig1 VRSM #915 2019-09-04 09:24:01 -04:00
rusefi b107968cdd MRE NB2 2019-09-04 00:30:20 -04:00
rusefi df18a37788 Hall mode for TLE88888 - VRSConfig1 VRSM #915 2019-09-04 00:27:19 -04:00
rusefi 40ed41c387 Hall mode for TLE88888 - VRSConfig1 VRSM #915
TS settings typo
2019-09-04 00:19:44 -04:00
rusEfi d568fbc42e Hall mode for TLE88888 - VRSConfig1 VRSM #915
TS setting only
2019-09-03 23:56:28 -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 6fed2d077c code style 2019-09-03 20:35:52 -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 ba9c96df91 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 3fa5399ed7 EFI_CJ125_DIRECTLY_CONNECTED_UR should be a runtime parameter fix #914 2019-09-03 18:44:05 -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 a09ae0a9dc MRE NB2 2019-09-02 21:55:38 -04:00
rusEfi 34b1531a8b Live Data for hw VVT signals 2019-09-02 21:02:08 -04:00
rusEfi 303a4eaa0e MRE NB2 2019-09-02 17:16:36 -04:00
rusEfi 2aee194f3b Live Data VVT counter 2019-09-02 14:47:05 -04:00
rusefi 52462550dd Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-02 12:34:25 -04:00
rusefi b3f0d3eb67 MRE NB2 2019-09-02 12:34:17 -04:00
rusEfi 32d6c1ce68 tiny progress 2019-09-02 11:48:49 -04:00
rusEfi 1d057a8faa MRE NB2 2019-09-02 11:07:34 -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 e9f15b16fb dead fields & better field name 2019-09-01 18:41:51 -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 8be92bbdb7 live data: consistent naming 2019-08-31 23:39:30 -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 7ed5e2b028 better defaults to make things easier 2019-08-31 23:06:40 -04:00
rusefi aa1386c856 better defaults to make things easier 2019-08-31 23:00:16 -04:00
rusefi 1d45ced114 LiveData source files list is now defined in yaml format 2019-08-31 22:54:45 -04:00
rusEfi b180e2223d NB2 settings 2019-08-31 20:17:47 -04:00
rusEfi 3970881a09 ETB progress 2019-08-31 20:17:17 -04:00
rusEfi 0f9e72bc8f poke 2019-08-31 18:46:18 -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 dd087425d5 NA6 2019-08-31 17:07:29 -04:00
rusefi f533617b29 LiveData progress: isChanking & hasEtbPedalPositionSensor 2019-08-31 17:07:21 -04:00
rusEfi 406c1b9f5c NA6 2019-08-31 16:25:43 -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 5f5dfbfa61 unit tests code coverage #653 2019-08-25 23:31:39 -04:00
rusefi 6f8df1fd70 wow, CI was down for a week 2019-08-25 22:53:57 -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