Commit Graph

3859 Commits

Author SHA1 Message Date
Matthew Kennedy 54447b1254 relocate getSparkDwell 2024-12-24 02:30:46 -08:00
Matthew Kennedy 9bb98ab237 shuffle around ignition-related files 2024-12-24 02:21:13 -08:00
Matthew Kennedy 4c770b3431 unnecessary includes 2024-12-24 02:15:40 -08:00
Matthew Kennedy f38279f4a3 everybody loves a literally empty function 2024-12-24 01:58:51 -08:00
Matthew Kennedy 1a1d21b37f rename ignition_state -> ignition_controller 2024-12-24 01:55:42 -08:00
Matthew Kennedy 390bb5cf2c format some live data txts 2024-12-24 01:52:19 -08:00
Matthew Kennedy 76800a4961 extract firing order logic to its own file 2024-12-24 01:44:13 -08:00
GitHub gen-configs Action a0601454ab Auto-generated configs and docs 2024-12-24 07:13:08 +00:00
Matthew Kennedy cf5cfb7c35 compact config & outputs 2024-12-23 23:11:44 -08:00
GitHub gen-configs Action 749f02a9a4 Auto-generated configs and docs 2024-12-24 06:33:26 +00:00
Matthew Kennedy e7f7da55f6 debug modes cleanup 2024-12-23 22:31:59 -08:00
Matthew Kennedy b7d3dfe4fc format tps_accel_state.txt 2024-12-23 22:15:42 -08:00
Matthew Kennedy 55b1018337 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-12-23 22:06:38 -08:00
Matthew Kennedy cf58ece693 nix on SENT 2024-12-23 22:06:05 -08:00
GitHub gen-configs Action 22b411a92b Auto-generated configs and docs 2024-12-24 05:55:21 +00:00
Matthew Kennedy 3f21fde846 dead log field 2024-12-23 21:53:17 -08:00
Matthew Kennedy e4d6e61a78 remove pid_s::periodMs, the user shouldn't set this 2024-12-23 13:12:31 -08:00
Matthew Kennedy 66e3ec7b84 quad wideband 2024-12-17 15:29:17 -08:00
GitHub gen-configs Action d53a879c63 Auto-generated configs and docs 2024-12-17 22:59:00 +00:00
Matthew Kennedy 24aedb0610 dead idle_state_e 2024-12-17 14:57:28 -08:00
Matthew Kennedy def72dca22 throttlePedalUpPin is dead 2024-12-14 16:56:32 -08:00
Matthew Kennedy a4dfd4c080 unnecessary assertion 2024-12-12 15:41:35 -08:00
GitHub gen-configs Action 964f71e933 Auto-generated configs and docs 2024-12-10 06:51:21 +00:00
Matthew Kennedy f1572616da dead engine state egtValue 2024-12-09 22:39:49 -08:00
dynfer 1458a69f3f
Fix dynamic labels for GPPWM tables (#517)
* axis fix

* fix last 3 values

* remove *

* comment
2024-12-06 02:04:00 -08:00
Matthew Kennedy b32314a8f0 dfco timing retard and ramp back in 2024-12-02 23:56:22 -08:00
GitHub gen-configs Action e666c82d7c Auto-generated configs and docs 2024-12-03 04:48:02 +00:00
Matthew Kennedy a68222c756 dfco timing retard plumbing 2024-12-02 20:46:36 -08:00
GitHub gen-configs Action 9c4328e28d Auto-generated configs and docs 2024-11-24 06:33:43 +00:00
Matthew Kennedy 41d839ebc5 dwell gauges cleanup 2024-11-23 22:31:13 -08:00
GitHub gen-configs Action ad22f920a6 Auto-generated configs and docs 2024-11-08 00:14:03 +00:00
Matthew Kennedy 6b26a4e427 dead feature: sensor chart fast ADC 2024-11-08 00:12:37 +00:00
GitHub gen-configs Action c77b6f28cd Auto-generated configs and docs 2024-11-06 21:55:57 +00:00
Matthew Kennedy c58f7510f3 missed the enum, oops 2024-11-06 21:54:31 +00:00
GitHub gen-configs Action 57ccda7623 Auto-generated configs and docs 2024-11-06 21:09:15 +00:00
Matthew Kennedy 62ea264672 stub mx5 NC wheel speed 2024-11-06 21:07:47 +00:00
GitHub gen-configs Action 1e9bb0f0be Auto-generated configs and docs 2024-11-06 08:03:32 +00:00
Matthew Kennedy 4f02de13f7 add sensor types for wheel speeds 2024-11-05 19:39:50 -08:00
Matthew Kennedy 11f9005a13 smoother idle threshold timing transition (like VE already had) 2024-11-04 15:25:58 -08:00
GitHub gen-configs Action 366a0ad27e Auto-generated configs and docs 2024-10-03 04:20:02 +00:00
Matthew Kennedy 516fc60765 idle ve table dot follows Y axis override 2024-10-02 21:18:37 -07:00
GitHub gen-configs Action 56084c435e Auto-generated configs and docs 2024-10-01 18:43:28 +00:00
Matthew Kennedy 42ef77c2ef
na miata CAS as cam trigger (#495)
* Added NA Miata cam trigger

* Set cam SyncEdge to both, remove unrelated text change that snuck in

---------

Co-authored-by: alrijleh <alrijleh@gmail.com>
2024-10-01 11:42:06 -07:00
Matthew Kennedy 38dc2255b4 pch 2024-09-26 16:15:50 -07:00
Matthew Kennedy 8455a3c050 format 2024-09-25 14:05:08 -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 fca72c4366 airmass takes a ptr for VE table 2024-09-25 00:27:40 -07:00
Matthew Kennedy 71c860b648 int rpm -> float rpm 2024-09-25 00:20:18 -07:00
Matthew Kennedy 8952633854 int rpm -> float rpm 2024-09-25 00:16:53 -07:00
Matthew Kennedy 28fc04ee3d int rpm -> float rpm 2024-09-25 00:04:00 -07:00
Matthew Kennedy c880ba4ec5 int rpm -> float rpm 2024-09-24 23:54:54 -07:00
Matthew Kennedy b90f38a79f int rpm -> float rpm 2024-09-24 23:52:14 -07:00
Matthew Kennedy a329b3afca int rpm -> float rpm 2024-09-24 23:21:39 -07:00
Matthew Kennedy ffb8a58aa6 cleanup 2024-09-18 22:49:52 -07:00
Matthew Kennedy 45e3c07ecc ETB minimum position scaling/tooltip 2024-09-17 19:09:41 -07:00
GitHub gen-configs Action e2ee0b8f0f Auto-generated configs and docs 2024-09-18 01:45:48 +00:00
Matthew Kennedy 05e5456830 jam detect ignore button #489 2024-09-17 18:44:18 -07:00
Matthew Kennedy 64108b67cf only check throttle jam while ignition is on #489 2024-09-17 18:33:32 -07:00
Matthew Kennedy 01a397094d
execute critical tasks on one big thread (#462)
* wire up main loop

* remove PeriodicTimerController

* patch up defines, comments

* happy simulator

* format

* simulator

* ETB runs via main loop

* happy tests

* protection against invalid LoopPeriod

* stack size

* ccm

* fix |= operator

* move perf trace

* ordering

* ordering
2024-09-17 15:27:38 -07:00
Matthew Kennedy bd1e986d48 cleanups after #487 2024-09-16 22:41:42 -07:00
alrijleh 9c928539bc
Disable DFCO when clutch is applied (#487)
* compiles but untested

* hide TS setting if clutchUpPin is not configured

* unit test passes

* disable feature if io not configured, fix unit test commit

* de morgans to align with other gating conditions - no functional change
2024-09-16 22:39:41 -07:00
Matthew Kennedy 6a202f40dd optional after start fuel mutliplier table 2024-09-14 23:51:31 -07:00
Matthew Kennedy 8312686f22 AC state change uses a timer 2024-09-12 23:52:10 -07:00
Matthew Kennedy 89338bd4f9 implement DFCO hysteresis #478 2024-09-12 22:55:49 -07:00
Matthew Kennedy 5aca8e6e28 move DFCO configs to the right spot, changelog 2024-09-12 22:30:46 -07:00
alrijleh 86c1c52551
configure DFCO MAP threshold to vary based on RPM (#485)
* it compiles

* added description to the graph panel

* fixed typo and improved description

* dfco fuel cut map unit test added and passes

* added default settings
2024-09-12 22:13:30 -07:00
Matthew Kennedy 093ae1a17c fix alphaNUseIat 2024-09-12 22:00:25 -07:00
Matthew Kennedy e00bc56666 tachometer onFastCallback 2024-09-03 16:32:22 -07:00
Matthew Kennedy c3e1435f39 move tachometer to modules dir 2024-09-03 16:28:54 -07:00
GitHub gen-configs Action 3b2a136a75 Auto-generated configs and docs 2024-09-03 22:59:55 +00:00
Matthew Kennedy 344223cbfa add VSS as GPPWM parameter 2024-09-03 15:58:33 -07:00
GitHub gen-configs Action 17ca8b204f Auto-generated configs and docs 2024-09-01 23:50:02 +00:00
Matthew Kennedy 40dfd1e205 give dwell metric its own channel 2024-09-01 16:48:40 -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
GitHub gen-configs Action dca081a907 Auto-generated configs and docs 2024-08-30 07:20:25 +00:00
Matthew Kennedy a269b9af38 additional aux linear sensors #476 2024-08-30 00:18:54 -07:00
Matthew Kennedy 761efd862c
MAP avg uses engine module callbacks (#475)
* use engine module callbacks

* happy tests

* happy small-can-board

* interact with map avg via module

* simplify map avg init

* tweaks

* omit module to disable it instead!

* unnecessary guard

* minor cleanups

* unnecessary branch - lookups for these tables are fine at 0 rpm

* oop
2024-08-29 22:38:30 -07:00
Matthew Kennedy 12321d4325 map averaging includes 2024-08-29 13:29:53 -07:00
Matthew Kennedy 6af46b59a9 MAP averaging can use common math for cyl offset calc 2024-08-28 02:58:21 -07:00
GitHub gen-configs Action d1abcab6bb Auto-generated configs and docs 2024-08-28 08:47:00 +00:00
Matthew Kennedy 32c57fd7af dead instant rpm debug mode 2024-08-28 01:45:29 -07:00
GitHub gen-configs Action 2ac6c6346c Auto-generated configs and docs 2024-08-28 08:45:02 +00:00
Matthew Kennedy 4ae3056257 dead MAP debug mode 2024-08-28 01:43:34 -07:00
Matthew Kennedy 8633d7ce96 dead config entry fix #467 2024-08-16 13:21:24 -07:00
GitHub gen-configs Action f5abe534b8 Auto-generated configs and docs 2024-08-14 00:29:13 +00:00
Nathan Schulte 0d7c21814c
TunerStudio command x14 cleanup (#434)
* remove TS command/X14 space overlap

* remove unused cmd_calibrate_tps_*

* rename cmd_etb_auto_calibrate_2 to cmd_etb_2_auto_calibrate

---------

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2024-08-13 17:27:55 -07:00
Matthew Kennedy c086047ac5 let's move away from PeriodicTimerController 2024-08-12 17:58:05 -07:00
Matthew Kennedy 4f1c7fd241 EFI_ACTIVE_CONFIGURATION_IN_FLASH 2024-08-07 12:10:50 -07:00
Matthew Kennedy 48b8f08cb8 EFI_ACTIVE_CONFIGURATION_IN_FLASH 2024-08-07 12:09:30 -07:00
Matthew Kennedy e4e0824f57 misc format/comment cleanups 2024-08-07 12:01:08 -07:00
Matthew Kennedy e4b8aa3747
oil pressure protection (while running) (#460)
* config

* implement

* defaults

* check array bins

* gauge

* test the new behavior
2024-08-06 13:10:10 -07:00
GitHub gen-configs Action c6f70ec607 Auto-generated configs and docs 2024-08-06 04:44:00 +00:00
Matthew Kennedy 6a10aceb16 log map averaging duration 2024-08-05 21:42:32 -07:00
Matthew Kennedy 828fde7ea6 fix no-MAP DFCO #457 2024-08-05 13:48:18 -07:00
GitHub gen-configs Action a988239d10 Auto-generated configs and docs 2024-08-02 04:47:17 +00:00
Matthew Kennedy f3045af367 AE is engine module 2024-08-01 21:45:54 -07:00
Matthew Kennedy ff5e47c95d
Engine modules participate in the build system (#452)
* infrastructure for engine modules in the build

* fully move fuel pump

* fan

* gear detector

* gear detect

* fan control cleanup

* trip odometer

* shuffle makefiles around a little

* minor format
2024-07-23 18:05:43 -07:00
Matthew Kennedy f086b94c81 cisnan -> std::isnan 2024-07-22 16:00:59 -07:00
Matthew Kennedy aa5ea293e6 cisnan -> std::isnan 2024-07-22 12:15:40 -07:00