Commit Graph

3670 Commits

Author SHA1 Message Date
dynfer 79aaec84de
Lua idle rpm adder (#409)
* lua idle rpm adder

* idle target fix
2024-04-09 22:40:31 -07:00
Matthew Kennedy 5fd3056d40 add firing orders 2024-04-03 14:16:28 -07:00
GitHub gen-configs Action b7960cab6b Auto-generated configs and docs 2024-03-18 18:33:10 +00:00
rusefillc addb01f04f
MRE for Miata does not exist, also Frankenso method inline (#347)
* MRE for Miata does not exist, also Frankenso method inline

* MRE nor Frankenstein for Miata do not exist, also Frankenso method inline

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-03-18 11:31: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 498824eff4 tabs 2024-03-12 15:28:52 -07:00
Nathan Schulte bfb8cf1f89
GCC 13 simulator build, console->simulator on Linux (#378)
* engine: variable engine is: constexpr Engine

* can: rename CanRead::start to not hide

* console: support launching simulator on Linux

* console: fully encapsulate simulator binary name

* console: simplify simulator binary wrangling

* console: cleaner java code-style
2024-03-09 00:11:20 -08:00
GitHub gen-configs Action afc89be4c6 Auto-generated configs and docs 2024-02-28 00:58:08 +00:00
Matthew Kennedy c0489d8591 oops, some boards needed spi prescaler func 2024-02-27 16:56:32 -08:00
GitHub gen-configs Action b75691de9b Auto-generated configs and docs 2024-02-27 21:43:36 +00:00
Matthew Kennedy 4b02b7d46d
spi cleanup, add 4/5/6 to pickers 2024-02-27 13:42:19 -08:00
GitHub gen-configs Action e1b8a0cf2d Auto-generated configs and docs 2024-02-26 19:31:44 +00:00
Matthew Kennedy 9c2a6420b4 support spi4/5/6 2024-02-26 11:30:08 -08:00
GitHub gen-configs Action 2c42d8d83c Auto-generated configs and docs 2024-01-19 12:02:28 +00:00
Matthew Kennedy 76708670a0
New parser writes output channel c structs (#350)
* new parser writes c structs

* jar

* missing defs for simulator

* don't put defines you need in live data txt
2024-01-19 04:00:59 -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
Matthew Kennedy cde642ae61 Blend tables can override Y axis 2024-01-17 02:43:04 -08:00
Matthew Kennedy 271e657137 separate config for secondary injectors 2024-01-17 02:20:16 -08:00
Matthew Kennedy 6b432ffef5 Actually separate injector model for second stage 2024-01-16 23:11:01 -08:00
rusefillc 304572349d
injectorStaging defaults (#340)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-08 09:08:32 -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 6865c5a521 signed/unsigned comparison 2024-01-06 18:31:39 -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 1a27a37c9d clamp injector model baro values to avoid whacky sensor killing engine 2023-12-22 21:41:31 -08:00
Matthew Kennedy c7cc2de16f sanity in IMU data names/ranges 2023-11-27 01:30:18 -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
Matthew Kennedy d274e98abc better defaults 2023-11-16 22:45:31 -08:00
Matthew Kennedy c81579b9de dead piece of config 2023-11-16 22:23:58 -08:00
Matthew Kennedy 62980837b8 AlternatorController::onConfigurationChange 2023-11-12 19:56:22 -08:00
Matthew Kennedy 97c084cc24 fix simulator 2023-11-03 15:08:28 -07: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 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 36643bb7f4 dead pid auto tune 2023-11-01 13:54:48 -07:00
Matthew Kennedy a538805627 missed override in gear detector 2023-10-24 01:23:51 -07:00
GitHub gen-configs Action 73503da7d6 Auto-generated configs and docs 2023-10-24 08:01:46 +00:00
Matthew Kennedy 3e564ae319 vvt target bump feature 2023-10-24 00:59:48 -07:00
Matthew Kennedy 7b955cb1b3 fixAngle -> wrapAngle 2023-10-19 14:34:29 -07:00
Matthew Kennedy ad6c5af975
speedo output (#269)
* speedo output

* s

* fix init
2023-10-15 14:59:39 -07:00
Matthew Kennedy 38c873252e
smarter injector duty cycle limiting (#215)
* config for duty cycle limiting

* implement timeout duty cycle limiting

* comment

* make overlapping injections actually work!

* missed one

* test

* call addFuelEvents from fast callback

* update comment about why we call it again in main trigger callback

* one more extra call

* undo addFuelEvents change

* cleanup

* minor encapsulation

* fix

* changelog

* dead obd code
2023-10-14 14:27:19 -07:00
Matthew Kennedy f1e84220e0 another dead code while we're here 2023-10-12 23:27:19 -07:00
Matthew Kennedy 5e01450fee lock injection timing at high duty cycle to avoid skipped injections 2023-10-11 23:43:31 -07:00
Matthew Kennedy f08c374b73 don't cut spark for hard rev limit by default 2023-10-11 15:57:24 -07:00
Matthew Kennedy d5349044bc guard for small can board 2023-10-03 01:08:14 -07:00
Matthew Kennedy d98c6a9fc3 odometry output channels 2023-10-02 22:25:35 -07:00
Matthew Kennedy 768637aff1 trip odometer run time 2023-10-02 22:14:03 -07:00