Commit Graph

2336 Commits

Author SHA1 Message Date
Matthew Kennedy 70025791c6 this assertion didn't actually confirm any observable behavior 2024-08-05 11:47:54 -07:00
Matthew Kennedy f3045af367 AE is engine module 2024-08-01 21:45:54 -07:00
Matthew Kennedy ff5e47c95d
Engine modules participate in the build system (#452)
* infrastructure for engine modules in the build

* fully move fuel pump

* fan

* gear detector

* gear detect

* fan control cleanup

* trip odometer

* shuffle makefiles around a little

* minor format
2024-07-23 18:05:43 -07:00
Matthew Kennedy 7713071a8f std::isnan 2024-07-23 15:47:30 -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 9cae70c341 fix tests 2024-07-12 14:06:29 -07:00
Matthew Kennedy dd8dea61c0 rename Executor -> Scheduler 2024-07-11 17:03:13 -07:00
Matthew Kennedy e61e4c4b09 remove scheduleByTimestamp() 2024-07-11 16:38:42 -07:00
Matthew Kennedy 89a0b273c6 don't use scheduleByTimestamp 2024-07-11 16:32:55 -07:00
Matthew Kennedy 1731b30337 remove scheduleForLater 2024-07-11 16:27:30 -07:00
Matthew Kennedy 23f91d2fca wow, all of this was dead code 2024-07-03 00:37:27 -07:00
Matthew Kennedy bb1d5f26d2 for loop formatting 2024-07-03 00:22:48 -07:00
Matthew Kennedy d907e6123f fix sensor mock tests 2024-06-28 10:13:22 -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
Matthew Kennedy 2eb6c25313
ts refactoring (#439)
* replace large buffer instances

* handlePageReadCommand uses locked

* cleanup

* explicitly call big vs. small packet implementation

* correctness

* unused UNUSED

* cleaner TS logging & cleanup

* about time we bumped this
2024-06-09 20:26:27 -07:00
Matthew Kennedy c3e63d5541 fix test 2024-06-03 18:00:22 -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
Nathan Schulte 4351a8b1bc
size_t vs int compare fix (#438) 2024-06-03 11:27:29 -07:00
Matthew Kennedy 202ce2a8df s 2024-06-03 01:04:58 -07:00
Matthew Kennedy 493ddfdd92 happy tests? 2024-06-02 22:44:58 -07:00
Matthew Kennedy e70d4c7528 implement mazda L cam 2024-05-27 21:07:57 -07:00
Matthew Kennedy 044e575af6 Map3D considered harmful #421 2024-05-03 22:55:18 -07:00
Matthew Kennedy fecb5f6cfc unit test time is actually stored in ticks 2024-04-27 02:04:25 -07:00
Matthew Kennedy 80358ad54e setTimeNowUs(): replace global fiddling with a functino call 2024-04-27 01:59:38 -07:00
Matthew Kennedy 5f52f5fc9f no need for getTimeNowUs on ETH 2024-04-27 01:48:02 -07:00
Matthew Kennedy 1561a894ee minor cleanup 2024-04-26 12:49:37 -07:00
Matthew Kennedy 6c7bc7961c unit test global cleanup 2024-04-26 02:04:04 -07:00
Matthew Kennedy 80d9fd41aa unit test global cleanup 2024-04-26 02:02:49 -07:00
Matthew Kennedy 47ee857699 haha these two functions do the same thing!? 2024-04-25 22:17:20 -07:00
Matthew Kennedy decbaaef4a common getTimeNowUs 2024-04-25 22:01:46 -07:00
Matthew Kennedy be2c04813a common getTimeNowS 2024-04-25 21:57:50 -07:00
Matthew Kennedy 79dfb0f2c4 wrap times in simple structs 2024-04-25 15:46:53 -07:00
Matthew Kennedy d5ac15b9f2 test 2024-04-25 14:19:32 -07:00
Matthew Kennedy 46b3a748ba more tests that are less chaos now 2024-04-12 12:19:24 -07:00
Matthew Kennedy 3c28268a6c testFasterSpinup doesn't trigger error 2024-04-12 12:13:25 -07:00
Matthew Kennedy 9d8a23241b better log 2024-04-12 12:13:12 -07:00
Matthew Kennedy 61dd44a4ba test for noisy triggers and another fix 2024-04-12 11:29:38 -07:00
Matthew Kennedy 52c2aa45ea
fix overdwell in case of noisy trigger (#410) 2024-04-12 04:08:58 -05:00
rusefillc f269d56474
Odd fire unit (#407) 2024-04-10 21:36:01 -05:00
rusefillc 89462092a1
default argument to improve test API (#405) 2024-04-09 22:42:16 -07:00
Matthew Kennedy 3f8931f341 we often mean inline when we say static 2024-03-28 18:20:40 -07:00
Matthew Kennedy 3face67d0d maybe fix mac 2024-03-23 13:13:04 -07:00
Matthew Kennedy 25e2a40b53 avoid UB in tests 2024-03-22 12:07:58 -07:00
Matthew Kennedy 3a4bce217c Make toyota 3 tooth decoder more robust #382 2024-03-19 15:08:06 -07:00
rusefillc b251e2ba9d
cleanup & explicit Builds on windows are not supported by FOME (#392) 2024-03-19 12:54:41 -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 362e681dcb does it fail with ASAN disabled? 2024-03-17 03:13:28 -07:00
Matthew Kennedy a9d47da54e make clean deletes generated 2024-03-15 01:06:00 -07:00
Matthew Kennedy e2fa08478e test etb rounding 2024-03-14 15:49:38 -07:00
Matthew Kennedy d8898a4665 cherry picks from #385 2024-03-13 00:56:53 -07:00