Matthew Kennedy
71d8e80ddc
progress on dual MAP
2025-03-07 00:13:41 -08:00
Matthew Kennedy
555ba158ea
properly support different aux linear type
2025-03-03 01:03:58 -08:00
Matthew Kennedy
6299890abb
simulator initBoardSensors
2025-01-03 14:06:22 -08:00
Matthew Kennedy
9f4b66052b
we have main relay sensing!
2025-01-02 21:55:04 -08:00
Matthew Kennedy
66e3ec7b84
quad wideband
2024-12-17 15:29:17 -08:00
Matthew Kennedy
6b26a4e427
dead feature: sensor chart fast ADC
2024-11-08 00:12:37 +00:00
Matthew Kennedy
97a4f8157f
no need to guard
2024-09-26 16:43:23 -07:00
Matthew Kennedy
021567e12f
no need to guard this against tests
2024-09-26 16:34:43 -07:00
Matthew Kennedy
2c7a902d39
minor simplification to TableFunc template params
2024-09-26 16:27:40 -07:00
Matthew Kennedy
084a1d0dfd
std::abs
2024-09-24 23:47:37 -07:00
Matthew Kennedy
a269b9af38
additional aux linear sensors #476
2024-08-30 00:18:54 -07:00
Matthew Kennedy
761efd862c
MAP avg uses engine module callbacks ( #475 )
...
* use engine module callbacks
* happy tests
* happy small-can-board
* interact with map avg via module
* simplify map avg init
* tweaks
* omit module to disable it instead!
* unnecessary guard
* minor cleanups
* unnecessary branch - lookups for these tables are fine at 0 rpm
* oop
2024-08-29 22:38:30 -07:00
Matthew Kennedy
12321d4325
map averaging includes
2024-08-29 13:29:53 -07:00
Matthew Kennedy
bb1d5f26d2
for loop formatting
2024-07-03 00:22:48 -07:00
Matthew Kennedy
61ace6eaa0
compactify MAF table, why was it so big?
2024-07-02 20:56:06 -07:00
Matthew Kennedy
b6bd94c852
redundant tps config compatibility
2024-07-01 20:37:21 -07:00
Matthew Kennedy
57bb54a036
sensor mocking by name
2024-06-27 18:04:04 -07:00
Matthew Kennedy
e7d2b1c17c
compile-time enforcement of printf strings
2024-06-10 01:15:39 -07:00
Nathan Schulte
a195289a12
Toyota ETCS-i [01/02]: meld FordRedundantTps Sensor into RedundantSensor ( #430 )
...
* remove redundant_ford_tps
* meld redundant_ford_tps logic into RedundantSensor
* default tps/ppsSecondaryMaximum is 100
* initTps uses melded RedundantSensor
* meld RedundantSensor unit tests
* RedundantSensor::showInfo prints redundancy status
* RedundantSensor::showInfo prints partial redundancy status
* assert SensorResult code in RedundantSensor tests
* RedundantSensor doesn't hide primary sensor result code
in the case of a single sensor only, don't hide the UnexpectedCode value
2024-06-03 11:28:56 -07:00
Matthew Kennedy
c76be0dad1
deduplicate sensor init
2024-04-09 10:11:07 -07:00
Matthew Kennedy
e4258d6b86
proper fix for flex temp sensing
2024-04-03 14:18:52 -07:00
Matthew Kennedy
77fd7627a7
does flex need to be inverted?
2024-04-01 16:09:02 -07:00
Matthew Kennedy
8680b22816
move a bunch of tables out of engine_configuration_s #371
2024-03-17 12:06:14 -07:00
Matthew Kennedy
30be474784
missing initLambda in reconfigureSensors
2024-02-26 17:28:11 -08:00
Matthew Kennedy
b81c30bd4a
getAuxDigital #351
2024-01-23 10:15:58 -08:00
Matthew Kennedy
17c6a46e84
optimize for hot thread stacks and data in CCM
2024-01-06 19:37:35 -08:00
Matthew Kennedy
053e9daceb
oops these don't fit either
2024-01-06 19:01:41 -08:00
Matthew Kennedy
7b46529dee
move some stuff in to CCM
2024-01-06 18:52:37 -08:00
Matthew Kennedy
c7864c601e
missed flex wiring fix #283
2023-11-01 17:12:47 -07:00
Matthew Kennedy
0aee861107
gpio, thermistor, knock shadowing
2023-11-01 16:09:39 -07:00
Matthew Kennedy
bec35e5078
shadowing broke flex
2023-11-01 13:50:15 -07:00
Matthew Kennedy
3b5ceaf490
Flex sensor decodes temperature too #254
2023-09-18 11:43:59 -07:00
Matthew Kennedy
80ad675b02
implement cdp/tip
2023-09-18 02:04:10 -07:00
Matthew Kennedy
9652598faf
implement thermistors #250
2023-09-18 01:37:46 -07:00
Matthew Kennedy
4542c259d2
semi-secret brz/frs pedal mode
2023-06-10 20:12:14 -07:00
Matthew Kennedy
ec8b054093
implement temp sensor pulldown mode #116
2023-06-10 13:36:03 -07:00
Matthew Kennedy
c2d058126d
obd sensors very broken
2023-06-01 14:08:13 -07:00
Matthew Kennedy
d5f9479f28
ObdCode is enum class ( #77 )
...
* change ObdCode to enum class builds firmware
* test builds
* don't need this line at all
* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy
df03f3c536
Fix afr dropdown, switch AFR to sensor model ( #62 )
...
* move presets to ini, like clt/iat
* call deinit
* init lambda using proper sensors
* raw output channel
* init lambda test
* ve blend 1 should use bias table 1, good eye @nmstec
2023-03-09 11:25:30 -08:00
Matthew Kennedy
82346c1650
misc
2023-03-03 02:17:33 -08:00
Matthew Kennedy
d36dfe4e07
tps init typo
2023-02-25 00:31:18 -08:00
Matthew Kennedy
bc4d1127bc
etb style idle valve
2023-02-20 22:56:26 -08:00
Matthew Kennedy
fd09ad7b4f
cj125
2023-02-20 22:21:52 -08:00
Benas Brazdziunas
9cac9a309a
dual ADC wideband support ( #5007 )
...
* Initial work on dual ADC wideband
* Added FunctionPointerSensor lambdaSensor2 and registered second sensor
* removed second sensor heater output. Only used for NB and probably can be shared with sensor 1
---------
Co-authored-by: benas-gavea <bbrazdziunas@gavea.co.uk>
2023-01-29 05:01:39 -05:00
Matthew Kennedy
5471321363
don't warn if we intentionally skipped this spark ( #4961 )
...
* don't warn if we intentionally skipped this spark
* header
* real nb2
2023-01-10 19:07:44 -05:00
Matthew Kennedy
38bd9f1a1e
support Toyota ETCS-i tps/pps ( #4898 )
...
* cfg
* cfg
* configurable "ford tps" mode for TPS + PPS
* comments
* comment
* fix deinit RedundantFordTps
unregister sensor in case useFordRedundant* changes, avoiding ECU config error
* better validation
* use activeConfiguration on deinit path
* use define
* use smaller unused hole
* s
Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2023-01-10 14:10:30 -05:00
rusefillc
b612c27917
external muxes for internal ADC #3350
2023-01-07 21:56:12 -05:00
Matthew Kennedy
96880543ca
adc resubscription of the same sensor ( #4947 )
...
* adc resubscription of the same sensor
* overload function name
* fix logic
* thermistors and map
2023-01-06 08:09:17 -05:00
Andrey
697a48e0ad
getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861
2023-01-03 21:54:28 -05:00
Andrey
7abe393778
getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861
2023-01-03 21:46:56 -05:00