Matthew Kennedy
dc2fb765a9
rewrite tps init, check if your primary/secondary sensors are too similar ( #4231 )
...
* rewrite tps init
* staticstaticstaticstaticstaticstaticstatic
2022-06-04 12:07:28 -04:00
Matthew Kennedy
8a841bb52c
lua can set sensors ( #3389 )
...
* add sensor unsubscribe
* sensor hook
* test it!
* virtual destructor makes us sad
* ensure deinit
2021-10-22 16:36:29 -04:00
Andrey
37594d5646
findSensorTypeByName
2021-10-20 22:21:42 -04:00
Matthew Kennedy
9797d25b7c
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
rusefillc
4901a69d17
https://rusefi.com/forum/viewtopic.php?p=42468#p42468
2021-10-04 18:43:37 -04:00
Matthew Kennedy
70dfd4af78
inhibit sensor timeout during flash ( #3146 )
...
* inhibit timeout during flash
* do it up a level
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-15 23:04:58 +03:00
Matthew Kennedy
5145ee4b62
logging cleanup 2: sensors, pid, etb, etc ( #2567 )
...
* ts logger
* sensors
* wideband too
* missed one
* init
* motors, pid, etc
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 20:02:32 -04:00
Matthew Kennedy
2328c1be6b
Fuel pressure sensor checks ( #2449 )
...
* test for missing sensor
* test negative pressure delta checking logic
* test new hasSensor logic
2021-03-12 23:32:41 -05:00
rusefillc
b41ca74386
clang warnings again #2055
2020-12-11 12:50:10 -05:00
Matthew Kennedy
bad0e6b949
require redundant TPS for ETB ( #2041 )
...
* Require redundant tps for ETB (#2037 )
* mod sensor api
* require redundancy
* fix tests
* check that it fails
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
* add a test that fails but should not
* fix the bug
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 06:24:20 -05:00
rusefi
bb3cb0ba22
Revert "Require redundant tps for ETB ( #2037 )"
...
This reverts commit 4f1085a8
2020-12-07 01:11:32 -05:00
Matthew Kennedy
4f1085a87a
Require redundant tps for ETB ( #2037 )
...
* mod sensor api
* require redundancy
* fix tests
* check that it fails
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:05:06 -05:00
Matthew Kennedy
9ccda6bbe7
add isRedundant ( #2031 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 14:55:06 -05:00
Matthew Kennedy
de4990bfa2
encapsulate entry logic in to entry ( #2018 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 10:16:52 -05:00
rusefi
7bb5560150
less hacky implementation
2020-09-03 21:47:50 -04:00
rusefi
f2a80a4eb7
OBD CAN sensors #1733
2020-08-31 22:50:01 -04:00
Matthew Kennedy
7f60384c75
add expected helper class ( #1321 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-19 01:53:04 -04:00
Matthew Kennedy
22267e5479
Replace hasPedalPositionSensor ( #1245 )
...
* remove
* add Sensor::hasSensor
* consume in etb
* remove unused state
* don't use it there either
* format
* fix up tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
Matthew Kennedy
8151793ec7
Improve tps error message ( #1244 )
...
* improve error messages
* fix
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:02:44 -04:00
Matthew Kennedy
483d4a2204
Debuggability in the new sensor world ( #1238 )
...
* rename to avoid conflict
* fix efilib
* add sensor printing
* makefile
* that check was already there
* const
* const
* fix tests
* formatting
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-30 18:29:42 -04:00
Matthew Kennedy
7b44f618e7
custom verbose can format ( #1200 )
...
* config
* ts
* default cfg
* hand generate
* tx struct helper
* add data sending
* wire up
* value_or helper
* add file
* more sensors
* header
* compactify
* add status frame
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 17:58:46 -04:00
Matthew Kennedy
f7282966d2
Consume new tps in status_loop.cpp, settings.cpp ( #1129 )
...
* new tps
* more
* settings.cpp too
* more
* comment
2020-02-07 06:05:15 -03:00
Matthew Kennedy
d3d088676b
Add timeout + raw value access for sensors ( #1098 )
...
* timeout
* inject stamp
* allow getting raw value
* plumb timeout
* fix tests
2020-01-12 03:25:23 -05: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