Commit Graph

11242 Commits

Author SHA1 Message Date
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 96a9aba28e Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-01-17 02:58:50 -08:00
Matthew Kennedy 6b0e41ce45 remove single use function 2024-01-17 02:58:45 -08:00
GitHub gen-configs Action dd507c84d4 Auto-generated configs and docs 2024-01-17 10:47:52 +00:00
Matthew Kennedy cdd5306026 baro pressure -> gppwm channel option 2024-01-17 02:46:04 -08:00
GitHub gen-configs Action c9173ec0b8 Auto-generated configs and docs 2024-01-17 10:44:28 +00:00
Matthew Kennedy cde642ae61 Blend tables can override Y axis 2024-01-17 02:43:04 -08:00
GitHub gen-configs Action 23ea9efe31 Auto-generated configs and docs 2024-01-17 10:23:32 +00:00
Matthew Kennedy 271e657137 separate config for secondary injectors 2024-01-17 02:20:16 -08: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
Matthew Kennedy 6b432ffef5 Actually separate injector model for second stage 2024-01-16 23:11:01 -08:00
GitHub gen-configs Action 982ea6873e Auto-generated configs and docs 2024-01-17 07:01:25 +00:00
Matthew Kennedy 6767a755bd deduplicate getCrankDivider logic 2024-01-16 22:59:45 -08:00
GitHub set-date Action d7e356cebf Update date 2024-01-17 00:08:52 +00:00
GitHub gen-configs Action bee0b81b79 Auto-generated configs and docs 2024-01-16 20:29:33 +00:00
GitHub set-date Action f5ca8b2585 Update date 2024-01-15 00:09:29 +00:00
GitHub gen-configs Action d14b4ce41b Auto-generated configs and docs 2024-01-14 22:30:44 +00:00
rusefillc 6ef65a39c4
encapsulation? (#337)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-14 14:29:20 -08:00
rusefillc c121af8b83
encapsulation (#344)
* encapsulation

* encapsulation

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-14 14:28:22 -08:00
GitHub set-date Action 71094bb401 Update date 2024-01-09 00:09:23 +00:00
rusefillc 304572349d
injectorStaging defaults (#340)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-08 09:08:32 -08:00
GitHub gen-configs Action 82362c09fc Auto-generated configs and docs 2024-01-08 17:00:12 +00:00
rusefillc 8330b7230d
validate injectorStaging arrays (#339)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-08 08:58:45 -08:00
GitHub set-date Action 4170685de9 Update date 2024-01-08 00:09:06 +00:00
GitHub gen-configs Action 5999a2fcbb Auto-generated configs and docs 2024-01-07 23:23:56 +00: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
rusefillc daf9c19689
additional coverage (#336)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-07 12:53:07 -08:00
rusefillc d2eb532126
signal_executor_sleep is not part of real firmware (#334)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-07 12:39:26 -08:00
rusefillc c7a79619e0
encapsulation (#335)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-07 12:32:41 -08:00
Matthew Kennedy a45b9ab611 minor housekeeping 2024-01-06 23:10:56 -08:00
GitHub gen-configs Action 1c4a9a7ac0 Auto-generated configs and docs 2024-01-07 07:08:58 +00:00
Matthew Kennedy a8d202421c Merge branch 'warnings-2401' 2024-01-06 23:07:07 -08:00
Matthew Kennedy d09dce5cc9 RAM should fit on all builds now 2024-01-06 22:54:53 -08:00
Matthew Kennedy 05c5282aa3 remove inaccurate comments - we have ignition overdwell protect 2024-01-06 20:28:02 -08:00
Matthew Kennedy 17c6a46e84 optimize for hot thread stacks and data in CCM 2024-01-06 19:37:35 -08:00
Matthew Kennedy 6ff3bb49f7 that doesn't fit 2024-01-06 18:58:32 -08:00
Matthew Kennedy 2091c528f9 guard in sensor checker 2024-01-06 18:58:26 -08:00
Matthew Kennedy c814e6fc29 unused lua parameter 2024-01-06 18:55:39 -08:00
Matthew Kennedy 7b46529dee move some stuff in to CCM 2024-01-06 18:52:37 -08:00
Matthew Kennedy 6865c5a521 signed/unsigned comparison 2024-01-06 18:31:39 -08:00
Matthew Kennedy 7e2097056c unused parameters 2024-01-06 18:31:18 -08:00
GitHub set-date Action b5ebd74924 Update date 2024-01-07 00:09:46 +00:00
GitHub gen-configs Action d520d9bcee Auto-generated configs and docs 2024-01-06 17:23:25 +00:00
mi-hol 1d5c7fd220
clarify OBD error code CUSTOM_ERR_6566 to CUSTOM_ERR_CYL_ANGLE (#330)
* Update engine_math.cpp

* Update obd_error_codes.h

As suggested in https://github.com/FOME-Tech/fome-fw/pull/223#issuecomment-1684889630
2024-01-06 09:21:53 -08:00
GitHub set-date Action 57565e4943 Update date 2023-12-30 00:09:07 +00:00
GitHub gen-configs Action 62bb91b769 Auto-generated configs and docs 2023-12-29 05:37:39 +00:00
GitHub set-date Action a062f812c3 Update date 2023-12-27 00:08:29 +00:00
GitHub gen-configs Action d17bc0000a Auto-generated configs and docs 2023-12-26 01:52:27 +00:00
rusefillc 30ba35b837
refactoring: reducing code duplication (#316) 2023-12-25 17:51:04 -08:00
rusefillc 7bc59adb83
ETB calibration compatibility notes from 2022 (#320)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-12-25 17:50:47 -08:00
GitHub set-date Action 09c867ee06 Update date 2023-12-26 00:08:31 +00:00
GitHub gen-configs Action db1439e3cb Auto-generated configs and docs 2023-12-25 00:58:27 +00:00
GitHub set-date Action 15ab0314a6 Update date 2023-12-25 00:08:49 +00:00
GitHub gen-configs Action ccac598074 Auto-generated configs and docs 2023-12-24 19:45:45 +00:00
GitHub set-date Action cdf8059e68 Update date 2023-12-24 00:09:28 +00:00
GitHub gen-configs Action a3702d331f Auto-generated configs and docs 2023-12-23 05:42:58 +00:00
Matthew Kennedy 1a27a37c9d clamp injector model baro values to avoid whacky sensor killing engine 2023-12-22 21:41:31 -08:00
GitHub set-date Action 3d2b6fe2ad Update date 2023-12-22 00:08:41 +00:00
GitHub gen-configs Action bd1e42b346 Auto-generated configs and docs 2023-12-21 05:25:10 +00:00
GitHub set-date Action 63cba8ce32 Update date 2023-12-21 00:08:42 +00:00
GitHub gen-configs Action 62c27ab01c Auto-generated configs and docs 2023-12-20 23:26:43 +00:00
GitHub set-date Action 4701858cea Update date 2023-12-18 00:09:09 +00:00
GitHub gen-configs Action f298a423d6 Auto-generated configs and docs 2023-12-17 22:11:55 +00:00
GitHub set-date Action 3d1285a5f2 Update date 2023-12-11 00:09:03 +00:00
GitHub gen-configs Action 429a51eefe Auto-generated configs and docs 2023-12-10 01:27:23 +00:00
rusefillc d92ee4bcb3
only primary trigger needs camResyncCounter (#312) 2023-12-09 17:25:56 -08:00
GitHub set-date Action 6ec316e5cf Update date 2023-12-10 00:09:38 +00:00
GitHub gen-configs Action 1746751781 Auto-generated configs and docs 2023-12-09 23:11:38 +00:00
GitHub set-date Action 79ae9aa0d6 Update date 2023-11-29 00:08:41 +00:00
GitHub gen-configs Action 4b4f7ac13a Auto-generated configs and docs 2023-11-28 05:05:00 +00:00
Matthew Kennedy 7fdb821367 scale mk60e5 vss properly 2023-11-27 21:03:33 -08:00
GitHub set-date Action b166fdc7e5 Update date 2023-11-28 00:08:36 +00:00
GitHub gen-configs Action 4fa3cf6791 Auto-generated configs and docs 2023-11-27 09:31:37 +00:00
Matthew Kennedy c7cc2de16f sanity in IMU data names/ranges 2023-11-27 01:30:18 -08:00
Matthew Kennedy 28fbe86951 actually check for the correct mk60e5 speed CAN ID 2023-11-27 01:10:08 -08:00
GitHub gen-configs Action 9587a8207c Auto-generated configs and docs 2023-11-27 00:57:34 +00:00
Matthew Kennedy d35b833ead support mk60e5 2023-11-26 16:51:29 -08:00
GitHub set-date Action f26e64e40c Update date 2023-11-27 00:08:56 +00:00
GitHub gen-configs Action b8cff67be8 Auto-generated configs and docs 2023-11-26 00:20:51 +00:00
GitHub set-date Action 2ff774cfb0 Update date 2023-11-26 00:09:10 +00:00
GitHub gen-configs Action 97dd577af7 Auto-generated configs and docs 2023-11-25 08:10:37 +00:00
GitHub set-date Action 65682cc206 Update date 2023-11-25 00:08:08 +00:00
GitHub gen-configs Action 1fccee0acf Auto-generated configs and docs 2023-11-24 02:55:13 +00: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
GitHub set-date Action 57cf15885a Update date 2023-11-24 00:08:20 +00:00
GitHub gen-configs Action 0a284b10ed Auto-generated configs and docs 2023-11-23 05:56:24 +00:00
Matthew Kennedy 562020e6e0 Update wideband controller firmware image 2023-11-22 21:02:20 -08:00
GitHub set-date Action f88bfccdc6 Update date 2023-11-18 00:08:25 +00:00
Matthew Kennedy d274e98abc better defaults 2023-11-16 22:45:31 -08:00
GitHub gen-configs Action 79b955457b Auto-generated configs and docs 2023-11-17 06:25:28 +00:00
Matthew Kennedy c81579b9de dead piece of config 2023-11-16 22:23:58 -08:00
GitHub gen-configs Action 50763ff2fb Auto-generated configs and docs 2023-11-17 06:04:07 +00:00
GitHub set-date Action f2f5cf187e Update date 2023-11-17 00:08:27 +00:00
GitHub gen-configs Action ce3eed798a Auto-generated configs and docs 2023-11-16 00:33:44 +00:00
GitHub set-date Action acb6c0221a Update date 2023-11-14 00:08:15 +00:00
Matthew Kennedy e0b5c5b61d don't spam simulator with warning 2023-11-13 02:24:42 -08:00
Matthew Kennedy 4cb8bac14f s 2023-11-12 20:54:06 -08:00
Matthew Kennedy fc804bb345 simplify dead code 2023-11-12 20:52:52 -08:00
GitHub gen-configs Action b26e3a193c Auto-generated configs and docs 2023-11-13 04:50:25 +00:00
Matthew Kennedy 793532cea5 alternator uses closed loop controller 2023-11-12 20:48:55 -08:00
Matthew Kennedy 62980837b8 AlternatorController::onConfigurationChange 2023-11-12 19:56:22 -08:00
GitHub set-date Action c9c1dcd497 Update date 2023-11-10 00:08:14 +00:00
GitHub gen-configs Action 72995d928d Auto-generated configs and docs 2023-11-09 14:35:20 +00:00
Piotr Rogowski 9be3fa4d12
Update DBC file and docs (#278)
* Update DBC file and docs

* Revert version

* Update Kvaser
2023-11-09 09:33:34 -05:00
GitHub set-date Action d01bb4c442 Update date 2023-11-09 00:08:13 +00:00
GitHub gen-configs Action 90f07d4146 Auto-generated configs and docs 2023-11-08 01:35:37 +00:00
GitHub set-date Action 7e53aa0d1f Update date 2023-11-08 00:08:14 +00:00
GitHub gen-configs Action 9c45d699a6 Auto-generated configs and docs 2023-11-07 20:49:06 +00:00
GitHub set-date Action 3402870e70 Update date 2023-11-05 00:08:57 +00:00
GitHub gen-configs Action 414670cb85 Auto-generated configs and docs 2023-11-04 07:30:20 +00:00
GitHub set-date Action e9e8952a64 Update date 2023-11-04 00:08:11 +00:00
Matthew Kennedy 93cf484081 vvt guard 2023-11-03 15:32:07 -07:00
Matthew Kennedy f46ae91a79 wider guard of gpio check 2023-11-03 15:31:13 -07:00
Matthew Kennedy 2b519d13e8 fix MRE 2023-11-03 15:18:47 -07:00
Matthew Kennedy 97c084cc24 fix simulator 2023-11-03 15:08:28 -07:00
Matthew Kennedy 61900c0f18 check for unused variables 2023-11-03 15:00:44 -07:00
GitHub gen-configs Action 2405b9e91d Auto-generated configs and docs 2023-11-03 03:33:26 +00:00
GitHub set-date Action 356027f73f Update date 2023-11-03 00:08:12 +00:00
GitHub gen-configs Action 8e6814d7c0 Auto-generated configs and docs 2023-11-02 22:38:36 +00:00
GitHub gen-configs Action d3944f62f8 Auto-generated configs and docs 2023-11-02 09:24:16 +00:00
Matthew Kennedy 17e8a74bb8 dead mafSensorType fix #284 2023-11-02 02:20:57 -07:00
Matthew Kennedy 9dc183a173
we use small time units here in the future (#287) 2023-11-01 22:31:27 -07:00
GitHub set-date Action e61a4f645f Update date 2023-11-02 00:27:02 +00:00
GitHub gen-configs Action 0ec2f24e72 Auto-generated configs and docs 2023-11-02 00:03:53 +00:00
Matthew Kennedy a427a46ffc dead line 2023-11-01 16:40:53 -07:00
Matthew Kennedy 0aee861107 gpio, thermistor, knock shadowing 2023-11-01 16:09:39 -07:00
Matthew Kennedy 9c3207f5ea event queue shadowing 2023-11-01 16:02:34 -07:00
Matthew Kennedy 1aa4d5d66e PWM shadowing 2023-11-01 16:02:27 -07:00
Matthew Kennedy baebd29adb shadowing in trigger land 2023-11-01 15:54:03 -07:00
Matthew Kennedy 71dc7b715e avoid more shadowing 2023-11-01 15:52:30 -07:00
Matthew Kennedy 8e846e8842 avoid vexing parse 2023-11-01 15:51:44 -07:00
Matthew Kennedy 0fd5e33b89 happy hpfp test 2023-11-01 15:35:41 -07:00
Matthew Kennedy fe028f4f06 dc motor 2023-11-01 15:16:27 -07:00
Matthew Kennedy 21998dae2d tests 2023-11-01 15:14:53 -07:00
Matthew Kennedy 68be3eabff misc anti shadow 2023-11-01 14:59:48 -07:00
Matthew Kennedy 44bd9af964 misc anti shadow 2023-11-01 14:59:36 -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
Matthew Kennedy ec676a1a83 shadow avoidance 2023-11-01 14:08:24 -07:00
Matthew Kennedy ce2198270e avoid some misc shadowing 2023-11-01 13:58:39 -07:00
GitHub gen-configs Action 1e86dc2fd4 Auto-generated configs and docs 2023-11-01 20:56:53 +00:00
Matthew Kennedy 9c783a9cc7 missed one 2023-11-01 13:54:57 -07:00
Matthew Kennedy 36643bb7f4 dead pid auto tune 2023-11-01 13:54:48 -07:00
Matthew Kennedy 1310eb4e29 lua and scheduler shadowing 2023-11-01 13:46:22 -07:00
GitHub gen-configs Action 52f3f408c2 Auto-generated configs and docs 2023-11-01 01:15:15 +00:00
GitHub set-date Action 894777595e Update date 2023-11-01 00:08:47 +00:00
Matthew Kennedy 5a72d1edac I can't spell 2023-10-31 00:51:07 -07:00
Matthew Kennedy 68d43fd55d missed one 2023-10-31 00:01:29 -07:00
Matthew Kennedy 2326a924f9 dead include 2023-10-30 23:44:49 -07:00