Commit Graph

633 Commits

Author SHA1 Message Date
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
Matthew Kennedy 8e4994627d default init is ok for these 2024-04-25 15:49:27 -07:00
Matthew Kennedy 8d1029314a delete efitimems_t 2024-04-25 13:52:34 -07:00
Matthew Kennedy e332b32ed1 distinguish between "timestamp" and "duration" 2024-04-25 12:57:10 -07:00
GitHub gen-configs Action 2c42d8d83c Auto-generated configs and docs 2024-01-19 12:02:28 +00:00
Matthew Kennedy 0fbd2ee105 fix indents 2024-01-16 23:12:04 -08:00
rusefillc bdf2c72869
Knock explicit struct (#345)
* explicit struct fields

* explicit struct fields

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-16 23:11:11 -08:00
rusefillc c121af8b83
encapsulation (#344)
* encapsulation

* encapsulation

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-14 14:28:22 -08:00
Matthew Kennedy 17c6a46e84 optimize for hot thread stacks and data in CCM 2024-01-06 19:37:35 -08:00
Matthew Kennedy 2091c528f9 guard in sensor checker 2024-01-06 18:58:26 -08:00
Matthew Kennedy caa7e62b0e
new parser datalog support (#205)
* stale comments

* conform inputs

* implement datalog writing

* stale comment

* s

* stub out more support

* OutputChannelWriter

* tweak inputs so there's less diff later
2023-11-23 18:53:56 -08:00
Matthew Kennedy 61900c0f18 check for unused variables 2023-11-03 15:00:44 -07:00
Matthew Kennedy ada987985d efi gpio de-shadowing 2023-11-01 14:54:57 -07:00
Matthew Kennedy 4c6de064ad maf cleanup 2023-11-01 14:12:46 -07:00
GitHub gen-configs Action d94867084b Auto-generated configs and docs 2023-09-18 08:40:04 +00:00
Matthew Kennedy 7a2df32d04 sensor types for #250 2023-09-18 01:04:54 -07:00
Matthew Kennedy 0de6cd44cf debug modes cleanup 2023-09-13 12:19:18 -07:00
Matthew Kennedy 82ed3289bc guard 2023-09-07 12:27:31 -07:00
Matthew Kennedy 38c4a0f8b9 reject impossible pulses 2023-09-07 12:26:00 -07:00
Matthew Kennedy 382de1da14 typos 2023-09-07 12:11:12 -07:00
Matthew Kennedy 89945206a8 stub hella level sensor 2023-09-06 23:20:14 -07:00
GitHub gen-configs Action 62ad0beb1d Auto-generated configs and docs 2023-07-19 07:23:44 +00:00
Matthew Kennedy bed48892aa
new parser touches all input files (#201)
* begin the resurrection

* use hw ci build script

* Revert "use hw ci build script"

This reverts commit e97e693eea.

* list serial ports

* bad merge

* Revert "list serial ports"

This reverts commit a29270405c.

* Revert "bad merge"

This reverts commit ea2541110e.

* unnecessary autoscales

* improve bad autoscale message

* bit group formatting

* formatting matching

* c struct writer mostly works

* tests and formatting alignment

* tests

* cherry pick potential hw ci fix

* format matching

* newparse reads live data files

* vvt scaling

* cleanup

* format matching

* format matching

* format matching

* format matching

* handle arrays of structs

* cleanup for merge

* jars
2023-07-19 00:21:41 -07:00
Matthew Kennedy c36840d0c3 nix gauge generation 2023-07-18 11:39:39 -07:00
Matthew Kennedy abc979058c Inhibit sensor checker when battery voltage low #169 2023-06-23 01:29:51 -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 349d3a9b48 completely unused CanCategory 2023-05-30 22:13:54 -07:00
GitHub gen-configs Action 5befc8438e Auto-generated configs and docs 2023-05-07 08:52:55 +00:00
Matthew Kennedy 89d66d4abd stub TIP sensor 2023-05-07 01:51:28 -07:00
GitHub gen-configs Action a10ec0ab0c Auto-generated configs and docs 2023-05-05 09:42:48 +00:00