Commit Graph

244 Commits

Author SHA1 Message Date
rusEfi 53ae54e8cc ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -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 03d71bedeb reducing complexity 2019-09-20 01:06:15 -04:00
rusefi 0b5a49392f refactoring 2019-09-20 00:17:00 -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 700ae8ceaf remove sensor_types.h (#928) 2019-09-11 18:10:49 -04:00
rusefi c8bd1b68b1 pedal calibration into status message 2019-09-02 22:58:36 -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 8be592f3d4 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi 6fc1b1dc88 typo 2019-08-31 23:32:33 -04:00
Matthew Kennedy e4a0a0ae91 Fix some maf logic (#880)
* fix maf

* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
Matthew Kennedy 0b52f5b542 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03:00
rusefi 777eb532dc Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi 2164661274 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit 96270758c9.
2019-06-30 14:28:47 -04:00
rusefi 2120e4827a Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-30 13:24:55 -04:00
rusefi d0e4a0984f Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-27 06:47:13 -04:00
rusefi 35d3cc0ac4 docs/type safety 2019-06-19 21:24:09 -04:00
rusefi 96270758c9 "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
rusefi 0b843819eb TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi d90c6ee1a3 Annotations in C++ code to produce formulas in rusEfi console #807 (#847)
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change

* removing unneeded stuff & fixing unit test compilation

* not complete better unit test compilation fix  :(

* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi bc5154694b adding support for smaller table axis 2019-06-10 12:38:32 -04:00
rusefi 998345ef9e unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi e557a30193 messing with TPS mocking 2019-05-27 14:21:12 -04:00
rusefi 2c24571ddb dreams of two ETBs 2019-05-05 12:02:42 -04:00
rusefi 85b790edcf The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
rusefi 899b96eec2 ETB tiny progress 2019-04-30 18:46:39 -04:00
rusEfi 67e8adf6f5 ETB micro progress 2019-04-30 01:21:09 -04:00
rusefi dacf305011 docs 2019-04-24 17:00:05 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
dron0gus 12e07bc3ab Some more include fixes for linux (#738)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux
2019-04-10 01:12:35 +02:00
rusefi 82028b29f8 better ICU error handling 2019-04-07 18:25:46 -04:00
rusefi df420322f8 docs 2019-03-17 18:11:03 -04:00
rusEfi 849846e4ec better Electronic Throttle body control #493 2019-03-11 00:31:06 -04:00
rusefi cf55432c5c ETB quality instrumentation #494
set10K_4050K(ThermistorConf *thermistorConf)
2019-03-04 14:37:23 -05:00
rusEfi c5be9840e9 new 'etbreset' command 2019-03-02 15:04:42 -05:00
rusEfi ac92a0380e reducing warning noise 2019-03-02 13:04:26 -05:00
rusEfi 3aa1944ec0 typo 2019-02-27 17:13:05 -05:00
dron0gus 2027977e2c warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi 0fe4efbee3 refactoring: duplicated import, already imported 2019-02-05 21:06:18 -05:00
rusefi 6992480f74 CJ125 unit-tests coverage #617 2019-02-01 23:16:34 -05:00
rusefi 70f5d3e69c better conditional compilation 2019-01-31 11:57:15 -05:00
rusefi aba0f44df5 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi 37a47b1f25 refactoring: reducing header tree hell 2019-01-20 23:30:40 -05:00
rusefi 86a0d67d70 learning C++ 2019-01-15 20:24:36 -05:00
rusefi 43735bffa0 enjoying C++11 2019-01-13 23:25:15 -05:00
rusefi 1bcefa5690 MAF2MAP convestion #538 2019-01-13 01:53:58 -05:00
rusefi fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 519316da16 #35 2019-01-07 23:23:50 -05:00
rusefi daeaa925f2 refacoting: making code more consistent 2019-01-05 00:57:09 -05:00