rusefi
b9f0f2c592
need better higher-level API :(
2019-11-11 22:14:45 -05:00
rusefi
bab1744d1d
progress towards #961
2019-11-04 22:44:52 -05:00
rusefi
79fd7fc8ce
kind of todo
2019-11-04 22:29:22 -05:00
rusefi
9cbdbb794e
pieces of #971
2019-11-03 22:02:52 -05:00
rusefi
62577c47da
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
rusefi
71e904e421
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:16:21 -04:00
rusefi
ca6e49dcbc
preparation for #961
...
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi
42dc9e3662
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
Matthew Kennedy
faa2a481ea
Simplify thermistor config ( #962 )
...
* simplify thermistor config
* fix test
2019-10-02 21:00:10 -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
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
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
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
f843968636
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:16:46 -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
0829d70012
reducing complexity
2019-09-20 01:06:15 -04:00
rusefi
78b9e5a438
refactoring
2019-09-20 00:17:00 -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
Matthew Kennedy
33d13a78fc
remove sensor_types.h ( #928 )
2019-09-11 18:10:49 -04:00
rusefi
7922d79cde
pedal calibration into status message
2019-09-02 22:58:36 -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
1ffaa8eea2
Live Data progress
2019-09-01 13:56:46 -04:00
rusefi
fa51007994
typo
2019-08-31 23:32:33 -04:00
Matthew Kennedy
77075fce3d
Fix some maf logic ( #880 )
...
* fix maf
* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
Matthew Kennedy
e0db83e027
Template-ize bin/value length for interpolation ( #878 )
...
* update consumers
* tests
* whitespace
* format
2019-07-09 21:16:36 +03:00
rusefi
b81c60cf3e
Refactoring: OS access should be explicit #867
2019-07-03 21:48:04 -04:00
rusefi
b2dece5269
undoing wrong fix & better fix for #805
...
also generator logging improvements
This reverts commit f07f96599b
.
2019-06-30 14:28:47 -04:00
rusefi
94cab4ffc2
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-30 13:24:55 -04:00
rusefi
d9c3eba470
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-27 06:47:13 -04:00
rusefi
b14757c4db
docs/type safety
2019-06-19 21:24:09 -04:00
rusefi
f07f96599b
"Calibrate TPS" broken in TS fix #805
2019-06-17 22:00:34 -04:00
rusefi
717af8a681
TPS Live Documentation
2019-06-17 21:37:11 -04:00
rusefi
a8f456b807
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
30847db935
adding support for smaller table axis
2019-06-10 12:38:32 -04:00
rusefi
5f642ac254
unit tests should not have global context, including mock values
2019-05-27 15:56:12 -04:00
rusefi
7b36fc951f
messing with TPS mocking
2019-05-27 14:21:12 -04:00
rusefi
d09bcad3e7
dreams of two ETBs
2019-05-05 12:02:42 -04:00
rusefi
ac2a81d381
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
5ea6ac01f9
ETB tiny progress
2019-04-30 18:46:39 -04:00
rusEfi
7e099495c8
ETB micro progress
2019-04-30 01:21:09 -04:00
rusefi
c8859d651c
docs
2019-04-24 17:00:05 -04:00
rusefi
541c445a2d
defined(__DOXYGEN__) ? #748
2019-04-12 22:07:03 -04:00
dron0gus
572d04a799
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
d94b6d74e7
better ICU error handling
2019-04-07 18:25:46 -04:00
rusefi
0a19060c94
docs
2019-03-17 18:11:03 -04:00
rusEfi
9a87b9e51b
better Electronic Throttle body control #493
2019-03-11 00:31:06 -04:00
rusefi
bc2a3c3de7
ETB quality instrumentation #494
...
set10K_4050K(ThermistorConf *thermistorConf)
2019-03-04 14:37:23 -05:00
rusEfi
6865fc343e
new 'etbreset' command
2019-03-02 15:04:42 -05:00
rusEfi
27bf22f704
reducing warning noise
2019-03-02 13:04:26 -05:00
rusEfi
715b003124
typo
2019-02-27 17:13:05 -05:00
dron0gus
76fa11d5e2
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
feb5b28623
refactoring: duplicated import, already imported
2019-02-05 21:06:18 -05:00
rusefi
3b5a07c9d6
CJ125 unit-tests coverage #617
2019-02-01 23:16:34 -05:00
rusefi
ed4fed57fb
better conditional compilation
2019-01-31 11:57:15 -05:00
rusefi
ee4ac9b240
NA6 progress
...
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi
ee8297c94d
refactoring: reducing header tree hell
2019-01-20 23:30:40 -05:00
rusefi
0ffa05a911
learning C++
2019-01-15 20:24:36 -05:00
rusefi
8aea068532
enjoying C++11
2019-01-13 23:25:15 -05:00
rusefi
2e1d552396
MAF2MAP convestion #538
2019-01-13 01:53:58 -05:00
rusefi
cbd2d69731
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-09 22:57:33 -05:00
rusefi
c51af79731
#35
2019-01-07 23:23:50 -05:00
rusefi
0c6f361181
refacoting: making code more consistent
2019-01-05 00:57:09 -05:00
rusefi
19c410387d
making either Matt or compiler or both happier
2019-01-05 00:11:17 -05:00
rusefi
fc8755fd5a
#35
2019-01-04 19:20:32 -05:00
rusefi
b767b4a251
#35 trying new kind of parameter magic
2019-01-04 00:51:32 -05:00
rusEfi
3d3122c76c
better? field name
2018-11-30 00:17:55 -05:00
rusefi
b7b2e53d55
CJ125 unit-tests coverage #617
2018-11-03 11:44:57 -04:00
rusefi
cf5e05e7b9
refactoring
2018-09-16 23:10:06 -04:00
rusefi
1f90cf153d
refactoring
2018-09-16 22:26:57 -04:00
rusefi
99e74635ef
step towards more unique codes
2018-07-25 23:30:00 -04:00
rusefi
959a91ae4c
unique error codes #598
2018-07-25 23:03:04 -04:00
rusefi
e3dfcc4df9
more detailed warning
2018-06-12 05:45:11 -04:00
rusEfi
319abc861e
docs
2018-01-30 22:04:33 -05:00
andreika-git
abb1c745e6
Prepare debug & output for CJ125 ( #558 )
2018-01-28 13:04:19 -05:00
andreika-git
1725058dc6
Add a new MAP sensor type (MPX4250A) ( #554 )
2018-01-26 10:50:12 -05:00
rusefi
64b7a51617
#65
...
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi
3e48813e73
#540
2018-01-23 08:34:18 -05:00
andreika-git
013b800c72
Impl. narrow EGO averaging (alpha) ( #545 )
...
* Impl. narrow EGO averaging (alpha)
* Use cyclic_buffer as a generic container for CIC
* Implicit #include of cyclic_buffer.h for safety
2018-01-23 08:24:13 -05:00
rusefi
575a608d55
#538
2018-01-21 16:11:39 -05:00
rusefi
e78b4f25a1
#538
2018-01-21 00:12:50 -05:00
rusefi
1d31067d19
happy new year
2018-01-20 20:55:31 -05:00
rusEfi
ce8e36e283
#538
2018-01-20 14:53:58 -05:00
andreika-git
98cdb75da7
"Fixed baro correction" option using the initial MAP pressure ( #529 )
...
* Fixed baro correction option using the initial MAP pressure
* code style
2018-01-03 07:47:44 -05:00
rusEfi
1c08f2ea8a
Fix VSS init/deinit
2018-01-01 11:27:15 -05:00
rusefi
b1f66d43ce
fixing build
2017-11-24 19:16:00 -05:00
rusefi
7c31baa327
ADC docs
2017-11-24 17:40:20 -05:00
rusefi
af1ca0b38f
#494
2017-11-16 14:44:53 -05:00
rusefi
b6f638b9af
Merge branch 'master' of https://github.com/rusefi/rusefi
2017-11-16 10:38:37 -05:00
rusefi
9bd52debc0
mock TPS refactoring
2017-11-16 10:29:40 -05:00
Matthew Kennedy
c3c38aa9bd
Implement oil pressure sensor ( #491 )
...
* code changes
* config changes
2017-11-15 14:30:13 -05:00
rusefi
5d18216133
docs
2017-11-14 18:49:16 -05:00
rusefi
27eb4a9eb7
#385
2017-10-29 20:29:02 -04:00
rusEfi
db51fd2c85
fixing new MAP decoder
2017-09-21 23:31:46 -04:00
rusEfi
8fdc48be40
DENSO map calibration
2017-09-21 21:15:13 -04:00
rusefi
1e580eb55e
docs
2017-08-28 19:36:12 -04:00
rusefi
3cdbcc5980
#470
2017-08-06 16:29:14 -04:00
rusefi
373fd46a0f
docs
2017-06-22 09:23:42 +03:00
rusefi
3aedc28bca
removing unused method
2017-06-22 08:59:07 +03:00
rusefi
ec47e857ef
some hack to handle linear CLT sensors
2017-06-12 18:48:55 -04:00
rusEfi
5a2884bf77
fixing throttle pedal settings storage & better names
2017-05-29 22:35:24 -04:00
rusefi
f1b65ed4aa
better error handling
2017-05-29 00:02:43 -04:00
rusefi
74a359077c
better macro name
2017-05-15 23:33:22 -04:00
rusefi
2a9f3cdede
better macro name
2017-05-15 23:28:49 -04:00
rusefi
84716ce672
#412
2017-05-11 08:32:08 -04:00
rusEfi
be18c73836
refactoring: better code names
2017-04-19 22:03:14 -04:00
rusefi
39ba28875c
#388 fixed
2017-04-07 16:35:43 -04:00
rusefi
9221a08a90
#388 progress
2017-04-07 16:01:49 -04:00
rusefi
d20ac67d63
#375
2017-04-02 01:46:27 -04:00
rusefi
92ddc34108
manual pre-merge - better error message
2017-04-01 16:52:55 -04:00
rusefi
2babd85a9e
individual error codes for all errors
2017-03-05 08:50:19 -05:00
rusefi
e968b6610e
simulator usability
2017-03-03 23:30:41 -05:00
rusefi
db7895a382
simulator usability
2017-03-03 23:26:50 -05:00
rusefi
70c36252b8
simulator usability
2017-03-03 23:24:32 -05:00
rusEfi
f6ad4b1ace
auto-sync
2017-02-15 11:03:28 -05:00
rusEfi
d605497615
auto-sync
2017-02-09 15:07:03 -05:00
rusEfi
ef496916f9
auto-sync
2017-01-22 17:03:31 -05:00
rusEfi
9396bb350d
auto-sync
2017-01-22 09:03:08 -05:00
rusEfi
5b8218beb5
auto-sync
2017-01-15 15:06:23 -05:00
rusEfi
421235be41
auto-sync
2017-01-05 20:04:02 -05:00
rusEfi
55e89f0f31
auto-sync
2017-01-03 06:05:22 -05:00
rusEfi
27b0cca4ef
auto-sync
2016-12-27 11:01:26 -05:00
rusEfi
34d2395015
auto-sync
2016-12-26 14:03:16 -05:00
rusEfi
a73141f687
auto-sync
2016-12-23 14:01:45 -05:00
rusEfi
83ab00ba5a
auto-sync
2016-12-22 14:02:38 -05:00
rusEfi
73ac4177b5
auto-sync
2016-12-21 18:01:56 -05:00
rusEfi
c869c21ba8
auto-sync
2016-12-18 12:03:48 -05:00
rusEfi
8fe71598d8
auto-sync
2016-12-17 12:03:02 -05:00
rusEfi
6bfd64cb5d
auto-sync
2016-12-17 11:01:40 -05:00
rusEfi
e72f660b39
auto-sync
2016-12-17 09:02:59 -05:00
rusEfi
9531d384a1
auto-sync
2016-12-16 21:02:54 -05:00
rusEfi
bac97cb24e
auto-sync
2016-12-16 19:02:14 -05:00
rusEfi
da1f4a4695
auto-sync
2016-10-31 20:02:09 -04:00
rusEfi
3acb8539e4
auto-sync
2016-10-15 00:02:44 -04:00
rusEfi
065c8529c1
auto-sync
2016-10-10 16:02:39 -04:00
rusEfi
8a83839ca9
auto-sync
2016-10-10 15:02:10 -04:00
rusEfi
e984e7a0c4
auto-sync
2016-10-10 14:02:17 -04:00
rusEfi
9c80785122
auto-sync
2016-08-26 19:02:56 -04:00
rusEfi
7047fe83e1
auto-sync
2016-07-23 14:03:36 -04:00
rusEfi
38b3771a4b
auto-sync
2016-07-13 21:03:05 -04:00
rusEfi
5cd7159bb0
auto-sync
2016-06-26 14:01:41 -04:00
rusEfi
58e5f003db
auto-sync
2016-06-25 19:03:02 -04:00
rusEfi
ead56c897e
auto-sync
2016-06-25 16:02:01 -04:00
rusEfi
8a87aba3c4
auto-sync
2016-06-23 00:01:55 -04:00
rusEfi
a9c530c02a
auto-sync
2016-06-18 12:01:50 -04:00
rusEfi
67aad7d58e
auto-sync
2016-06-16 23:02:08 -04:00