Commit Graph

648 Commits

Author SHA1 Message Date
Matthew Kennedy 38a7a852d7 send blend table Y axis value so the dot moves in TS #585 2025-05-04 01:50:46 -07:00
Matthew Kennedy d0a4f7440c dead code 2025-01-18 15:39:39 -08:00
Matthew Kennedy 64eb875b12 each cylinder calculates its own offset 2025-01-18 01:54:48 -08:00
Matthew Kennedy 73edd28251 cylinders know their own index and number 2025-01-18 01:40:18 -08:00
Matthew Kennedy 1ff00b7524 getCylinderId -> getCylinderNumberAtIndex 2025-01-18 01:23:10 -08:00
Matthew Kennedy 0e2709cd91 start refactoring towards OneCylinder 2025-01-18 01:03:44 -08:00
Matthew Kennedy 54447b1254 relocate getSparkDwell 2024-12-24 02:30:46 -08:00
Matthew Kennedy 4c770b3431 unnecessary includes 2024-12-24 02:15:40 -08:00
Matthew Kennedy 8312d838c5 missed the mk file 2024-12-24 01:59:33 -08:00
Matthew Kennedy 76800a4961 extract firing order logic to its own file 2024-12-24 01:44:13 -08:00
Matthew Kennedy 66e3ec7b84 quad wideband 2024-12-17 15:29:17 -08:00
GitHub gen-configs Action a2ab146071 Auto-generated configs and docs 2024-12-15 04:42:11 +00:00
Matthew Kennedy 5a679121a0 livedata: throttle model 2024-12-14 20:40:41 -08:00
Matthew Kennedy 3950a6a17a cleanup 2024-09-26 16:16:37 -07:00
Matthew Kennedy 38dc2255b4 pch 2024-09-26 16:15:50 -07:00
Matthew Kennedy 9a9fc3ff14 min/maxF -> std::min/max 2024-09-25 14:00:33 -07:00
Matthew Kennedy e25962569c don't inject VE table, prep #459 2024-09-25 00:49:16 -07:00
Matthew Kennedy 28fc04ee3d int rpm -> float rpm 2024-09-25 00:04:00 -07:00
Matthew Kennedy 084a1d0dfd std::abs 2024-09-24 23:47:37 -07:00
Matthew Kennedy a329b3afca int rpm -> float rpm 2024-09-24 23:21:39 -07:00
Matthew Kennedy b5271f0991 misc logging cleanup 2024-09-18 22:17:07 -07:00
Matthew Kennedy 51a23364e2
Odd cylinder engine wasted spark (#479)
* allow wasted spark spin-up

* allow firing without phase sync on odd cyl engines

* support odd cyl wasted spark

* changelog

* unit test it

* wow, it's easy to support odd-fire too
2024-08-31 02:22:31 -07:00
Matthew Kennedy 63b07e5d1f cisnan -> std::isnan 2024-07-22 12:05:17 -07:00
Matthew Kennedy b436518c40 avoid float -> int -> float 2024-05-14 23:42:54 -07:00
Matthew Kennedy 5fd3056d40 add firing orders 2024-04-03 14:16:28 -07:00
Matthew Kennedy 8680b22816 move a bunch of tables out of engine_configuration_s #371 2024-03-17 12:06:14 -07:00
GitHub gen-configs Action 2c42d8d83c Auto-generated configs and docs 2024-01-19 12:02:28 +00:00
Matthew Kennedy 6b0e41ce45 remove single use function 2024-01-17 02:58:45 -08:00
Matthew Kennedy cde642ae61 Blend tables can override Y axis 2024-01-17 02:43:04 -08: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
Matthew Kennedy 36643bb7f4 dead pid auto tune 2023-11-01 13:54:48 -07:00
Matthew Kennedy 987aa618dc make wrapAngle a function not macro 2023-10-19 15:21:44 -07:00
Matthew Kennedy f835025a2f remove wrapAngle2, wrapAngle does fine 2023-10-19 14:46:55 -07:00
Matthew Kennedy 7b955cb1b3 fixAngle -> wrapAngle 2023-10-19 14:34:29 -07:00
Matthew Kennedy 30f85245ec test lambda monitor response #75 2023-07-26 00:35:28 -07:00
GitHub gen-configs Action 6ef6de81b6 Auto-generated configs and docs 2023-07-26 07:01:58 +00:00
Matthew Kennedy 20ebd3a433 lambda monitor live data 2023-07-25 23:59:00 -07:00
GitHub gen-configs Action 62ad0beb1d Auto-generated configs and docs 2023-07-19 07:23:44 +00:00
Matthew Kennedy e03b240e19 wire up restoreConditionsMet #75 2023-06-29 00:10:36 -07:00
Matthew Kennedy a63930a5c4 lambda monitor wiring 2023-06-28 23:49:50 -07:00
Matthew Kennedy 51c31c217b stub lambda monitor #75 2023-06-28 23:31:53 -07:00
Matthew Kennedy 57263be2fe mockable throttle model 2023-05-11 14:37:48 -07:00
Matthew Kennedy 89d66d4abd stub TIP sensor 2023-05-07 01:51:28 -07:00
Matthew Kennedy a8fef36342 more log fields cleanup, lots of duplicates around fuel logic #98 2023-05-05 02:09:42 -07:00
GitHub gen-configs Action cff4543e1a Auto-generated configs and docs 2023-05-05 08:41:45 +00:00
Matthew Kennedy 0c80664f49 yet more field cleanup (and some dead ones?) #98 2023-05-05 01:37:46 -07:00
Matthew Kennedy d5f9479f28
ObdCode is enum class (#77)
* change ObdCode to enum class builds firmware

* test builds

* don't need this line at all

* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy d6534157a0 rename obd_code_e -> ObdCode 2023-04-11 16:32:47 -07:00
Matthew Kennedy 2f85cd60d4 use ECU-calculated blend table axis values 2023-04-02 13:56:42 -07:00
Matthew Kennedy 1bc1e76efa blend result returns blend parameter value for TS UI 2023-04-02 13:50:34 -07:00