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
Matthew Kennedy
e4fd095a2c
unit tests get a board name for now
2024-03-07 22:59:47 -08:00
Matthew Kennedy
da1ad5b34f
scripts should fail harder when they fail
2024-03-07 22:17:37 -08:00
Matthew Kennedy
5e1359c919
correct big buffer move assignment/constructor behavior
2024-02-29 00:09:57 +00:00
Stefan de Kraker
4c65992017
Add cranking taper duration multiplier based on CLT ( #370 )
...
* Add Cranking taper duration multiplier based on CLT
* Fixed same merge error in TS config
* Fixed existing unit test for getCrankingTaperFraction, and added a new one to test multiplier table for cranking taper duration.
* Fixed existing header file for unit test getCrankingTaperFraction
* Changed naming
* changed logic
* Forgot to update name here too
* Forgot to update name here too, second time
2024-02-25 17:36:30 -08:00
Matthew Kennedy
e5fb7f7f3f
gen config with make ( #363 )
2024-02-22 10:58:03 -08:00
Matthew Kennedy
f8070a922a
implement & test backend for injection splitting ( #367 )
...
* framing dual injection
* fix test
* uncomment logic
* format
* start test
* good test
* add todo
2024-02-21 10:54:27 -08:00
Matthew Kennedy
705a238435
dead scripts
2024-02-16 14:38:54 -08:00
Matthew Kennedy
f3b335fe8d
all generated files in one dir ( #348 )
...
* delete existing generated source files
* ignore new generated dir
* move all the generated files
* cleanup
* jars
* makefile
* bootloader
* simulator+tests
2024-01-17 14:25:00 -08:00
Matthew Kennedy
6b432ffef5
Actually separate injector model for second stage
2024-01-16 23:11:01 -08:00
Matthew Kennedy
9673ff01f3
implement staged injection ( #331 )
...
* output channel
* duty cycle etc math for second stage
* action_s utility
* basic enable switch
* staging fraction math
* implement staging logic
* wire up pins for second stage injectors
* staging UI
* Improve staged injection test, check scheduler arguments for other injection tests
* Stage 2 last pulse output channel, correct fuel consumption logic
* wall wet on the whole shot
* int vs size_t
* use a define instead of function so we get line numbers
* fix batch injection
* gauges
* bad test merge
* stub out secondary injector model
2024-01-07 15:22:39 -08:00
Matthew Kennedy
26f57fd226
no trailing semicolon
2024-01-07 12:32:18 -08:00
Matthew Kennedy
a45b9ab611
minor housekeeping
2024-01-06 23:10:56 -08:00
Matthew Kennedy
d38a9ef0c0
missed a spot
2024-01-06 22:37:41 -08:00
Matthew Kennedy
47c5ac14e3
update googletest, because why not
2023-11-17 00:20:21 -08:00
Matthew Kennedy
e5a751e3b1
remove ccache ( #288 )
2023-11-02 11:28:14 -07:00
Matthew Kennedy
0ef0882597
this test worked on everything but apple silicon apparently
2023-11-01 21:46:08 -07:00
Matthew Kennedy
4ed8906748
fix tests for no shadowing
2023-11-01 17:31:08 -07:00
Matthew Kennedy
83c6ac9f97
these lines just did NOTHING?
2023-11-01 17:16:14 -07:00
Matthew Kennedy
fc308d400a
prep adding Werror=shadow
2023-11-01 15:37:00 -07:00
Matthew Kennedy
0fd5e33b89
happy hpfp test
2023-11-01 15:35:41 -07:00
Matthew Kennedy
21998dae2d
tests
2023-11-01 15:14:53 -07:00
Matthew Kennedy
36643bb7f4
dead pid auto tune
2023-11-01 13:54:48 -07:00
Matthew Kennedy
56abb0c3b6
happy CAN filter test
2023-10-31 01:07:46 -07:00