Commit Graph

721 Commits

Author SHA1 Message Date
Matthew Kennedy 0f04cedfee size_t 2024-06-27 15:28:00 -07:00
Matthew Kennedy cc74d09ba7 controller does warning LED 2024-06-27 12:53:58 -07:00
Matthew Kennedy 507f811852 happy simulator? 2024-06-27 12:23:12 -07:00
Matthew Kennedy 94a5c52186 consoleByteArrived uses std::atomic 2024-06-27 11:51:40 -07:00
Matthew Kennedy cf87e64119 compile-time enforcement of printf strings 2024-06-10 00:51:14 -07:00
Matthew Kennedy 55ce26207e fix 2024-04-25 14:26:25 -07: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 c7cc2de16f sanity in IMU data names/ranges 2023-11-27 01:30:18 -08:00
Matthew Kennedy 9474781a46 small can board 2023-11-03 15:50:39 -07:00
Matthew Kennedy 97c084cc24 fix simulator 2023-11-03 15:08:28 -07:00
Matthew Kennedy 6c37f56eb8 status loop 2023-11-01 16:10:43 -07:00
Matthew Kennedy 8e846e8842 avoid vexing parse 2023-11-01 15:51:44 -07:00
Matthew Kennedy 91a2827d4f
require all boards to define LED functions (#272)
* require all boards to define LED functions

* f429 nucleo

* small can

* small can
2023-10-25 22:19:52 -07:00
Matthew Kennedy f19eaeb7c8 dead isWarningEnabled 2023-10-24 16:25:53 -07:00
Matthew Kennedy 3999272d24 fix injection SOI log channel 2023-10-19 14:10:44 -07:00
Matthew Kennedy ad6c5af975
speedo output (#269)
* speedo output

* s

* fix init
2023-10-15 14:59:39 -07:00
Matthew Kennedy e09ed790eb extract injection refactoring from #215 2023-10-12 18:00:33 -07:00
Matthew Kennedy 6534650105 Fix autotune in AFR mode: add "gas scale AFR" output channels & gauges 2023-10-03 18:29:17 -07:00
Matthew Kennedy d98c6a9fc3 odometry output channels 2023-10-02 22:25:35 -07:00
Matthew Kennedy 4b354f047b
trip odometer (#260) 2023-09-25 13:16:17 -07:00
Matthew Kennedy 2346086b06
knock live data (#261)
* Move knock data to knock controller

* appease tsConfigVersion

* make reapply logic easier to read
2023-09-25 11:06:48 -07:00
Matthew Kennedy 0bd9bff4b4 cdp/tip output channels #250 2023-09-18 02:08:54 -07:00
Matthew Kennedy 5ca06de55d new temp sensor output channels #250 2023-09-18 01:54:49 -07:00
Matthew Kennedy 7ff224da12 Revert "debug channels cleanup"
This reverts commit 3b0d033dcd.
2023-09-13 15:40:21 -07:00
Matthew Kennedy 3b0d033dcd debug channels cleanup 2023-09-13 15:34:17 -07:00
Matthew Kennedy 3df1ee9c5f debug channel cleanups 2023-09-13 12:23:27 -07:00
Matthew Kennedy 565a5996c8 live data injector model 2023-07-01 20:51:01 -07:00
Matthew Kennedy 9fde5828da remove config lookup entirely 2023-06-05 00:11:06 -07:00
Matthew Kennedy 823830a613 add weak linked functions for LED pin fetching 2023-06-04 23:34:31 -07:00
Matthew Kennedy 75e57b1821 shared define for all LED pin mode 2023-06-04 23:32:14 -07:00
Matthew Kennedy 41339c5418 change to log base timing 2023-05-31 11:22:41 -07:00
Matthew Kennedy 18493f9083 TPS AE log cleanup 2023-05-05 02:34:48 -07:00
Matthew Kennedy a8fef36342 more log fields cleanup, lots of duplicates around fuel logic #98 2023-05-05 02:09:42 -07:00
Matthew Kennedy d0c645bad5 Add gego channel to make VE analyze happy #82 2023-05-04 14:22:36 -07:00
Matthew Kennedy c3092cb1ab cool, logging duplicate stuff! #98 2023-05-04 14:00:18 -07:00
Matthew Kennedy 3044589613 apparently we duplicated idle position, field renaming #98 2023-05-04 13:35:17 -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 82794403f8 gear detection in to the sensor model 2023-04-01 23:08:06 -07:00
Matthew Kennedy f090a97b0b remove specs_s struct, flatten config 2023-03-27 00:58:18 -07:00
Matthew Kennedy df03f3c536
Fix afr dropdown, switch AFR to sensor model (#62)
* move presets to ini, like clt/iat

* call deinit

* init lambda using proper sensors

* raw output channel

* init lambda test

* ve blend 1 should use bias table 1, good eye @nmstec
2023-03-09 11:25:30 -08:00
Matthew Kennedy 68f3b69a2e misc cleanups 2023-03-06 01:05:48 -08:00
Matthew Kennedy cd6b770945 is this just dead? 2023-03-03 02:05:50 -08:00
Matthew Kennedy fbb90f2c04
use shared txt instead of parsing full rusefi_config (#59) 2023-03-02 11:52:36 -08:00
Matthew Kennedy ecaaff544b de-pointerize outputMode #49 2023-02-25 00:31:12 -08:00
Matthew Kennedy bc0444acdb switch to use gitversion.h 2023-02-22 15:39:27 -08:00
Matthew Kennedy 5d7a30ce2b no qc 2023-02-22 14:53:31 -08:00
Matthew Kennedy bc4d1127bc etb style idle valve 2023-02-20 22:56:26 -08:00
Matthew Kennedy 495b5aebc7 mcp3208, hip9011 2023-02-20 22:40:31 -08:00
Matthew Kennedy 0e12622371 cdm ion 2023-02-20 22:37:14 -08:00
Matthew Kennedy 666a41e496 hip9011 2023-02-20 22:29:48 -08:00