Matthew Kennedy
86019ef085
don't pass around a scheduler to all PWM, get it from engine
2025-03-02 12:31:30 -08:00
Matthew Kennedy
002ae8eab9
show knock window on engine sniffer
2025-02-02 00:26:37 -08:00
Matthew Kennedy
136138e190
sampleBuffer -> knockSampleBuffer
2025-02-01 23:37:33 -08:00
Matthew Kennedy
a38b3e37e7
each MCU port is responsible for storing its own knock sample buffer #31
2025-02-01 23:21:21 -08:00
Matthew Kennedy
a45a38c304
knock sense respects ADC/vcc parameters
2025-02-01 23:14:10 -08:00
Matthew Kennedy
1dace5e301
unnecessary functions
2025-01-08 18:37:50 -08:00
Matthew Kennedy
680a8667cb
dead code
2025-01-08 18:35:46 -08:00
dynfer
bad1429b42
CEL workaround ( #526 )
...
* initial test
* temporary fix to CEL
* cel for sensors
* brackets and blink on firmware error
* restore blinking CEL
2025-01-07 16:38:29 -08:00
Matthew Kennedy
02714916e8
sensor check oil temp
2025-01-07 15:14:29 -08:00
Matthew Kennedy
8fe18697da
check oil pressure sensor
2025-01-07 15:12:11 -08:00
Matthew Kennedy
e8f92cb3b5
avoid duplicate sensor errors
2025-01-07 15:11:32 -08:00
GitHub gen-configs Action
be29786b69
Auto-generated configs and docs
2025-01-04 02:34:07 +00:00
Matthew Kennedy
04a6a2c7d2
sensor checker knows about 5v sensor supply voltage
2025-01-03 18:32:48 -08:00
GitHub gen-configs Action
0baff3d285
Auto-generated configs and docs
2025-01-03 05:36:25 +00:00
Matthew Kennedy
43e759593c
detect main relay faults
2025-01-02 21:34:59 -08:00
Matthew Kennedy
7946c29c8d
move vr threshold out of engine_configuration_s
2025-01-01 14:42:02 -08:00
Matthew Kennedy
744f0ff2f0
if (auto x = foo())
2024-12-26 00:25:20 -08:00
Matthew Kennedy
cf58ece693
nix on SENT
2024-12-23 22:06:05 -08:00
GitHub gen-configs Action
8d99cb6179
Auto-generated configs and docs
2024-12-17 23:30:37 +00:00
Matthew Kennedy
66e3ec7b84
quad wideband
2024-12-17 15:29:17 -08:00
Matthew Kennedy
5c08bdd42d
sensor.h comment
2024-12-15 16:19:51 -08:00
GitHub gen-configs Action
8a57855bab
Auto-generated configs and docs
2024-12-10 02:58:58 +00:00
Matthew Kennedy
294b9b1f59
multi live data ( #518 )
...
* multiple livedata of one type
* jar
* axe "fancy" content
* nix new fancy cleanup
* make it work for WBO too!
* friendlier fan names
* jar
2024-12-09 18:57:39 -08:00
Matthew Kennedy
ad3bb2ab99
modularize knock adc for h7
2024-11-18 11:36:41 -08:00
GitHub gen-configs Action
1e9bb0f0be
Auto-generated configs and docs
2024-11-06 08:03:32 +00:00
Matthew Kennedy
4f02de13f7
add sensor types for wheel speeds
2024-11-05 19:39:50 -08:00
Matthew Kennedy
2c7a902d39
minor simplification to TableFunc template params
2024-09-26 16:27:40 -07:00
Matthew Kennedy
8952633854
int rpm -> float rpm
2024-09-25 00:16:53 -07:00
Matthew Kennedy
084a1d0dfd
std::abs
2024-09-24 23:47:37 -07:00
Matthew Kennedy
ac8f2d2495
analog sensors are never optional
2024-09-18 22:22:06 -07:00
GitHub gen-configs Action
577d542ee6
Auto-generated configs and docs
2024-09-17 05:45:10 +00:00
Matthew Kennedy
f713f66cf3
Merge branch 'master' of https://github.com/fome-tech/fome-fw
2024-09-16 22:42:25 -07:00
Matthew Kennedy
bd1e986d48
cleanups after #487
2024-09-16 22:41:42 -07:00
GitHub gen-configs Action
1d6b1a5733
Auto-generated configs and docs
2024-09-17 05:41:04 +00:00
alrijleh
9c928539bc
Disable DFCO when clutch is applied ( #487 )
...
* compiles but untested
* hide TS setting if clutchUpPin is not configured
* unit test passes
* disable feature if io not configured, fix unit test commit
* de morgans to align with other gating conditions - no functional change
2024-09-16 22:39:41 -07:00
GitHub gen-configs Action
dca081a907
Auto-generated configs and docs
2024-08-30 07:20:25 +00: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
7bf122f5e9
automatic knock sense frequency
2024-08-05 23:49:22 -07:00
Matthew Kennedy
4e9f59abcc
sensor checker: MAP
2024-07-24 23:16:07 -07:00
Matthew Kennedy
63b07e5d1f
cisnan -> std::isnan
2024-07-22 12:05:17 -07:00
Nathan Schulte
50f7a653a7
Toyota ETCS-i [02/02]: RedundantSensor: partial second (avoid average, etc.) ( #431 )
2024-07-16 02:08:43 -07:00
Matthew Kennedy
dd8dea61c0
rename Executor -> Scheduler
2024-07-11 17:03:13 -07:00
Matthew Kennedy
bb1d5f26d2
for loop formatting
2024-07-03 00:22:48 -07:00
Matthew Kennedy
57bb54a036
sensor mocking by name
2024-06-27 18:04:04 -07:00
Nathan Schulte
cd38fa1f61
remove functionpointer sensor ( #442 )
...
* remove functionpointer sensor
* remove function_pointer_sensor.cpp from tests.mk
2024-06-14 12:17:09 -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
9fd94a6cee
more timers instead of hand rolled
2024-04-25 16:30:38 -07:00
Matthew Kennedy
632c493c4f
little bit of encapsulatino
2024-04-25 16:18:51 -07:00